There’s a significant aspect of the FIX Protocol that you need to understand when it comes to real-time trading communications: the FIX tag 36, known as NewSeqNo. This tag plays a vital role in ensuring the smooth operation of message sequencing within the FIX framework.
In the context of FIX, NewSeqNo refers to a specific tag that contains a new sequence number for the message being sent. The FIX Dictionary defines it as an important component for identifying the order in which messages are sent and received. Sequence numbers help to maintain message integrity, ensuring you receive messages in the right order, and identify if any have been missed or duplicated. When you send or receive a message with NewSeqNo, it guarantees that the receiver can properly process each message based on its unique order.
In trading, the use of FIX tag 36 is fundamental for maintaining the reliability and efficiency of communication between trading parties. When a trading system sends a FIX message with a new sequence number, it indicates that this is the latest point in the sequence, and all previous messages up to this number are accounted for. If you’re involved in trading, you’ll be continually using messages where NewSeqNo is included to ensure that your trading activities remain synchronized and accurate.
Several key FIX messages utilize NewSeqNo. One of the primary messages is the Logon message. When you initiate your connection with a FIX server, the Logon message will include a NewSeqNo tag to establish your starting sequence number. This is particularly important to ensure both ends of the communication line are aligned in their understanding of message sequence numbers. Additionally, the Resend Request message and the Logout message also utilize this tag to communicate changes in the sequence number effectively.
Another area where you may see NewSeqNo is during transaction updates. When you execute trades, the confirmation messages you receive will often incorporate this tag to maintain the integrity of the transaction sequence. If for any reason a message is lost in transmission, the receiving party can use the sequence numbers to identify gaps and request the necessary messages—like a Resend Request—to ensure that all parties involved have the same data.
Therefore, understanding FIX tag 36, or NewSeqNo, is crucial for effective communication within the FIX Protocol. By recognizing its importance in the trading ecosystem—particularly in messages such as Logon, Resend Request, and Logout—you’ll better navigate the complexities of high-speed trading and maintain the integrity of your trading operations.