{
"type": "subscribe",
"channel": "account",
"id": "0xAbCd...1234"
}{
"type": "<string>",
"channel": "<string>",
"id": "<string>",
"accountIndex": 123,
"sigFigs": 123,
"roundStep": 123,
"throttleMs": 123,
"market": "<string>",
"contents": {}
}{
"type": "channel_data",
"channel": "orders",
"id": "0xAbCd...1234",
"contents": {
"orderId": "ord-abc123",
"clientId": "42",
"marketId": 1,
"marketDisplayName": "BTC-USD",
"side": "BUY",
"status": "FILLED",
"price": "94000.00",
"originalSize": "1.0",
"remainingSize": "0.0",
"avgFillPrice": "94000.00",
"state": "FILLED",
"positionEffect": "OPEN_LONG",
"sequenceNumber": 5001
}
}Orders
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.
Open and recently closed order updates for an account. Snapshot on subscribe includes all open orders and up to 100 recently closed orders from the last 28 days. Streaming updates use a unified shape for both status changes and fill events. Snapshot is sent once on connect only.
Subscribe to this channel alongside userFills to observe the full order lifecycle after placing an order via the orderOperations channel.
Optionally scoped to one market: pass market on subscribe (ticker or numeric id) and the snapshot, the live frames, and the post-snapshot catch-up all carry only that market. The filter is part of subscription identity, so one connection can hold several market-scoped views of the same account; unsubscribe must repeat the same market.
{
"type": "subscribe",
"channel": "account",
"id": "0xAbCd...1234"
}{
"type": "<string>",
"channel": "<string>",
"id": "<string>",
"accountIndex": 123,
"sigFigs": 123,
"roundStep": 123,
"throttleMs": 123,
"market": "<string>",
"contents": {}
}{
"type": "channel_data",
"channel": "orders",
"id": "0xAbCd...1234",
"contents": {
"orderId": "ord-abc123",
"clientId": "42",
"marketId": 1,
"marketDisplayName": "BTC-USD",
"side": "BUY",
"status": "FILLED",
"price": "94000.00",
"originalSize": "1.0",
"remainingSize": "0.0",
"avgFillPrice": "94000.00",
"state": "FILLED",
"positionEffect": "OPEN_LONG",
"sequenceNumber": 5001
}
}Open orders plus recently closed orders with isSnapshot: true and lastSequenceId (per-account sequence at snapshot time). Sent once on subscribe. openOrders is the account's full open-order baseline (all resting/untriggered orders, regardless of age). recentClosedOrders is bounded to orders closed within the last 28 days — older closed orders are not included in the snapshot; the live diff stream carries anything newer.
One order lifecycle event. Carries sequenceNumber (per-account, same counter as AccountUpdate).
Was this page helpful?