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

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 order 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 @ClOrdID2 N
530 MassCancelRequestType @MassCxlReqTyp Y Specifies the type of cancellation requested.
336 TradingSessionID @SesID N Trading Session in which orders are to be canceled
625 TradingSessionSubID @SesSub N
<Instrument> N
<Underlying Instrument> N
54 Side @Side N Side of the market specified on the Order Mass Cancel Request
60 TransactTime @TxnTm Y Time this report was initiated/released by the sells-side (broker, exchange, ECN) or sell-side executing system.
58 Text @Txt N
354 EncodedTextLen @EncTxtLen C Must be set if EncodedText (355) field is specified and must immediately precede it.
355 EncodedText @EncTxt 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