Skip to main content
Subscribe to margin call and liquidation event notifications for collateral positions. Events fire when a position enters margin call or liquidation state. The channel uses an event-driven update model — no snapshot is sent on subscribe; updates are delivered only when a position state change occurs.
Connect to wss://api.whitebit.com/ws — see WebSocket Overview for protocol details and keepalive requirements.

Rate limits

Subscribe to position events

Update frequency

Updates are pushed in real time on margin position state changes (open, close, liquidation).

Position event object

Error codes