{
"type": "subscribe",
"channel": "marketUpdates"
}{
"type": "subscribed",
"channel": "marketUpdates",
"contents": {
"isSnapshot": true,
"updates": [
{
"type": "MarketUpdateSplitUpcoming",
"marketId": 33,
"marketDisplayName": "SNDK-USD",
"splitEffectiveTimeNs": 1795136700000000000,
"currentMultiplier": "1",
"postSplitMultiplier": "8",
"timestamp": 1795010400123456800,
"globalSequenceId": 9700000001
},
{
"type": "MarketUpdateStateChange",
"marketId": 33,
"marketDisplayName": "SNDK-USD",
"state": "HALTED",
"timestamp": 1795122000123456800,
"globalSequenceId": 9700050000
}
]
}
}{
"type": "channel_data",
"channel": "marketUpdates",
"contents": {
"isSnapshot": false,
"updates": [
{
"type": "MarketUpdateSplitUpcoming",
"marketId": 33,
"marketDisplayName": "SNDK-USD",
"splitEffectiveTimeNs": 1795136700000000000,
"currentMultiplier": "1",
"postSplitMultiplier": "8",
"timestamp": 1795010400123456800,
"globalSequenceId": 9700000001
}
]
}
}Market updates
Endpoint:
wss://api.arcus.xyz/v1/ws— one socket multiplexes every channel and RPC request. Click Connect, then send the example subscribe message below to start receiving data.
Global public channel (no id, no auth) that streams the split lifecycle of every market. Every frame is {isSnapshot, updates}; a streaming frame carries exactly one update:
MarketUpdateSplitUpcoming— a split was announced (e.g. 8-for-1 on SNDK-USD:currentMultiplier“1”,postSplitMultiplier“8”).MarketUpdateSplitCancelled— a pending split was withdrawn.MarketUpdateStateChange— every transition into or out of OFFLINE:HALTEDwhen the market goes offline,RESUMEDwhen it leaves offline.MarketUpdateSplitEffective— the split was applied: position sizes multiplied and prices divided by the ratio.
On subscribe the server sends a snapshot (isSnapshot: true) carrying every pending split announcement and every market still halted, ordered by market id (a market’s split before its halt); updates is empty when nothing is pending. The snapshot is rebuilt from the persisted notice history at server start.
{
"type": "subscribe",
"channel": "marketUpdates"
}{
"type": "subscribed",
"channel": "marketUpdates",
"contents": {
"isSnapshot": true,
"updates": [
{
"type": "MarketUpdateSplitUpcoming",
"marketId": 33,
"marketDisplayName": "SNDK-USD",
"splitEffectiveTimeNs": 1795136700000000000,
"currentMultiplier": "1",
"postSplitMultiplier": "8",
"timestamp": 1795010400123456800,
"globalSequenceId": 9700000001
},
{
"type": "MarketUpdateStateChange",
"marketId": 33,
"marketDisplayName": "SNDK-USD",
"state": "HALTED",
"timestamp": 1795122000123456800,
"globalSequenceId": 9700050000
}
]
}
}{
"type": "channel_data",
"channel": "marketUpdates",
"contents": {
"isSnapshot": false,
"updates": [
{
"type": "MarketUpdateSplitUpcoming",
"marketId": 33,
"marketDisplayName": "SNDK-USD",
"splitEffectiveTimeNs": 1795136700000000000,
"currentMultiplier": "1",
"postSplitMultiplier": "8",
"timestamp": 1795010400123456800,
"globalSequenceId": 9700000001
}
]
}
}Sent once on subscribe (isSnapshot: true): every pending split announcement and every market still halted, ordered by market id, a market's split before its halt. updates is empty when nothing is pending.
One frame per market notice, carrying exactly one update (isSnapshot: false).
Was this page helpful?