trace order
trace order
It's supported only when you in Cross Margin Mode and have merge position
Request frequency limit: 1/1s
Request URL
POST /deepcoin/trade/trace-order
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| instId | true | string | Product ID |
| retracePoint | true | string | pullback spread |
| triggerPrice | true | string | Activation price, "0": Cancel order, "-1": Activate immediately; The positive price is for setting an activation order and must maintain a price difference of 0.1% from the latest price; other prices are invalid. |
| posSide | true | string | Position side product type must be SWAPLong: longShort: short |
Request Example
{
"instId": "BTC-USDT-SWAP",
"retracePoint": "1000",
"triggerPrice": "-1",
"posSide": "long"
}
Response Parameters
None
Response Example
{
"code": "0",
"msg": "",
"data": {}
}
Get pending trace order list
Request frequency limit: 1/1s
Request URL
GET /deepcoin/trade/trace-order-list
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| instId | true | string | Product ID |
Response Parameters
| Field Name | Type | Description |
|---|---|---|
| retracePoint | string | pullback spread |
| triggerPrice | string | activation price |
| breakPrice | string | breakout price |
| isTriggered | int | activated or not,1:activated,0:not activated |
| posSide | string | Position side Long: longShort: short |
| createTime | int | created time |
Response Example
{
"code":"0",
"msg":"",
"data":[
{
"triggerPrice":"87195",
"breakPrice":"87329.8",
"retracePoint":"1500",
"isTriggered":1,
"posSide":"long",
"createTime":1763954015
}
]
}