RE: [Quickfix-users] Re: Are sequences automatically reset
Brought to you by:
orenmnero
From: John H. <jhe...@bo...> - 2006-03-01 21:15:50
|
Hi Matthew, This is my bug. I've submitted a patch for it, which I'll send to you off the list. John -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Matthew Stone Sent: Wednesday, March 01, 2006 3:07 PM To: qui...@li... Subject: [Quickfix-users] Re: Are sequences automatically reset QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Looking at the code it appears the sequences should be reset, however mine are not. Here's the problem senerio: My app shuts down before FixEndTime then starts up the next day after FixStartTime. When the quickfix.SessionSchedule checks to see if isSameSession it returns true=20 because only the time fields are compared and not the date fields. It=20 doesn't check the date fields because the following condition is false: startDay < 0 && endDay < 0 startDay and endDay are 0 for me since I'm using daily sessions and not weekly.=20 If I left my app running outside the session time boundary everything=20 seems to be ok. So, my option as a workaround seems to be reseting=20 manually once a day. Matthew Matthew Stone wrote: > Does quickfix automatically reset sequences when a session changes? =20 > Yesterday I started up a session from FixStartTime=3D07:00:00 to=20 > FixEndTime=3D19:00:00 and my app finished the day with = MsgSeqNum=3D190. > Today, my app tried to log on with MsgSeqNum=3D191. I was expecting=20 > quickfix to start with a new seq. > > Thanks, > Matthew > > qfj beta 3 > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ Quickfix-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-users |