Messages
Orderbook
book.(instrument_name).(interval)
Real-time order book updates for a specific instrument.
- The first notification contains a full snapshot of the book (bids and asks for all price levels).
- Subsequent notifications contain only incremental changes to individual price levels.
- Updates are tuples in the form
[action, price, amount], whereactionis one of:new,change,delete.
Each notification includes a change_id. Every message except the first also contains prev_change_id. If prev_change_id equals the change_id of the previous message, it indicates that no messages were missed.
Units: For perpetuals and futures, amount is in USD units. For options, amount is in the corresponding cryptocurrency contracts (e.g., BTC or ETH).
Documentation Index
Fetch the complete documentation index at: https://docs.deribit.com/llms.txt
Use this file to discover all available pages before exploring further.
Messages