WS Reference
Order Book Stream
Real-time order book updates and snapshots for a specific market.
WSS
This stream is available on the
publicOrderBook subscription. It provides real-time order book updates for a specified market via publicOrderBookDelta push messages, plus on-demand full snapshots via emitPublicOrderBook.
For
publicOrderBookDelta messages, quantity is the absolute size at that price level. A quantity of 0 means the level should be removed from your local book.Snapshot vs. Delta
TheemitPublicOrderBook request returns a full order book snapshot via publicOrderBook. Use it for:
- Bootstrapping order book state when first subscribing to the stream
- Recovering after temporary data loss or connection issues
- Synchronizing local book models with the current market state
- Getting the complete order book picture before processing delta updates