<div dir="ltr">In general, if the daily session reset is occurring at a specific agreed-upon time, it is recommended to set the StartTime and EndTime options in your SessionSettings.  These default to UTC, but you can either set UseLocalTime=Y or use the TimeZone option to override that (be careful here if you and your broker observe different rules for daylight saving time).  If you don't set StartTime/EndTime, qf/n doesn't know when to set seqnums back to 1.  ResetOnLogon and friends are way to treat every logout/logon as a reset back to seqnum 1, but I recommended avoiding that unless you are really sure you want it.  Using those options thwarts FIX protocol's ability to fulfill resend requests.<div><br></div><div>If you can post your session settings, message log, and event log, we may be able to figure out more about exactly what happened in your case.<br></div><div><br></div><div>Config details here: <a href="http://quickfixn.org/tutorial/configuration.html">http://quickfixn.org/tutorial/configuration.html</a></div><div>If you are using an older version of qf/n, you may want to upgrade to the latest: <a href="http://quickfixn.s3.amazonaws.com/quickfixn-v1.7.0.zip">http://quickfixn.s3.amazonaws.com/quickfixn-v1.7.0.zip</a></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">--</font></div><font face="arial, helvetica, sans-serif">Mike Gatny<br>Connamara Systems, LLC</font></div></div></div>
<br><div class="gmail_quote">On Wed, Jul 13, 2016 at 4:34 AM, Jeff Stryer <span dir="ltr"><<a href="mailto:jeff@alphafinhk.com" target="_blank">jeff@alphafinhk.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Our broker wants to do a daily reset.  Initially, we were using ResetOnLogon=Y/ResetOnLogoff=N.<br>
It was ok until we had a mid-day restart and then they were continually getting 34=A, 35=1 mid day<br>
and rejecting it and it was bouncing until it had to be manually reset.<br>
<br>
We tried setting Logon=N/Logoff=Y, thinking that it would reset at Logoff and then still be expecting 1 on<br>
Logon the next day but it was expecting a large number and got back 1 from the broker and logged off.<br>
<br>
What am I missing here?  Did this happen because the broker was not resetting on Logoff or something<br>
else?  Clearly I don't completely understand the protocol and haven't been able to find a good<br>
explanation yet online.  Any help appreciated.<br>
<br>
Thanks,<br>
Jeff<br>
<br>
_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</blockquote></div><br></div>