Skip to main content
DELETE /v1/accounts/{accountId}/orders
Cancels every open order on the account. Filled, cancelled, and expired orders are not affected. USDC reserved against cancelled limit-BUY orders is released back to balance.available; shares reserved against cancelled limit-SELL orders are released back to position lockedSize. Response
{
  "cancelled": 3
}
Returns the count of orders cancelled. Idempotent — calling against an account with no open orders returns {"cancelled": 0}.