跳到主要内容

查询UM订单(USER_DATA)

接口描述

查询UM订单状态

HTTP请求

GET /papi/v1/um/order

请求权重

1

请求参数

名称类型是否必需描述
symbolSTRINGYES
orderIdLONGNO
origClientOrderIdSTRINGNO
recvWindowLONGNO
timestampLONGYES

注意:

  • orderIdorigClientOrderId 必须至少发送一个
  • 请注意,如果订单满足如下条件,不会被查询到:
    • 订单的最终状态为 CANCELEDEXPIRED,并且
    • 订单没有任何的成交记录,并且
    • 订单生成时间 + 3天 < 当前时间

响应示例

{
"avgPrice": "0.00000",
"clientOrderId": "abc",
"cumQuote": "0",
"executedQty": "0",
"orderId": 1917641,
"origQty": "0.40",
"origType": "LIMIT",
   "price": "0",
"reduceOnly": false,
"side": "BUY",
"positionSide": "SHORT",
"status": "NEW",
"symbol": "BTCUSDT",
"time": 1579276756075,
"timeInForce": "GTC",
"type": "LIMIT",
"updateTime": 1579276756075,
"selfTradePreventionMode": "NONE",
"goodTillDate": 0,
"priceMatch": "NONE"
}