mostlyright.discover
mostlyright.discover
Section titled “mostlyright.discover”mostlyright.discover(, city)
Section titled “mostlyright.discover(, city)”Return per-station discovery table for city.
Each row shows one settlement station + the list of "<issuer>:<ticker>"
markers that resolve against it. Stations in the per-city Polymarket
denylist also appear (with empty settles_for) so quants see the
full station neighborhood before deciding whether to use
station_override=.
- Parameters:
city (
str) – city slug ("NYC"for Kalshi,"nyc"for Polymarket; both forms are normalized). - Returns:
city(str): the input city, echoed.station(str): 4-char K-prefix ICAO.settles_for(list[str]):["kalshi:NYC"]/["polymarket:nyc"]/[](denylist backstop).
- Return type:
pd.DataFramewith columns - Raises:
- ValueError – city not in either catalog.
- SourceUnavailableError – pandas not installed.