Derivatives WebSocket is streaming-only. Order entry on Derivatives
is handled via the Derivatives REST
API or the
Unified FIX API. For end-to-end
guidance, see the
Derivatives Introduction.
Endpoint
Authentication
Private feeds use a signed-challenge model:- Connect to the WebSocket endpoint.
- Request a challenge using your
api_key. - Sign the challenge with your
api_secret(SHA-256 → HMAC-SHA-512 → Base64). - Include both
original_challengeandsigned_challengein everysubscribe/unsubscribefor private feeds.
Quick start
book (L2)
Order book snapshots and incremental updates.
ticker
Best-bid / best-offer with funding and mark.
open_orders
Private open-order snapshot and updates.
fills
Per-fill execution stream.
book, ticker, ticker_lite, trade,
heartbeat) and private catalog (open_orders,
open_orders_verbose, open_position, balances, fills,
account_log, notifications, challenge) is available in the
Derivatives WebSocket dropdown in the left navigation.
Connection management
Send a ping at least every 60 seconds to keep the connection open. On reconnect, re-issue subscribe requests for each feed; most feeds send a fresh snapshot followed by incremental updates.Related
Derivatives WebSocket guide
Authentication flow, subscribe/unsubscribe semantics.
Derivatives Introduction
Endpoints, protocols, and surface overview.
Derivatives REST
Order entry and account-data endpoints.
Unified FIX
Lowest-latency order entry across Spot + Derivatives.
Choose your protocol
REST vs WebSocket vs FIX — sequencing and cancel scope.