For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cancel Algo Order

Cancel one pending algorithmic order by its order ID.

Endpoint

DELETE /v1/algo/order?order_id={order_id}&symbol={symbol}

Mainnet: DELETE https://api.orderly.org/v1/algo/order?order_id={order_id}&symbol={symbol}

Testnet: DELETE https://testnet-api.orderly.org/v1/algo/order?order_id={order_id}&symbol={symbol}

Request limit: 5 requests per second. This endpoint cancels one algorithmic order using its order ID and symbol.

Authentication headers

  • orderly-timestamp — required signed-request timestamp in milliseconds.

  • orderly-account-id — required account ID.

  • orderly-key — required public API key.

  • orderly-signature — required request signature.

Query parameters

  • order_id (number, required) — ID of the algorithmic order.

  • symbol (string, required) — market symbol for the order.

Example request

curl --request DELETE \
  --url 'https://api.orderly.org/v1/algo/order?order_id=13&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 returns the cancellation status and server timestamp.

Last updated