Skip to main content
WSS
Subscribe to L2 Orderbook incremental updates
type:object
L2 Orderbook Snapshot
L2 Orderbook Incremental Update

size: "0" means the level was removed. Apply every delta whose lastSequenceId exceeds the snapshot's; the first delta may be a few sequences ahead of the snapshot (an expected boundary gap that self-heals — do not re-subscribe on it). Once you are applying deltas, sequences are contiguous, so only a mid-stream gap means a missed delta — re-subscribe for a fresh snapshot then.