Cancel Reject messages on the Zero Hash CLOB.
A Cancel Reject message in the Financial Information eXchange (FIX) protocol is sent by the broker or exchange in response to a cancel request (Order Cancel Request - MsgType = F) that cannot be completed successfully. This rejection message provides information regarding the failure to cancel the requested order.
Cancel Reject Scenario
Cancel Rejects can occur due to various reasons, such as:
- The order to be canceled does not exist or cannot be found.
- The order has already been filled or partially filled and cannot be canceled.
- The cancel request was received after the order has been executed.
- The cancel request was rejected due to risk management or compliance reasons.
- System issues or connectivity problems prevented the cancel request from being processed.
Handling Cancel Rejects
Upon receiving a Cancel Reject message, the trading system or algorithmic trading software needs to handle the rejection appropriately. This may involve displaying the rejection reason to the trader, updating the order status, logging the rejection for compliance purposes, and potentially resubmitting the cancel request if applicable.
It's essential for trading systems to handle cancel rejects gracefully and provide clear feedback to users to ensure proper order management and compliance with regulatory requirements.
Message Fields
Field | Description | Note |
---|---|---|
Standard Header | MsgType = 9 | |
41 | OrigClOrdId | ClOrdID of the previous order. |
37 | OrdId | Unique Identifier of order assigned by the platform. |
11 | ClOrdId | Unique identifier of the order. Must be unique for each session. |
39 | OrdStatus | OrdStatus value after this cancel reject is applied. |
102 | CxlRejReason | Code to identify reason for cancel rejection. |
58 | Text | Optional explanation message. |
434 | CxlRejResponseTo | Unique identifier of the Canceled order. |
Standard Trailer |