[Quickfix-users] Re: Are sequences automatically reset
Brought to you by:
orenmnero
From: Matthew S. <ms...@bi...> - 2006-03-01 20:07:48
|
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 > |