查看当前全部CM挂单(USER_DATA)
接口描述
查看当前全部CM挂单,请小心使用不带symbol参数的调用
HTTP请求
GET /papi/v1/cm/openOrders
请求权重
带symbol 1 ; 不带 40
请求参数
名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
symbol | STRING | NO | |
pair | STRING | NO | |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
注意:
- 不带
symbol
参数,会返回所有交易对的挂单
响应示例
[
{
"avgPrice": "0.0",
"clientOrderId": "abc",
"cumBase": "0",
"executedQty": "0",
"orderId": 1917641,
"origQty": "0.40",
"origType": "LIMIT",
"price": "0",
"reduceOnly": false,
"side": "BUY",
"positionSide": "SHORT",
"status": "NEW",
"symbol": "BTCUSD_200925",
"pair":"BTCUSD",
"time": 1579276756075,
"timeInForce": "GTC",
"type": "LIMIT",
"updateTime": 1579276756075
}
]