查询当前UM挂单 (USER_DATA)
接口描述
查询当前UM挂单
HTTP请求
GET /papi/v1/um/openOrder
请求权重
1
请求参数
名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
symbol | STRING | YES | |
orderId | LONG | NO | |
origClientOrderId | STRING | NO | |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
注意:
orderId
或origClientOrderId
必须至少发送一个- 查询的订单如果已经成交或取消,将返回报错 "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"
}