↓ Skip to main content
All methods

stakepd.kalshi_data.KalshiClient.get_series_ticker_for_market

→ str
Signature
client.get_series_ticker_for_market(ticker)

Look up which series a market belongs to.

get_candlesticks uses this when you don’t pass series_ticker. Each lookup costs two requests, so when you fetch candles for many markets in the same series, look the series up once and pass it in.

Parameters

ticker:str
Market ticker.

Returns

str
The series ticker, e.g. "KXHIGHNY".

See also

KalshiClient.get_candlesticks
Get OHLC price history for a market as a time-indexed DataFrame.
KalshiClient.get_series
Get one series.

Examples
#

from stakepd import kalshi_data as kd

client = kd.KalshiClient()          # market data is public: no API key needed

Example:

client.get_series_ticker_for_market("KXHIGHNY-26NOV27-B57.5")
Output:
'KXHIGHNY'

Look up once, reuse for many markets:

series = client.get_series_ticker_for_market(tickers[0])
candles = {t: client.get_candlesticks(t, start="2026-11-26", series_ticker=series) for t in tickers}

This method is also covered, alongside the rest of the module, in the overview guide.