跳到主要内容

查询当前UM挂单 (USER_DATA)

接口描述

查询当前UM挂单

HTTP请求

GET /papi/v1/um/openOrder

请求权重

1

请求参数

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

注意:

  • orderIdorigClientOrderId 必须至少发送一个
  • 查询的订单如果已经成交或取消,将返回报错 "Order does not exist"

响应示例

{
"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, // order time
"timeInForce": "GTC",
"type": "LIMIT",
"updateTime": 1579276756075
"selfTradePreventionMode": "NONE", //self trading preventation mode
"goodTillDate": 0,
"priceMatch": "NONE"
}