跳到主要内容

查询CM订单(USER_DATA)

接口描述

查询CM订单状态

HTTP请求

GET /papi/v1/cm/order

请求权重

1

请求参数

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

注意:

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

响应示例

{
"avgPrice": "0.0",
"clientOrderId": "abc",
   "cumBase": "0",
"executedQty": "0",
"orderId": 1917641,
"origQty": "0.40",
"origType": "LIMIT",
"price": "0",
"reduceOnly": false,
"side": "BUY",
"status": "NEW",
"symbol": "BTCUSD_200925",
"pair": "BTCUSD",
"positionSide": "SHORT",
   "time": 1579276756075,
"timeInForce": "GTC",
"type": "LIMIT",
"updateTime": 1579276756075
}