Best bid offer (BBO)
Real-time updates of the best bid and ask prices and amounts for a specific symbol. Updates are sent whenever the top of book changes.
Refer to Websocket for establishing the websocket connection.
Params
{
"method": "subscribe",
"params": {
"source": "bbo",
"symbol": "BTC"
}
}Stream
{
"channel": "bbo",
"data": {
"s": "BTC",
"i": 1234567890,
"t": 1764133203991,
"b": "87185",
"B": "1.234",
"a": "87186",
"A": "0.567"
}
}Field
Type
Description
's'
string
Symbol
'i'
integer
Order id
't'
integer
Timestamp in milliseconds
'b'
decimal string
Best bid price
'B'
decimal string
Best bid amount (in token amount)
'a'
decimal string
Best ask price
'A'
decimal string
Best ask amount (in token amount)
Last updated