Handicap History Orderbook
Query historical orderbook data for a symbol within a time range.
Request URL
GET /deepcoin/market/handicap-orderbook
Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| symbol | String | Yes | Trading symbol | BTCUSDT |
| stime | integer | Yes | Start timestamp (seconds) | 1700000000 |
| etime | integer | No | End timestamp (seconds) | 1800000000 |
| limit | integer | Yes | Result size, between 1 and 2000 (default: 60) | 60 |
Response Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| etime | integer | Response end timestamp | 1700003600 |
| data | String | Data payload (string) | ... |
| errmsg | String | Error message (if any) |
Response Example
{
"code": "0",
"msg": "",
"data": {
"etime": 1766758170,
"data": [
{
"platform": "deepcoin",
"coin_market": "BTCUSDT",
"timestamp": 1766758170,
"buy_order_list": [
[104600, 43],
[99999.9, 3],
[98000, 2],
[96000, 102],
[95000, 207]
],
"ask_order_list": [
[61800, 56],
[62000, 92],
[63000, 1252],
[64000, 90],
[64588, 1310]
]
}
],
"errmsg": ""
}
}