跳到主要内容

查看当前全部CM挂单(USER_DATA)

接口描述

查看当前全部CM挂单,请小心使用不带symbol参数的调用

HTTP请求

GET /papi/v1/cm/openOrders

请求权重

带symbol 1 ; 不带 40

请求参数

名称类型是否必需描述
symbolSTRINGNO
pairSTRINGNO
recvWindowLONGNO
timestampLONGYES

注意:

  • 不带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
}
]