Cancel Algo Order (TRADE)
API Description
Cancel an active algo order.
Method
algoOrder.cancel
Request
{
"id": "5633b6a2-90a9-4192-83e7-925c90b6a2fd",
"method": "algoOrder.cancel",
"params": {
"apiKey": "HsOehcfih8ZRxnhjp2XjGXhsOBd6msAhKz9joQaWwZ7arcJTlD2hGOGQj1lGdTjR",
"algoId": 283194212,
"clientalgoid": "DolwRKnQNjoc1E9Bbh03ER",
"timestamp": 1703439070722,
"signature": "b09c49815b4e3f1f6098cd9fbe26a933a9af79803deaaaae03c29f719c08a8a8"
}
}
Request Weight
1
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| algoid | LONG | NO | |
| clientalgoid | STRING | NO | |
| recvWindow | LONG | NO | |
| timestamp | LONG | YES |
- Either
algoidorclientalgoidmust be sent.
Response Example
{
"id": "06c9dbd8-ccbf-4ecf-a29c-fe31495ac73f",
"status": 200,
"result": {
"algoId": 3000000000003505,
"clientAlgoId": "0Xkl1p621E4EryvufmYre1",
"algoType": "CONDITIONAL",
"orderType": "TAKE_PROFIT",
"symbol": "BTCUSDT",
"side": "SELL",
"positionSide": "SHORT",
"timeInForce": "GTC",
"quantity": "1.000",
"algoStatus": "CANCELED",
"triggerPrice": "120000.00",
"price": "160000.00",
"icebergQuantity": null,
"selfTradePreventionMode": "EXPIRE_MAKER",
"workingType": "CONTRACT_PRICE",
"priceMatch": "NONE",
"closePosition": false,
"priceProtect": false,
"reduceOnly": false,
"createTime": 1762507264142,
"updateTime": 1762507264143,
"triggerTime": 0,
"goodTillDate": 0
},
"rateLimits": [
{
"rateLimitType": "REQUEST_WEIGHT",
"interval": "MINUTE",
"intervalNum": 1,
"limit": 2400,
"count": 1
}
]
}