Skip to main content

Cancel all orders request

POST 

/v1/orders/cancel/all

This request cancels all open orders on single specified exchange.

Request

Body

required

OrderCancelAllRequest object.

    exchange_id stringrequired

    Identifier of the exchange from which active orders should be canceled.

Responses

Result

Schema

    type string

    Message type, constant.

    reject_reason RejectReason (string)

    Possible values: [OTHER, EXCHANGE_UNREACHABLE, EXCHANGE_RESPONSE_TIMEOUT, ORDER_ID_NOT_FOUND, INVALID_TYPE, METHOD_NOT_SUPPORTED, JSON_ERROR]

    Cause of rejection.

    exchange_id string

    If the message related to exchange, then the identifier of the exchange will be provided.

    message string

    Message text.

    rejected_message string

    Value of rejected request, if available.

Loading...