Modify Take Profit and Stop Loss for Open Limit Orders
Modify Take Profit and Stop Loss for Open Limit Orders
Modify take profit and stop loss settings for open limit orders.
Request frequency limit: 1/1s
Request URL
POST /deepcoin/trade/replace-order-sltp
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| orderSysID | true | string | Limit order ID |
| tpTriggerPx | false | float | Take profit price, not set or value of 0 means cancel the setting |
| slTriggerPx | false | float | Stop loss price, not set or value of 0 means cancel the setting |
Response Parameters
无
Response Example
// Successful modification
{
"code": "0",
"msg": "",
"data": {
}
}
// Failed modification
{
"code": "24",
"msg": "OrderNotFound:10005881114595391",
"data": null
}