Discover markets
List contracts with status, close time, bid, ask, last price, volume, and venue identity.
List markets, fetch price history, inspect supported trades and current order books, and resolve weather contracts against the public data that settles them. Shared schemas cover the fields both venues provide.
from mostlyright import markets prices = markets.kalshi.ohlcv( "KXHIGHNY-25MAY26-T79", resolution="1h", from_ts="2025-05-25T00:00Z", to_ts="2025-05-26T00:00Z", ) prices[["bucket_start_utc", "probability", "source"]]
Query the market itself, then connect weather contracts to the public record used to settle them.
List contracts with status, close time, bid, ask, last price, volume, and venue identity.
Query Kalshi and Polymarket with one OHLCV vocabulary and a documented UTC time axis.
Map weather contracts to the station, source, date, unit, and rule each venue names.
Shared fields use the same names and units. Venue-specific values remain visible, and unsupported calls raise a typed error.
0–1. The venue-native price remains available.Use the same verbs for shared data. Keep native identifiers, price values, volume units, and capability limits explicit when Kalshi and Polymarket differ.
# Same verb. Venue-specific identity. kalshi = markets.kalshi.ohlcv( ticker, resolution="1m", from_ts=start, to_ts=end ) polymarket = markets.polymarket.ohlcv( token_id, resolution="1m", from_ts=start, to_ts=end ) kalshi.schema_id == polymarket.schema_id # True
Choose the venue and identifier. Request the data you need. Keep its units, timestamps, and source attached.
Start with a Kalshi ticker, Polymarket event, or outcome token.
List markets, fetch price history, or read the supported trades and current book.
Receive stable fields with price units, UTC timestamps, identifiers, and source attached.