Skip to content

betting_combat.contracts.legacy

legacy.py — what was taken over from the legacy tables (prod’s betting_combat schema), so an import resumes where it stopped and never doubles an append-only table.

LegacyImport one unit imported whole (``schemas.tables.legacy.LegacyImportsTable``)

Classes

LegacyImport

Bases: Contract

One unit of a legacy table imported whole: a Kalshi book stream’s one market (kalshi_orderbook, key ‘{stream_id}:{ticker}’).