↓ Skip to main content
All methods

stakepd.kalshi_data.KalshiClient.get_exchange_status

→ dict
Signature
client.get_exchange_status()

Check whether the exchange is open and trading.

Returns

dict
Includes exchange_active (bool), trading_active (bool) and exchange_estimated_resume_time (str or None).

See also

KalshiClient.get_markets
List markets, one row per market.

Examples
#

from stakepd import kalshi_data as kd

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

Example:

status = client.get_exchange_status()
print(status["exchange_active"], status["trading_active"])
Output:
True True

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