|
From: Colin D. <co...@ma...> - 2018-01-23 14:04:37
|
It should be 'StartDay' and 'EndDay' instead of 'StartDate' and 'EndDate', I believe. Your session may be resetting because your local engine thinks it's using daily sessions. On 01/23/2018 04:26 AM, Николай Симонов wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > > Hello! > Hello! > I have next settings: > [DEFAULT] > ConnectionType=initiator > ReconnectInterval=5 > FileStorePath=store > FileLogPath=log > StartDate=sun > EndDate=fri > ResetOnLogout=N > ResetOnLogon=N > ResetOnDisconnect=N > ResetOnError=N > RefreshOnLogon=Y > ... > > [SESSION] > StartTime=21:05:00 > EndTime=20:55:00 > BeginString=FIX.4.3 > HeartBtInt=30 > ... > > On the Sunday it has reset sequence at 21:05. It's ok. > By the server side a sequence number also reseting every Sunday at 21:05. > > But. > I have reset sequience on the monday at 21:05. > I see next: > 20180122-21:05:01.219 : Connecting to 0.0.0.0 on port 21003 > 20180122-21:05:01.221 : Initiated logon request > 20180122-21:05:01.355 : Socket Error: Соединение сброшено другой стороной > 20180122-21:05:01.355 : Disconnecting > 20180122-21:05:06.042 : Connecting to 0.0.0.0 on port 21003 > 20180122-21:05:06.043 : Initiated logon request > 20180122-21:05:06.172 : Socket Error: Соединение сброшено другой стороной > 20180122-21:05:06.172 : Disconnecting > ... > 20180122-22:08:11.768 : MsgSeqNum too high, expecting 748 but received > 3502 > 20180122-22:08:11.769 : Sent ResendRequest FROM: 748 TO: 0 > 20180122-22:08:11.769 : Received ResendRequest FROM: 2251 TO: 0 > 20180122-22:08:11.770 : Sent SequenceReset TO: 2255 > 20180122-22:08:11.813 : Received SequenceReset FROM: 748 TO: 1129 > 20180122-22:08:11.989 : Received SequenceReset FROM: 1131 TO: 1331 > ... > > in messages.current.log > 20180122-21:05:01.221 : > 8=FIX.4.39=8135=A34=149=OME02_00_STP52=20180122-21:05:01.22156=NTPRO98=0108=301408=1.310=116 > > 20180122-21:05:06.043 : > 8=FIX.4.39=8135=A34=249=OME02_00_STP52=20180122-21:05:06.04256=NTPRO98=0108=301408=1.310=123 > > .... > 8=FIX.4.39=011635=549=XXX56=YYYY34=275552=20180122-21:06:09.04758=Incoming > SeqNum = 12 is less than expected = 225110=081 > > > And then previous messages is getting again. > Why? How I can disable reset sequence on the initiator side? > I want to see 3502 seq number or less, but not less then it was before > previous disconnect. > > С уважением, > Николай Симонов > > logo-for-mailservice > > > > andagar.ru <http://andagar.ru/> | Коммерческий директор > tel: +7 (495) 104-30-04 > cell: +7 (926) 625-84-55 > 141078, г. Королев, проспект Королева, 5В, офис 215 > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Colin DuPlantis Chief Architect, Marketcetera Download, Run, Trade 888.868.4884 +1.541.306.6556 http://www.marketcetera.org |