查询CM当前条件挂单(USER_DATA)
接口描述
查询CM当前条件挂单
HTTP请求
GET /papi/v1/cm/conditional/openOrder
请求权重
1
请求参数
名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
symbol | STRING | YES | |
strategyId | LONG | NO | |
newClientStrategyId | STRING | NO | |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
注意:
strategyId
与newClientStrategyId
中的一个为必填参数.- 如果查询的条件单已经为
CANCELED
,TRIGGERED
或EXPIRED
,会报错"Order does not exist"
响应示例
{
"newClientStrategyId": "abc",
"strategyId":123445,
"strategyStatus":"NEW",
"strategyType": "TRAILING_STOP_MARKET",
"origQty": "0.40",
"price": "0",
"reduceOnly": false,
"side": "BUY",
"positionSide": "SHORT",
"stopPrice": "9300",
"symbol": "BTCUSD",
"bookTime": 1566818724710, //条件单下单时间
"updateTime": 1566818724722,
"timeInForce": "GTC",
"activatePrice": "9020",
"priceRate": "0.3"
}