Re: [Quickfix-developers] unexpected seqnum reset (VC6)
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2005-03-03 21:40:41
|
Ah no. Having the same StartTime and EndTime indicates a 24 hour=20 session. One that will begin at 00:00:00 and end at 00:00:00 the=20 following day, for instance. If you want an infinite session, then=20 you'll have to rig isSessionTime and isSameSession to always return=20 true. There isn't a configuration setting to do this currently. --oren On Mar 3, 2005, at 3:27 PM, Alexey Zubko wrote: > Hello Oren, > > Closing my client application in the evening I expected to receive=20 > the last sequence number in the morning. > My client connected to CME which is reset seqnum once a week you = know. > > If I set start day, start week and the right hours in my=20 > configuration file it works OK. > The only thing is that session time is not updated in the file. > > I thought if StartTime and EndTime are the same and if there are no=20= > StartDay and EndDay parameters in the configuration file when QuickFix=20= > is not going to disconnect sessions. Am I wrong? > > > > Regards, > Alexey Zubko > > > Oren Miller wrote: > Sure, the sequence numbers will be reset if you are no longer in the=20= > session.=A0 Those sequence numbers aren't relevant anymore because = they=20 > pertain to a session that no longer exists.=A0 What would you expect = to=20 > happen? > > --oren > > On Mar 3, 2005, at 2:55 PM, Alexey Zubko wrote: > > > QuickFIX Documentation:=20 > http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX=20 > FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ=20 > QuickFIX Support: http://www.quickfixengine.org/services.html=A0=A0 Hi=20= > All, > > =A0I've got the following problem. > > =A0My client application started a new session in the morning with a=20= > reset seqnum. > =A0That was absolutely unexpected because seqnum in the file wasn't = 1. > > =A0I found how to reproduce that: > > =A01. I have only start and end times in your configuration file > =A0StartTime=3D00:00:00 > =A0EndTime=3D00:00:00 > > =A02. Change in the *.session file the day (minus one - session from=20= > the previous day) > > =A0I found out that in the Session class constructor there is a call = of=20 > reset() if the creation time (yesterday) is not the current time=20 > (today) :)). > > =A0=A0 if( !checkSessionTime( UtcTimeStamp() ) ) > =A0=A0=A0=A0 reset(); > =A0............... > > > --=A0 > > Regards, > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Alexey Zubko > > > =A0------------------------------------------------------- SF email = is=20 > sponsored by - The IT Product Guide Read honest & candid reviews on=20 > hundreds of IT Products from real users. Discover which products truly=20= > live up to the hype. Start reading now.=20 > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick=20 > _______________________________________________ Quickfix-developers=20 > mailing list Qui...@li...=20 > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > |