查询UM条件单历史 (USER_DATA)
接口描述
查询UM条件单历史
HTTP请求
GET /papi/v1/um/algo/allAlgoOrders
请求权重
5
请求参数
| 名称 | 类型 | 是否必需 | 描述 |
|---|---|---|---|
| symbol | STRING | YES | |
| algoId | LONG | NO | 只返回此orderID及之后的订单,缺省返回最近的订单 |
| startTime | LONG | NO | |
| endTime | LONG | NO | |
| limit | INT | NO | 返回的结果集数量 默认值:500 最大值:1000 |
| recvWindow | LONG | NO | |
| timestamp | LONG | YES |
- 查询时间范围最大不得超过7天
- 默认查询最近7天内的数据
响应示例
[
{
"algoId": 2146760,
"clientAlgoId": "6B2I9XVcJpCjqPAJ4YoFX7",
"algoType": "CONDITIONAL",
"orderType": "TAKE_PROFIT",
"symbol": "BNBUSDT",
"side": "SELL",
"positionSide": "BOTH",
"timeInForce": "GTC",
"quantity": "0.01",
"algoStatus": "CANCELED",
"actualOrderId": "",
"actualPrice": "0.00000",
"triggerPrice": "750.000",
"price": "750.000",
"icebergQuantity": null,
"tpTriggerPrice": "0.000",
"tpPrice": "0.000",
"slTriggerPrice": "0.000",
"slPrice": "0.000",
"tpOrderType": "",
"selfTradePreventionMode": "EXPIRE_MAKER",
"workingType": "CONTRACT_PRICE",
"priceMatch": "NONE",
"closePosition": false,
"priceProtect": false,
"reduceOnly": false,
"createTime": 1750485492076,
"updateTime": 1750514545091,
"triggerTime": 0,
"goodTillDate": 0
}
]