Re: [Quickfix-users] Are sequences automatically reset
Brought to you by:
orenmnero
From: atularora78 <atu...@rb...> - 2008-05-06 04:23:28
|
Hi John, I am using FIX4.4 not sure if this bug has been fixed in this version. I was having the same problem as listed by Matthew. The workaround I used is force the session re-set by sending nextTargetMsgSeqNum and nextSendertMsgSeqNum to 1 at the start of the trading day. Can you please let me know what is there in the patch you made and send me the same as well. Thanks in advance. Regards Atul John Hensley wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > 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 > because only the time fields are compared and not the date fields. It > 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. > > If I left my app running outside the session time boundary everything > seems to be ok. So, my option as a workaround seems to be reseting > manually once a day. > > Matthew > > Matthew Stone wrote: >> Does quickfix automatically reset sequences when a session changes? >> Yesterday I started up a session from FixStartTime=07:00:00 to >> FixEndTime=19:00:00 and my app finished the day with MsgSeqNum=190. >> Today, my app tried to log on with MsgSeqNum=191. I was expecting >> 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=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > > ------------------------------------------------------- > 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=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > -- View this message in context: http://www.nabble.com/Are-sequences-automatically-reset-tp3168341p17071569.html Sent from the QuickFIX - User mailing list archive at Nabble.com. |