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
StandardHeader objectrequired
Must be "FIX.4.4"
Length of the message body in bytes
Message Type
Integer message sequence number
Indicates possible retransmission of message with this sequence number. If a message with this sequence number has been previously received, ignore message; if not, process normally.
See FIX Endpoints for details
See FIX Endpoints for details
Time when the message is being sent out from FIX Gateway
Indicates that message may contain information sent under another sequence number. Forward message to application and determine if previously received (i.e. verify order id and parameters).
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
StandardTrailer objectrequired
Three bytes, simple checksum. Always last field in message
Schema
StandardHeader objectrequired
Must be "FIX.4.4"
Length of the message body in bytes
Message Type
Integer message sequence number
Indicates possible retransmission of message with this sequence number. If a message with this sequence number has been previously received, ignore message; if not, process normally.
See FIX Endpoints for details
See FIX Endpoints for details
Time when the message is being sent out from FIX Gateway
Indicates that message may contain information sent under another sequence number. Forward message to application and determine if previously received (i.e. verify order id and parameters).
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
StandardTrailer objectrequired
Three bytes, simple checksum. Always last field in message