quickfixgo / quickfix

The Go FIX Protocol Library :rocket:

Home Page:https://www.quickfixgo.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ResetSeqNumFlag

aozeahj opened this issue · comments

Setting ResetSeqNumFlag(141)='Y' when initiator run the start() method is not supported. This prevents the session serial number from being reset automatically.

Can you explain your use case a little more? In the meantime, some things you could do:

  • Control this via SessionSettings (see the ResetOn... and RefreshOn.... settings).
  • Or, I suppose you could call initiator.getSession(sessionID).reset() before you call initiator.start() (or getSessions() to iterate over all of them).
  • Or, you could set RefreshOnLogon=Y and manipulate the Store (e.g. overwrite the .seqnums file) before calling start().