Order Mass Cancel Request (MsgType = q, FIXML = OrderMassCancelReq)

The order mass cancel request (q) message requests the cancelation of all of the remaining quantity of a group of orders matching criteria specified within the request. NOTE: This message can only be used to cancel messages (reduce the full quantity).

An order mass cancel request (q) is assigned a ClOrdID (11) and is treated as a separate entity. The order mass cancel request (q) is acknowledged using an Order Mass Cancel Report (r) . The Order Mass Cancel Report (r) will contain the ClOrdID (11) that was specified on the Order Mass Cancel Request (q) . The ClOrdID (11) assigned to the cancel request must be unique amongst the ClOrdID (11) assigned to regular orders, replacement orders, cancel requests, and order mass cancel requests.

An immediate response to this message is required. It is recommended that an ExecutionRpt (8) with ExecType (150) =Pending Cancel be sent unless the Order Mass Cancel Request (q) can be immediately accepted ( ExecutionRpt (8) with ExecType (150) =Canceled) or rejected ( Order Cancel Reject (9) message).

Specifying order cancellation criteria is specified using the MassCancelRequestType (530) field:

Field Value Description Explanation
1 Cancel orders for a security Cancel orders that match the security identification block, all fields required to uniquely qualify the security should be specified.
2 Cancel orders for an Underlying security Cancel orders that match the underlying security identification block, all fields required to uniquely identify the underlying security should be populated
3 Cancel orders for a Product Cancel orders for a specific type of Product (high-level security classification), Only Product (460) should be specified
4 Cancel orders for a CFICode Cancel orders for a specific type of CFICode (security classification), Only CFICode (461) should be specified
5 Cancel orders for a SecurityType Cancel orders for a specific type of security, only SecurityType (167) should be specified
6 Cancel orders for a trading session Cancel orders for a specific trading session, TradingSessionID (336) must be specified.
7 Cancel all orders Cancel all orders for the firm identified using this FIX connection

Example uses of MassCancelRequestType (530) with Qualifiers:

Tag Field Name FIXML Req'd Comments
<Standard Message Header> Y MsgType = q
11 ClOrdID ClOrdID Y Unique ID of Order Mass Cancel Request (q) as assigned by the institution.
526 SecondaryClOrdID SecondaryClOrdID N
530 MassCancelRequestType MassCancelRequestType Y Specifies the type of cancellation requested.
336 TradingSessionID TradingSessionID N Trading Session in which orders are to be canceled
625 TradingSessionSubID TradingSessionSubID N
<Instrument> N
<Underlying Instrument> N
54 Side Side N Optional qualifier used to indicate the side of the market for which orders are to be canceled. Absence of this field indicates that orders are to be canceled regardless of side.
60 TransactTime TransactTime Y Time this order request was initiated/released by the trader or trading system.
58 Text Text N
354 EncodedTextLen EncodedTextLen C Must be set if EncodedText (355) field is specified and must immediately precede it.
355 EncodedText EncodedText C Encoded (non-ASCII characters) representation of the Text (58) field in the encoded format specified via the MessageEncoding (347) field.
<Standard Message Trailer> Y