跳到主要内容

查询UM订单修改历史(USER_DATA)

接口描述

查询UM订单修改历史

HTTP请求

GET /papi/v1/um/orderAmendment

请求权重(Order)

1

请求参数

名称类型类型描述
symbolSTRINGYES交易对
orderIdLONGNO系统订单号
origClientOrderIdSTRINGNO用户自定义的订单号
startTimeLONGNO起始时间
endTimeLONGNO结束时间
limitINTNO默认值 500, 最大值 1000
recvWindowLONGNO
timestampLONGYES
  • 至少需要发送 orderIdorigClientOrderId中的一个,同时发送则以 orderId 为准

响应示例

[
{
"amendmentId": 5363, // 修改记录号
"symbol": "BTCUSDT",
"pair": "BTCUSDT",
"orderId": 20072994037,
"clientOrderId": "LJ9R4QZDihCaS8UAOOLpgW",
"time": 1629184560899, // 修改时间
"amendment": {
"price": {
"before": "30004",
"after": "30003.2"
},
"origQty": {
"before": "1",
"after": "1"
},
"count": 3 // 修改记数,代表该修改记录是这笔订单第几次修改
},
"priceMatch": "NONE"
},
{
"amendmentId": 5361,
"symbol": "BTCUSDT",
"pair": "BTCUSDT",
"orderId": 20072994037,
"clientOrderId": "LJ9R4QZDihCaS8UAOOLpgW",
"time": 1629184533946,
"amendment": {
"price": {
"before": "30005",
"after": "30004"
},
"origQty": {
"before": "1",
"after": "1"
},
"count": 2
},
"priceMatch": "NONE"
},
{
"amendmentId": 5325,
"symbol": "BTCUSDT",
"pair": "BTCUSDT",
"orderId": 20072994037,
"clientOrderId": "LJ9R4QZDihCaS8UAOOLpgW",
"time": 1629182711787,
"amendment": {
"price": {
"before": "30002",
"after": "30005"
},
"origQty": {
"before": "1",
"after": "1"
},
"count": 1
},
"priceMatch": "NONE"
}
]