Re: [Quickfix-developers] unexpected seqnum reset (VC6)
Brought to you by:
orenmnero
From: Alexey Z. <ale...@in...> - 2005-03-03 21:48:50
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000066"> Thank you, Oren.<br> <br> I think you should mention this in the documentation.<br> <br> <pre class="moz-signature" cols="60">Regards, Alexey Zubko </pre> <br> Oren Miller wrote: <blockquote cite="mid...@qu..." type="cite">Ah no. Having the same StartTime and EndTime indicates a 24 hour session. One that will begin at 00:00:00 and end at 00:00:00 the following day, for instance. If you want an infinite session, then you'll have to rig isSessionTime and isSameSession to always return true. There isn't a configuration setting to do this currently. <br> <br> --oren <br> <br> On Mar 3, 2005, at 3:27 PM, Alexey Zubko wrote: <br> <br> <blockquote type="cite"> Hello Oren, <br> <br> Closing my client application in the evening I expected to receive the last sequence number in the morning. <br> My client connected to CME which is reset seqnum once a week you know. <br> <br> If I set start day, start week and the right hours in my configuration file it works OK. <br> The only thing is that session time is not updated in the file. <br> <br> I thought if StartTime and EndTime are the same and if there are no StartDay and EndDay parameters in the configuration file when QuickFix is not going to disconnect sessions. Am I wrong? <br> <br> <br> <br> Regards, <br> Alexey Zubko <br> <br> <br> Oren Miller wrote: <br> Sure, the sequence numbers will be reset if you are no longer in the session. Those sequence numbers aren't relevant anymore because they pertain to a session that no longer exists. What would you expect to happen? <br> <br> --oren <br> <br> On Mar 3, 2005, at 2:55 PM, Alexey Zubko wrote: <br> <br> <br> QuickFIX Documentation: <a class="moz-txt-link-freetext" href="http://www.quickfixengine.org/quickfix/doc/html/index.html">http://www.quickfixengine.org/quickfix/doc/html/index.html</a> QuickFIX FAQ: <a class="moz-txt-link-freetext" href="http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ">http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ</a> QuickFIX Support: <a class="moz-txt-link-freetext" href="http://www.quickfixengine.org/services.html">http://www.quickfixengine.org/services.html</a> Hi All, <br> <br> I've got the following problem. <br> <br> My client application started a new session in the morning with a reset seqnum. <br> That was absolutely unexpected because seqnum in the file wasn't 1. <br> <br> I found how to reproduce that: <br> <br> 1. I have only start and end times in your configuration file <br> StartTime=00:00:00 <br> EndTime=00:00:00 <br> <br> 2. Change in the *.session file the day (minus one - session from the previous day) <br> <br> I found out that in the Session class constructor there is a call of reset() if the creation time (yesterday) is not the current time (today) :)). <br> <br> if( !checkSessionTime( UtcTimeStamp() ) ) <br> reset(); <br> ............... <br> <br> <br> -- <br> <br> Regards, <br> Alexey Zubko <br> <br> <br> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. <a class="moz-txt-link-freetext" href="http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click">http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click</a> _______________________________________________ Quickfix-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Qui...@li...">Qui...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/quickfix-developers">https://lists.sourceforge.net/lists/listinfo/quickfix-developers</a> <br> <br> <br> <br> </blockquote> <br> <br> </blockquote> </body> </html> |