OrderMassCancelRequest (35=q)
Cancels all orders for a particular instrument/pair (asynchronous).This call is asynchronous, so the response as OrderMassCancelReport is simply an acceptance of the request, but not necessarily mean it is confirmed into order book.
The drop copy subscription can be used to check when the order is successfully cancelled with ExecutionReport or rejected with OrderCancelReject message.
From the drop copy, for each respective order, Execution Report (8) with ExecType=6 (Pending Cancel) and/or ExecType=4 (Cancelled) for acceptance and confirmation of the cancel request respectively. Besides, OrderCancelReject (9) can be returned if cancel reject happens.
Response Attributes: See OrderMassCancelReport for details.
Request
Body
required
Unique ID of Order Mass Cancel Request (q) as assigned by the client.
Specifies the type of cancellation requested. Supported values: 1: Cancel by Symbol
The symbol for which to cancel all orders. Required when MassCancelRequestType=1
Possible values: [q]
Message Type = q (Order Mass Cancel Request)
Schema
Echoed back from the OrderMassCancelRequest
For CDC internal reference only
Echoed back from the OrderMassCancelRequest
If successful, echoes the MassCancelRequestType.
Reason why cancel request has failed. 1: Unknown Symbol, 5: Unknown SecurityType
Possible values: [r]
Message Type = r (Order Mass Cancel Report)