mostlyright.markets.catalog.kalshi_nlow
mostlyright.markets.catalog.kalshi_nlow
Section titled “mostlyright.markets.catalog.kalshi_nlow”Kalshi NLOW contract spec (daily LOW temperature settlement).
Mirror of mostlyright.markets.catalog.kalshi_nhigh — same station
whitelist + same source (cli.archive); only the metric differs.
NLOW markets resolve against the NWS CLI min_temp_f value for a
specific station on a specific date.
Functions
Section titled “Functions”resolve(contract_id, settlement_date) | Resolve a Kalshi NLOW contract to its settlement source + station. |
|---|
Classes
Section titled “Classes”NLowResolution(settlement_source, …) | The (source, station) tuple a Kalshi NLOW contract resolves to. |
|---|
class mostlyright.markets.catalog.kalshi_nlow.NLowResolution(settlement_source, settlement_station, city_ticker, contract_date)
Section titled “class mostlyright.markets.catalog.kalshi_nlow.NLowResolution(settlement_source, settlement_station, city_ticker, contract_date)”Bases: object
The (source, station) tuple a Kalshi NLOW contract resolves to.
city_ticker : str
Section titled “city_ticker : str”contract_date : date
Section titled “contract_date : date”settlement_source : str
Section titled “settlement_source : str”settlement_station : str
Section titled “settlement_station : str”mostlyright.markets.catalog.kalshi_nlow.resolve(contract_id, settlement_date)
Section titled “mostlyright.markets.catalog.kalshi_nlow.resolve(contract_id, settlement_date)”Resolve a Kalshi NLOW contract to its settlement source + station.
- Parameters:
- Return type:
NLowResolution - Returns:
NLowResolutionwith settlement_source ="cli.archive". - Raises:
ValueError –
contract_iddoesn’t followKLOW<CITY>or the city ticker is unknown.