Skip to content

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.

resolve(contract_id, settlement_date)Resolve a Kalshi NLOW contract to its settlement source + station.
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.

  • Parameters:
    • settlement_source (str)
    • settlement_station (str)
    • city_ticker (str)
    • contract_date (date)

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:
    • contract_id (str) – Kalshi market identifier KLOW<CITY> (e.g. KLOWNY). Case-insensitive.
    • settlement_date (date) – The local calendar date the market settles for.
  • Return type: NLowResolution
  • Returns: NLowResolution with settlement_source = "cli.archive".
  • Raises: ValueErrorcontract_id doesn’t follow KLOW<CITY> or the city ticker is unknown.