quickfix-j / quickfixj

QuickFIX/J is a full featured messaging engine for the FIX protocol. - This is the official project repository.
http://www.quickfixj.org
Other
957 stars 611 forks source link

Lower sequence received than expected without PossDup flag. Expected/Received = 445/1110=119 #656

Closed atlasifs88 closed 1 year ago

atlasifs88 commented 1 year ago

I am getting this error after restarting FIX. What QFJ parameters should I set to continue sending orders?

chrjohn commented 1 year ago

How is this different from https://github.com/quickfix-j/quickfixj/discussions/599 which you also opened some time ago?

atlasifs88 commented 1 year ago

The issue occurred when the setting is ResetOnLogon=N after restarting FIX. After changing the value to Y then the issue was resolved.  The setting was set to N because we wanted to have any missed messages to automatically resend the request. 

On Sunday, August 6, 2023, 8:17 AM, Christoph John @.***> wrote:

Closed #656 as not planned.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

chrjohn commented 1 year ago

When you reset at logon, all messages will be deleted from the store. When the sequence number is lower than expected then this is a serious error that needs to be resolved manually. The reason for the too low sequence should be investigated.