增量深度信息
request:
{
"method": "SUBSCRIPTION",
"params": [
"[email protected]@100ms@BTCUSDT"
]
}
response:
{
"channel": "[email protected]@100ms@BTCUSDT",
"publicincreasedepths": {
"asksList": [], //asks:卖单
"bidsList": [ //bids:买单
{
"price": "92877.58", //变动的价格档位
"quantity": "0.00000000" //数量
}
],
"eventtype": "[email protected]@100ms", //事件类型
"fromVersion" : "10589632359", // 开始version
"toVersion" : "10589632359" // 截止version
},
"symbol": "BTCUSDT", //交易对
"sendtime": 1736411507002 //事件时间
}
如果某个价格对应的挂单量(quantity)为 0,表示该价位的挂单已经撤单或者被吃,应该移除这个价位。
请求参数: [email protected]@(100ms|10ms)@<symbol>
返回参数:
| 参数名 | 数据类型 | 说明 |
|---|---|---|
| price | string | 变动的价格档位 |
| quantity | string | 数量 |
| eventtype | string | 事件类型 |
| fromversion | string | 开始版本号 |
| toversion | string | 截止版本号 |
| symbol | string | 交易对 |
| sendtime | long | 事件时间 |