- Public — streams publicly available market data, including order books, trades, tickers, candlesticks and other market events.
- Private — streams authenticated account events, including order updates, executions, positions, balances, transfers, and other account-related events.
- Connect to the appropriate WebSocket endpoint.
- Authenticate (private endpoint only).
- Subscribe to one or more topics.
- Receive real-time event updates.
- Keep the connection alive using Ping/Pong messages.