Messages
{
"type": "exchange_status",
"sending_ts_ms": 1733047200123,
"sid": 3,
"seq": 1,
"msg": {
"trading_active": false,
"ts_ms": 1733047200000
}
}WebSockets
Exchange Status
Sent when trading is paused or resumed exchange-wide, or when the exchange status changes.
Trading messages carry trading_active. Exchange status messages carry exchange_active.
Both flags mean the same as in GET /trade-api/v2/margin/exchange/status,
and trading is open exchange-wide only while both are true. A message can repeat the current
value. Per-market halts and trading-hours closes are sent on market_lifecycle_v2, not on this
channel; a market is open only while both channels show it open.
WSS
exchange_status
Messages
{
"type": "exchange_status",
"sending_ts_ms": 1733047200123,
"sid": 3,
"seq": 1,
"msg": {
"trading_active": false,
"ts_ms": 1733047200000
}
}apiKey
type:apiKey
API key authentication required for margin WebSocket connections.
Exchange Status
type:object
Exchange-wide trading and exchange status changes