mostlyright.markets
mostlyright.markets — prediction-market data (Kalshi, Polymarket).
The venue submodules own ALL venue knowledge and speak the domain grammar a quant
can guess from weather / economy:
mostlyright.markets.kalshi—kalshi.training_table(the leakage-free supervised table over the Kalshi NHIGH/NLOWlabel="cli"settlement target),kalshi.label(the.label.settlementregistration),kalshi.settlement_days(the who/when day grid, per-row originatingtickerretained),kalshi.parse_ticker.mostlyright.markets.polymarket—polymarket.training_table(the WU/NOAA-WRHdaily_extremestarget),polymarket.label,polymarket.settlement_days(per-row originatingentityretained),polymarket.discover/polymarket.settle.mostlyright.markets.economy_trades— Kalshi venue price-history (OHLC candlesticks) for SETTLED economy markets.
The venue catalog (settlement whitelists, city→station maps) lives under
mostlyright.markets.catalog. The live trade-history impls (candles / fills /
orderbook / Gamma history+snapshot) are PRIVATE internal modules
(_kalshi_trades / _polymarket_trades) — undocumented, not part of the venue
grammar.
Grammar note (orchestrator ruling, 04): the venue-level
training_table signatures are param-cap-EXEMPT. markets.kalshi.training_table
(6 named params) and markets.polymarket.training_table (8) are thin delegators
to core research.dataset; the <=5-param grammar cap binds only the TOP-LEVEL
domain verb (weather.training_table / economy.training_table, PRD §4.2).
Slimming a venue signature is an UNSIGNED behavior change and is out of scope.
Modules
Section titled “Modules”catalog | mostlyright.markets.catalog — prediction market contract specs. |
|---|---|
economy_trades | Kalshi venue price-history for SETTLED economy markets — with documented depth. |
kalshi | Kalshi thin-sugar layer over the venue-free core composition body. |
polymarket | Polymarket discovery + settlement (US + international). |