Cancel Algo Order
Type: TRADE
Weight: 1
DELETE /fapi/v1/algoOrder
Request
DELETE /fapi/v1/algoOrder?algoId=12345×tamp=<ms>&signature=<hex>
Query params
| Name | Type | Required | Notes |
|---|---|---|---|
algoId | long | one of | |
clientAlgoId | string | one of |
Response — 200
{ "algoId": 12345, "clientAlgoId": "my-stop-1", "code": "200", "msg": "success" }
Cancelling an order that is already CANCELED returns success again (idempotent — deliberately safer than Binance's -2011 on a retry under packet loss).
Errors
| HTTP | code | msg |
|---|---|---|
400 | -1102 | Neither algoId nor clientAlgoId sent. |
400 | -2011 | Order already triggered / executed / expired / failed. |
404 | -2013 | Order does not exist. |
Authentication failures (INVALID_API_KEY, API_KEY_DISABLED, IP_NOT_ALLOWED, SIGNATURE_INVALID) apply to every signed endpoint and use Sparky's {"success":false,"error":{...}} envelope; see Error Codes.