跳到主要内容

查询UM条件单历史 (USER_DATA)

接口描述

查询UM条件单历史

HTTP请求

GET /papi/v1/um/algo/allAlgoOrders

请求权重

5

请求参数

名称类型是否必需描述
symbolSTRINGYES
algoIdLONGNO只返回此orderID及之后的订单,缺省返回最近的订单
startTimeLONGNO
endTimeLONGNO
limitINTNO返回的结果集数量 默认值:500 最大值:1000
recvWindowLONGNO
timestampLONGYES
  • 查询时间范围最大不得超过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
}
]