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

Cancel All Pending Orders

Cancel every pending regular order or filter the cancellation to one market.

Endpoint

DELETE /v1/orders?symbol={symbol}

Mainnet: DELETE https://api.orderly.org/v1/orders?symbol={symbol}

Testnet: DELETE https://testnet-api.orderly.org/v1/orders?symbol={symbol}

Rate limit: 10 requests per second. This endpoint cancels all open regular orders matching the optional symbol filter. If symbol is omitted, all open regular orders are included. The API key must have the trading scope.

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

No

Limit cancellation to orders for this market. Omit it to cancel all open regular orders.

Example request

curl --request DELETE \
  --url 'https://api.orderly.org/v1/orders?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 CANCEL_ALL_SENT when the cancellation request is sent.

Last updated