Trigger Sub Order
Speed limit is 10 times/s (UID)
Description
Get trigger execute futures order
HTTP Request
- POST /api/v2/mix/order/plan-sub-order
Request Example
curl "https://api.cointr.com/api/v2/mix/order/plan-sub-order?planOrderId=xxxxxxxxxxxxxxxxxx&productType=USDT-FUTURES&planType=normal_plan" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
planType | String | Yes | Trigger order type normal_plan: average trigger order track_plan: trailing stop order |
planOrderId | String | Yes | Trigger order ID |
productType | String | Yes | Product typeUSDT-FUTURES USDT professional futuresCOIN-FUTURES Mixed futuresUSDC-FUTURES USDC professional futuresSUSDT-FUTURES USDT professional futures demoSCOIN-FUTURES Mixed futures demoSUSDC-FUTURES USDC professional futures demo |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1710813939206,
"data": [
{
"orderId": "xxxxxxxxxxxxx",
"price": "0.4188",
"type": "limit",
"status": "success"
}
]
}
Response Parameters
Parameter | Type | Description |
---|---|---|
orderId | String | Futures order ID |
price | String | Price of the futures order |
type | String | Order type limit market |
status | String | Plan order trigger status success: trigger success fail: trigger failed cancelled: cancelled in_progress: trigger spot placing order in_progress_tracking: tracking trigger |