CancelOrdersRequest

Note

For a more in depth documentation, you should check the comments from the protobuf file.

Purpose

Uses for cancel all non-cancelled (working) Order Requests.

Mandatory fields

  • orderId - number of orders, that need to be canceled.

  • ignoreValidation - determine, if need to check validity of order (immediately filling, 10% check, etc.).

  • moduleId - the name of the module from which you want to place the order.


Request example

export CancelOrderRequest = {
        orderIds: [
            "115257",
            "115259"
        ],
        ignoreValidation: false,
        moduleId: null
    }

Responses

The server will respond with a CancelOrdersResponse.