Signatureclient.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).
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.