Re: [Quickfix-developers] Sequence Reset?
Brought to you by:
orenmnero
From: Clebson D. <cde...@gm...> - 2011-05-30 19:05:30
|
great, just add starday and endday configuration. cheers, Clebson On Mon, May 30, 2011 at 4:03 PM, Hei Chan <str...@ya...> wrote: > Here you go :) > [DEFAULT] > ConnectionType=initiator > ReconnectInterval=3 > SenderCompID=[senderComp] > FileLogPath=/var/log/ > FileStorePath=/var/log/ > PersistMessages=N > SocketNodelay=Y > MillisecondsInTimeStamp=Y > > [SESSION] > BeginString=FIX.4.2 > TargetCompID=[targetComp] > > StartTime=00:00:00 > EndTime=00:00:00 > ResetOnLogon=N > ResetOnLogout=N > ResetOnDisconnect=N > HeartBtInt=30 > SocketConnectPort=[port] > SocketConnectHost=[ip] > DataDictionary=[dictionary] > CheckLatency=N > > > > ------------------------------ > *From:* Clebson Derivan <cde...@gm...> > *To:* Hei Chan <str...@ya...> > *Cc:* qui...@li... > *Sent:* Mon, May 30, 2011 11:22:02 AM > > *Subject:* Re: [Quickfix-developers] Sequence Reset? > > your session time is expiring as Djalma told. please show us the [default] > and your [senderComp] session configurations. > > On Mon, May 30, 2011 at 3:03 PM, Hei Chan <str...@ya...>wrote: > >> Hi, >> >> Thanks for your reply. >> >> As you can see, the first 2 were the heartbeat before I restarted the >> application. After I restarted the application, QuickFIX decided to restart >> the sequence. >> >> >> 8=FIX.4.2^A9=86^A35=0^A34=11697^A49=[senderComp]^A50=1^A52=20110526-22:51:36.959^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A10=159^A >> >> 8=FIX.4.2^A9=96^A35=0^A34=22522^A369=11697^A52=20110526-22:51:37.215^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A10=112^A >> >> 8=FIX.4.2^A9=158^A35=A^A34=1^A49=[senderComp]^A50=1^A52=20110527-07:24:05.770^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A95=3^A96=5E8^A98=0^A108=30^A1603=myAppSysName^A1604=1.168128^A1605=myAppSysVendor^A10=134^A >> 8=FIX.4.2^A9=199^A35=5^A34=22523^A369=11697^A52=20110527-07:24:07.293^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A58=Sequence >> number received lower than expected. Expected [11698] Received 1. Logout >> forced.^A789=11698^A10=156^A >> >> >> ------------------------------ >> *From:* Clebson Derivan <cde...@gm...> >> *To:* Hei Chan <str...@ya...> >> *Cc:* Djalma Rosa dos Santos Filho <drs...@gm...>; >> qui...@li... >> *Sent:* Mon, May 30, 2011 10:41:35 AM >> >> *Subject:* Re: [Quickfix-developers] Sequence Reset? >> >> post the logon messages please. both the resquest and the response (: >> >> On Mon, May 30, 2011 at 2:35 PM, Hei Chan <str...@ya...>wrote: >> >>> QuickFIX Documentation: >>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>> QuickFIX Support: http://www.quickfixengine.org/services.html >>> >>> Hi, >>> >>> Thanks for your reply. >>> I do have a "week long" setting: >>> StartTime=00:00:00 >>> EndTime=00:00:00 >>> >>> StartDay and EndDay are not set. >>> >>> So any other suggestion? >>> >>> Thanks in advance. >>> >>> >>> Cheers, >>> Hei >>> >>> >>> >>> ----- Original Message ---- >>> From: Djalma Rosa dos Santos Filho <drs...@gm...> >>> To: qui...@li... >>> Sent: Sun, May 29, 2011 8:32:51 AM >>> Subject: Re: [Quickfix-developers] Sequence Reset? >>> >>> QuickFIX Documentation: >>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>> QuickFIX Support: http://www.quickfixengine.org/services.html >>> >>> Hi Hei, >>> >>> If you're not using week long sessions, the sequence is reset every >>> day, according to StartTime and EndTime configuration. >>> Quickfix always verifies the session's Creation Time at startup in the >>> *.session file to know whether it should start another session or not. >>> >>> On Fri, May 27, 2011 at 4:42 AM, Hei Chan <str...@ya...> >>> wrote: >>> > QuickFIX Documentation: >>> >http://www.quickfixengine.org/quickfix/doc/html/index.html >>> > QuickFIX Support: http://www.quickfixengine.org/services.html >>> > >>> > Hi, >>> > >>> > For some reasons, when I restarted my application, QuickFIX started >>> sending a >>> > logon message with sequence #=1. >>> > However, according to FIX's log, I see that before I restarted, the >>> last >>> > outgoing sequence # was 1000+. >>> > And my settings are: >>> > ResetOnLogon=N >>> > ResetOnLogout=N >>> > ResetOnDisconnect=N >>> > >>> > I don't understand why QuickFIX would reset the sequence. >>> > >>> > I am using FileLogStore to keep the sequence #. My QuickFIX/C++ >>> version is >>> > 1.12.4. >>> > >>> > Any idea? >>> > >>> > Thanks in advance. >>> > >>> > >>> > Cheers, >>> > Hei >>> > >>> > >>> ------------------------------------------------------------------------------ >>> > vRanger cuts backup time in half-while increasing security. >>> > With the market-leading solution for virtual backup and recovery, >>> > you get blazing-fast, flexible, and affordable data protection. >>> > Download your free trial now. >>> > http://p.sf.net/sfu/quest-d2dcopy1 >>> > _______________________________________________ >>> > Quickfix-developers mailing list >>> > Qui...@li... >>> > https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>> > >>> >>> >>> ------------------------------------------------------------------------------ >>> vRanger cuts backup time in half-while increasing security. >>> With the market-leading solution for virtual backup and recovery, >>> you get blazing-fast, flexible, and affordable data protection. >>> Download your free trial now. >>> http://p.sf.net/sfu/quest-d2dcopy1 >>> _______________________________________________ >>> Quickfix-developers mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> vRanger cuts backup time in half-while increasing security. >>> With the market-leading solution for virtual backup and recovery, >>> you get blazing-fast, flexible, and affordable data protection. >>> Download your free trial now. >>> http://p.sf.net/sfu/quest-d2dcopy1 >>> _______________________________________________ >>> Quickfix-developers mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>> >> >> > |