POST
/
sapi
/
v1
/
batchCancel

Body

application/json

Mass cancellation of orders, maximum 10 orders at a time.

Source: https://exchangeopenapi.gitbook.io/pri-openapi/openapi-doc/spot-trading-api#batch-cancel-order

orderIds
integer[]
required
symbol
string
required

Response

200 - application/json

Response of the request: :class:odyssey_exchange_api.requests.SpotBatchCancelOrderRequest.

Contains an arrays with successful cancelled order ids and failed order ids.

Cancellation failure is usually because the order does not exist or the order status has reached the final state.

failed
integer[]
success
integer[]