Imported from previous forum
What is an approiate reponse to a logon with a sequence number less than expected?
Is a reject followed by a logout followed by disconnect the right apporach?
Jiryih Tsuar
[ original email was from John Prewett - jprewett@lavatrading.com ]
> What is an approiate reponse to a logon with a sequence number less
than expected?
Is a reject followed by a logout followed by disconnect the right
apporach?Jiryih Tsuar
When receiving a logon message with MsgSeqNum lower than expected
- Whenever possible it is recommended that FIX engine attempt to send a Logout message with a text message of “MsgSeqNum too low, expecting X but received Y”
- (optional) Wait for Logout message response (note likely will have inaccurate MsgSeqNum) or wait 2 seconds whichever comes first
- Disconnect
- Generate an “error” condition in test output.
The above text was copied from the FIX.4.4 specification with errata which should be considered obligatory reading for those implementing the FIX session layer.
What is an approiate reponse to a logon with a sequence number less
than expected?Is a reject followed by a logout followed by disconnect the right
apporach?Jiryih Tsuar
When receiving a logon message with MsgSeqNum lower than expected
Whenever possible it is recommended that FIX engine attempt to send a Logout message with a text message of “MsgSeqNum too low, expecting X but received Y”(optional) Wait for Logout message response (note likely will have inaccurate MsgSeqNum) or wait 2 seconds whichever comes firstDisconnectGenerate an "error" condition in test output.The above text was copied from the FIX.4.4 specification with errata
which should be considered obligatory reading for those implementing the
FIX session layer.
I agree. However, I was encountering some different suggestions on logon handling; i.e., accept it. Any different voices?
Jiryih Tsaur