Note that there are some explanatory texts on larger screens.

plurals
  1. POResetting message sequence numbers without reconnecting
    primarykey
    data
    text
    <p>since official QuickFix website is not working, I am asking here. I am trying to meet my broker's (FXCM) demands for API readiness. I am using quickfix .NET v1.13.3. One of the demands was that I need to reset the sequence numbers once a day and the connection must be still working. But when I reset the sequence numbers using: </p> <pre><code>QuickFix.Session.lookupSession(mSessionID).setNextSenderMsgSeqNum(1); QuickFix.Session.lookupSession(mSessionID).setNextTargetMsgSeqNum(1); </code></pre> <p>the connection reconnects. Is there any way to reset it without loging out? </p> <p>My configuration file: </p> <pre><code>[DEFAULT] #client connection ConnectionType=initiator #Logon &amp; Logout timers LogonTimeout=1 LogoutTimeout=1 ValidateFieldsOutOfOrder=Y ValidateUserDefinedFields=Y ValidateFieldsHaveValues=Y AllowUnknownMsgFields=Y SocketTcpNoDelay=Y FileStorePath=Store CheckLatency=N CheckCompID=Y SendRedundantResendRequests=Y ContinueInitializationOnError=Y ResetOnLogon=Y ResetOnLogout=Y ResetOnDisconnect=Y ForceResync=Y [SESSION] #login info username=**** password=**** #protocol version 4.4 BeginString=FIX.4.4 #database and compid SenderCompID=***** TargetCompID=***** TargetSubID=****** HeartBtInt=30 StartTime=01:00:00 EndTime=22:00:00 StartDay=Mon EndDay=Fri UseLocalTime=Y ReconnectInterval=20 #data dictionary UseDataDictionary=Y DataDictionary=FXService.FXCM.xml </code></pre> <p>I found in the logs in logout message this error: </p> <pre><code>MsgSeqNum too low, expecting 12 but received 3 </code></pre> <p>So I believe the error is in the timing of my reseting. When is it safe to reset the sequence numbers and how to do it? </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload