Skip to content

Releases

v0.6.0

Choose a tag to compare

@rustyconover rustyconover released this 25 Nov 14:29

Protocol 3.4: requires the vgi 3.4 DuckDB extension (Haybarn 2.0.1rc3 or DuckDB v2.0.0 via the Query.Farm repository). Hosted-mode ready (http+oauth); Docker HEALTHCHECK uses HEAD /health.

v0.5.1

Choose a tag to compare

@rustyconover rustyconover released this 17 Nov 00:01

Full Changelog: v0.5.0...v0.5.1

v0.5.0

Choose a tag to compare

@rustyconover rustyconover released this 13 Nov 22:31

Adds carry math: seven scalars that turn an instrument's quote into a continuously compounded annual rate, so futures, box spreads, T-bills and perp funding compare directly.

  • implied_carry_rate(spot, forward, ttm)
  • calendar_spread_rate(near_price, far_price, near_ttm, far_ttm)
  • box_spread_rate(box_price, low_strike, high_strike, ttm)
  • tbill_rate(discount_rate, days)
  • funding_rate_annual(rate, interval_hours)
  • simple_to_continuous(rate, ttm), continuous_to_simple(rate, ttm)

Speaks VGI protocol 3.3 (vgi-python 0.51).

v0.4.0

Choose a tag to compare

@rustyconover rustyconover released this 12 Nov 15:55

Speaks VGI protocol 3.3 (vgi-python 0.51.0) and requires the current VGI DuckDB extension; 3.2 extensions are incompatible.

v0.3.0

Choose a tag to compare

@rustyconover rustyconover released this 10 Nov 14:52

Ported to VGI protocol 3.2: vgi-python 0.49.0 -> 0.50.0 (vgi-rpc unchanged at 0.53.1). No code changes were needed for the protocol bump. Metadata fixes for vgi-lint-check 2.2: shorter schema and table display titles (VGI147) and a one-sentence catalog vgi.subtitle (VGI148).

v0.2.0

Choose a tag to compare

@rustyconover rustyconover released this 06 Nov 23:11

Ported to VGI protocol 3.1 (vgi.v3) / haybarn 2.0: vgi-python 0.46.1 -> 0.49.0, vgi-rpc 0.52.0 -> 0.53.1. This release requires haybarn 2.0's community vgi extension; it is not compatible with haybarn 1.5 / vgi.v2.

v0.1.0

Choose a tag to compare

@rustyconover rustyconover released this 21 Jul 13:59

First release of vgi-quant — quantitative-finance math for DuckDB via VGI (QuantLib): European option pricing + Black-Scholes Greeks (price, delta, gamma, vega, theta, rho) and implied volatility, fixed-rate bond pricing / yield-to-maturity / modified duration / convexity, and day-count year fractions with continuous discounting.

Install

Container image (stdio + HTTP):

docker pull ghcr.io/query-farm/vgi-quant:0.1.0

Python (wheel/sdist attached below):

pip install vgi_quant-0.1.0-py3-none-any.whl

Assets

  • vgi_quant-0.1.0-py3-none-any.whl + vgi_quant-0.1.0.tar.gz (attached by release.yml, CI-gated)
  • ghcr.io/query-farm/vgi-quant:0.1.0 / :0.1 / :latest (multi-arch amd64+arm64, signed + attested)