Individual Symbol Book Ticker Streams(Batch Aggregation)
Batch aggregation version. Pushes the best bid/ask information for the specified trading pair.
Subscribe
{
"method": "SUBSCRIPTION",
"params": [
"spot@public.bookTicker.batch.v3.api.pb@BTCUSDT"
]
}
Request Parameters spot@public.bookTicker.batch.v3.api.pb@<symbol>
Response Parameters
| Parameter | Data Type | Description |
|---|---|---|
| bidprice | string | Best bid price |
| bidquantity | string | Best bid quantity |
| askprice | string | Best ask price |
| askquantity | string | Best ask quantity |
| symbol | string | Trading pair |
| sendtime | long | Event time |
| version | string | Version number |
| lastOrderCreateTime | long | Last order creation time |
Sample data
{
"channel" : "spot@public.bookTicker.batch.v3.api.pb@BTCUSDT",
"symbol" : "BTCUSDT",
"sendTime" : "1778075380611",
"publicBookTickerBatch" : {
"items" : [ {
"bidPrice" : "100",
"bidQuantity" : "4",
"askPrice" : "",
"askQuantity" : ""
} ],
"version" : "10023",
"lastOrderCreateTime" : "1778075380572"
}
}