Skip to main content

market_lifecycle

publicchannel: market_lifecyclewss://api.staging.sphx.io/v1/ws

Venue-wide account-state and instrument-lifecycle transitions (numeric states). Public and unfiltered — clients typically ignore accounts other than their own. No subscribe params.

Subscribe

{ "op": "subscribe", "channel": "market_lifecycle" }

No params — the channel is venue-wide.

Events

account_state_change

An account changed lifecycle state.

FieldTypeRequiredDescription
event_seqinteger · int64Cluster sequence number — monotonic; drives gap detection and REST/WS joins.
account_idinteger · int64
new_stateintegerNumeric account state (see the REST reference lookup tables).
Example frame
{
"channel": "market_lifecycle",
"event": "account_state_change",
"data": {
"event_seq": 1058,
"account_id": 7,
"new_state": 2
}
}

instrument_lifecycle

An instrument changed lifecycle state.

FieldTypeRequiredDescription
event_seqinteger · int64Cluster sequence number — monotonic; drives gap detection and REST/WS joins.
instrument_idinteger · int64
new_stateintegerNumeric instrument lifecycle state.
Example frame
{
"channel": "market_lifecycle",
"event": "instrument_lifecycle",
"data": {
"event_seq": 1059,
"instrument_id": 1000,
"new_state": 2
}
}