Skip to main content
Browse the available private WebSocket channels below. For connection details and message format, see the WebSocket Overview. For rate limits, see WebSocket Rate Limits.

Order types

Several Account Stream channels return a type field identifying the order type. Use this table to interpret the value.
Type 14 (Balance normalization) is a system-generated order that the platform places when an asset balance in the Collateral balance goes negative. On execution, ordersExecuted_update reports the order with type 14 and an empty client_order_id, and deals_update reports the fill without an order type, so match the order ID between the two. See Balance normalization for the trigger, the markets used, and how to avoid normalization.

Channels

Authorize

Authenticate the WebSocket connection to access private channels

Balance Spot

Real-time spot balance updates for the account

Balance Margin

Real-time margin balance updates for the account

Orders Pending

Stream of pending (open) orders and order updates

Orders Executed

Stream of executed orders and order updates

Deals

Real-time deal execution notifications

Positions

Real-time position updates for margin trading

Margin Positions Events

Event notifications for margin position changes

Borrows

Real-time borrow status updates for margin trading

Borrows Events

Event notifications for borrow changes and liquidations

ADL Quantile

ADL deleveraging-priority rank for open futures positions

Order Management

Place, modify, and cancel orders on the same authorized connection (global platform only)