Skip to main content
POST
Cancel All Orders

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to cancel all orders, optionally filtered by symbol.

Omit symbol to cancel every open order on the sub-account. Set symbol to cancel only open orders on that market. TODO: Cancels up to 500 orders per request TODO: System picks up 500 orders randomly to cancel when you have over 500 orders

sub_account_address
string
required
symbol
null | string

Optional market filter. Omit to cancel open orders across all markets.

Example:

"BTC-USDCx"

Response

200 - application/json

Orders canceled

exit_info
object
required

Information about the exit status of the cancel all operation.

result
object[]
required
time
string<date-time>
required
Example:

"1672531200000"