Re: [Quickfix-developers] re quest missed messages
Brought to you by:
orenmnero
From: Pierre El-k. <pi...@al...> - 2011-06-06 08:03:55
|
Hi Well, that is what exactly happens. When you have a daily session the Sequence number will be rest each new day on the starttime and you will be loge doff on the end time. On during the session time the sequence number will be incremented on each message, where the Quickfix engine will take care of the gap fill automatically. If you set RestOnLogon = y then what happens is that your QF engine, This has no side effect on the first log but, will rest the Sequence number on the re-logon where apparently the Data supplier is not resetting the sequence number and there by they are expecting a higher sequence number and not "0". When getting this message " MsgSeqNum too low, expecting ..." then your partner is getting a lower sequence number than expected ( we do agree on that) and this happens on the re-logon, then what you could do is just set you sequence number as the suggest in there rest of their message. Regards Pierre -----Oprindelig meddelelse----- Fra: rallykarro [mailto:rik...@kt...] Sendt: 6. juni 2011 09:29 Til: qui...@li... Emne: Re: [Quickfix-developers] re quest missed messages QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hi, Ok, so quickfixj will reset the sequence number each time it do a clean login at start of my daily session? If I set RestOnLogon = N as suggested, how can I make quickfixj to automatically read all missing gaps and sort out any inconsistency in diffrence of seqno, I simply get "MsgSeqNum too low, expecting ..." which I was hoping quickfix would/could sort out automatically by reading all the missing gaps and continue from there. I am looking for a setup where a seqno reset is made each time quickfixj do a clean login at start of day of my daily session BUT also can handle any failures intraday if missing any messages during a downtime/connection loss/reconnect etc. Basically, how can I make quickfixj to automatically read missed gaps when getting "MsgSeqNum too low, expecting ..."? Thanks Pierre El-khoury wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi > You should set RestOnLogon = N and make you session to daily > sessions by setting the starttime and stoptime this will make your > session to daily session and rest your sequence number to 1 every > moringing. Do not set the "startday" and "endday" otherwise your session will be a weekly session. > > > > > -- View this message in context: http://old.nabble.com/request-missed-messages-tp31758728p31781129.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |