Repository navigation
v1.0.0
First release considered production-ready.
Attach it
INSTALL vgi FROM community;
LOAD vgi;
ATTACH 'kalshi' (TYPE vgi,
LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-kalshi@v1.0.0 vgi-kalshi');
SELECT ticker, strike_type, floor_strike, yes_bid_dollars, yes_ask_dollars
FROM kalshi.main.markets('KXBTCD')
WHERE status = 'active';No credentials required — Kalshi's market-data surface is public, and this
worker exposes none of the portfolio, order, or account endpoints.
There are no release assets. This package is not published to PyPI and is not
intended to be; uvx installs it from this repository, and its dependencies
resolve from PyPI normally.
What's in it
- Live market data:
markets,market,orderbook,candlesticks,trades,
events,event,event_metadata. - Catalog tables:
series,exchange_status,historical_cutoff. - The settled archive:
historical_markets,historical_trades,
historical_candlesticks. strike_type,floor_strikeandcap_strike, so a strike ladder can be
analysed without regexing the threshold out of the ticker.- Filter and projection pushdown, batch endpoints (100 markets in 0.13s against
5.89s one at a time), and response caching. - Optional API-key authentication via a DuckDB secret. It is not a
throughput win at Kalshi's entry tier — see the rate-limit table in the README.
See CHANGELOG.md for the full list.