Cancel Stop Limit
Type: POST Description: /future/trade/v1/entrust/cancel-profit-stop
Limit Flow Rules
200/s/apikey
Parameters
| Name | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| profitId | integer | TRUE | N/A | Profit/Stop order ID | — |
Request Example
curl -X POST "https://fapi.xt.com/future/trade/v1/entrust/cancel-profit-stop" \
-H "validate-appkey: $APPKEY" # Required
-H "validate-timestamp: $TIMESTAMP" # Required
-H "validate-signature: $SIGNATURE" # Required
-H "Content-Type: application/x-www-form-urlencoded" # Required
-d "profitId=123456789" # Required
Response Example
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": true,
"returnCode": 0
}
Error Codes
| Error Code | Description |
|---|---|
| invalid_entrust | Invalid order ID |
| fail | Internal error |