Cancel Algo Order by Client Order ID
Cancel a pending algorithmic order using its client order ID.
Endpoint
DELETE /v1/algo/client/order?client_order_id={client_order_id}&symbol={symbol}
Mainnet: DELETE https://api.orderly.org/v1/algo/client/order?client_order_id={client_order_id}&symbol={symbol}
Testnet: DELETE https://testnet-api.orderly.org/v1/algo/client/order?client_order_id={client_order_id}&symbol={symbol}
Rate limit: 5 requests per second. This signed request cancels a specific algorithmic order using the client-assigned order ID.
Authentication headers
- orderly-timestamp — signed-request timestamp in milliseconds.
- orderly-account-id — PangoPerps account ID.
- orderly-key — public API key.
- orderly-signature — request signature.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Market symbol for the algorithmic order. |
| client_order_id | string | Yes | Client-assigned ID of the algorithmic order. |
Example request
curl --request DELETE \
--url 'https://api.orderly.org/v1/algo/client/order?client_order_id=pango-algo-001&symbol=PERP_ETH_USDC' \
--header 'orderly-account-id: <account-id>' \
--header 'orderly-key: <public-api-key>' \
--header 'orderly-signature: <signature>' \
--header 'orderly-timestamp: <timestamp-in-ms>'Successful response
HTTP 200 indicates that the cancellation request was sent. Check the order state separately to confirm its final status.
{
"success": true,
"data": {
"status": "CANCEL_SENT"
},
"timestamp": 1702989203989
}