The sequence reset message is used by the sending application to reset the incoming sequence number on the opposing side. The sequence reset message can be used in the following situations:
- During normal resend processing, the sending application may choose not to send a message (e.g. an aged order). The Sequence Reset can be used to mark the place of that message.
- During normal resend processing, a number of administrative messages are not resent, the Sequence Reset message is used to fill the sequence gap created.
- In the event of an application failure, it may be necessary to force synchronization of sequence numbers on the sending and receiving sides
The sequence reset format is as follows:
Sequence Reset
Tag |
Field Name |
Req’d |
Comment |
|
Standard Header |
Y |
MsgType = 4 |
123 |
GapFillFlag |
N |
Y = Gap Fill message, MsgSeqNum field valid N = Sequence Reset, ignore MsgSeqNum |
36 |
NewSeqNo |
Y |
New Sequence Number |
|
Standard Trailer |
Y |
|
FIX message example:
8 BeginString = FIX.4.2
9 BodyLength = 135
35 MsgType = 4 "SequenceReset"
49 SenderCompID = CQGTEST
56 TargetCompID = SERVERTEST
34 MsgSeqNum = 5
43 PossDupFlag = Y "PossibleDuplicate"
52 SendingTime = 20140122-02:01:01.444
36 NewSeqNo = 626
123 GapFillFlag = Y "GapFillMessage:MsgSeqNumFieldIsValid"
122 OrigSendingTime = 20140122-02:01:01.444
10 CheckSum = 113