Skip to main content
Version: Next

Order Book Incremental Update

Subscribe to incremental changes in futures order book for local maintenance.

Subscription Format

{symbol}@order_book_update

Subscribe Request

{
"action": "subscribe",
"streams": ["BTCUSD@order_book_update"]
}

Push Data Fields

FieldTypeDescription
sstringContract symbol
Uint64First update ID
uint64Last update ID
barrayBid changes [price, quantity]
aarrayAsk changes [price, quantity]
tint64Timestamp
Important

Quantity "0" means delete that price level

Push Example

{
"action": "order_book_update",
"result": {
"s": "BTCUSD",
"U": 1000,
"u": 1005,
"b": [
["50100.00", "10"],
["50090.00", "5"]
],
"a": [
["50120.00", "8"],
["50130.00", "0"]
],
"t": 1736163000000
}
}