market_lifecycle
publicchannel:
market_lifecyclewss://api.staging.sphx.io/v1/wsVenue-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.
| Field | Type | Required | Description |
|---|---|---|---|
event_seq | integer · int64 | ✓ | Cluster sequence number — monotonic; drives gap detection and REST/WS joins. |
account_id | integer · int64 | ✓ | |
new_state | integer | ✓ | Numeric 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.
| Field | Type | Required | Description |
|---|---|---|---|
event_seq | integer · int64 | ✓ | Cluster sequence number — monotonic; drives gap detection and REST/WS joins. |
instrument_id | integer · int64 | ✓ | |
new_state | integer | ✓ | Numeric instrument lifecycle state. |
Example frame
{
"channel": "market_lifecycle",
"event": "instrument_lifecycle",
"data": {
"event_seq": 1059,
"instrument_id": 1000,
"new_state": 2
}
}