Messages
{
"type": "user_order",
"sid": 22,
"msg": {
"order_id": "ee587a1c-8b87-4dcf-b721-9f6f790619fa",
"user_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"ticker": "FED-23DEC-T3.00",
"exchange_index": 2,
"status": "resting",
"side": "yes",
"is_yes": true,
"outcome_side": "yes",
"book_side": "bid",
"yes_price_dollars": "0.3500",
"fill_count_fp": "0.00",
"remaining_count_fp": "10.00",
"initial_count_fp": "10.00",
"taker_fill_cost_dollars": "0.000000",
"maker_fill_cost_dollars": "0.000000",
"taker_fees_dollars": "0.000000",
"maker_fees_dollars": "0.000000",
"client_order_id": "my-order-1",
"order_group_id": "og_123",
"self_trade_prevention_type": "taker_at_cross",
"created_time": "2024-12-01T10:00:00Z",
"created_ts_ms": 1733047200000,
"expiration_time": "2024-12-01T11:00:00Z",
"expiration_ts_ms": 1733050800000,
"subaccount_number": 0
}
}WebSockets
User Orders
Real-time order created and updated notifications. Requires authentication.
Requirements:
- Authentication required
- Market specification optional via
market_tickers(omit to receive all orders) - Supports
update_subscriptionwithadd_markets/delete_marketsactions - Updates sent when your orders are created, filled, canceled, or otherwise updated
Use case: Tracking your resting orders, fills, and cancellations in real time
WSS
user_orders
Messages
{
"type": "user_order",
"sid": 22,
"msg": {
"order_id": "ee587a1c-8b87-4dcf-b721-9f6f790619fa",
"user_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"ticker": "FED-23DEC-T3.00",
"exchange_index": 2,
"status": "resting",
"side": "yes",
"is_yes": true,
"outcome_side": "yes",
"book_side": "bid",
"yes_price_dollars": "0.3500",
"fill_count_fp": "0.00",
"remaining_count_fp": "10.00",
"initial_count_fp": "10.00",
"taker_fill_cost_dollars": "0.000000",
"maker_fill_cost_dollars": "0.000000",
"taker_fees_dollars": "0.000000",
"maker_fees_dollars": "0.000000",
"client_order_id": "my-order-1",
"order_group_id": "og_123",
"self_trade_prevention_type": "taker_at_cross",
"created_time": "2024-12-01T10:00:00Z",
"created_ts_ms": 1733047200000,
"expiration_time": "2024-12-01T11:00:00Z",
"expiration_ts_ms": 1733050800000,
"subaccount_number": 0
}
}apiKey
type:apiKey
API key authentication required for WebSocket connections. The API key should be provided during the WebSocket handshake.
User Order Update
type:object
Real-time order updates for authenticated user