<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: 'Cambria Math'; } @font-face { font-family: Calibri; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; } a:link, span.MsoHyperlink { color: blue; text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; } span.EmailStyle17 { font-family: Arial, sans-serif; color: black; font-weight: normal; font-style: normal; } .MsoChpDefault { font-family: Calibri, sans-serif; } @page WordSection1 { margin: 72pt; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>I am having trouble automatically logging out at the end of the day and resetting the sequence numbers. I thought this all happened automatically at the `EndTime', or do I need to handle this in code?<br>
</p>
<p>Here is my initiator.cfg:<br>
</p>
<div># default settings for sessions</div>
<div>[DEFAULT]</div>
<div>FileStorePath=store</div>
<div>FileLogPath=log<br>
</div>
<div>ConnectionType=initiator</div>
<div>ReconnectInterval=10</div>
<div>SenderCompID=XXX<br>
</div>
<div>StartDay=monday<br>
</div>
<div>EndDay=friday</div>
<div><br>
</div>
<div>[SESSION]</div>
<div>BeginString=FIX.4.2</div>
<div>TargetCompID=YYY<br>
</div>
<div>StartTime=06:00:00</div>
<div>EndTime=19:00:00</div>
<div>HeartBtInt=30<br>
</div>
<div>##LIVE</div>
<div>SocketConnectPort=9xxx<br>
</div>
<div>SocketConnectHost=1xx.xx.xxx.143<br>
</div>
<div>DataDictionary=../../spec/fix/FIX42.xml<br>
</div>
<div><br>
</div>
<div>Here is an extract from *.event.current.log: (nothing at 7pm, first messages around this time)<br>
</div>
<div>
<div>20141009-19:10:12.862 : Received logout request</div>
<div>20141009-19:10:12.863 : Sending logout response</div>
<div>20141009-19:10:12.864 : Session FIX.4.2:XXX->YYY disconnecting: Received logout request</div>
<div>20141009-19:10:22.855 : Connecting to <span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">
1xx</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">.xx</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">.xxx</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">.143</span>
on port 9xxx<br>
</div>
<div>20141009-19:10:22.863 : Connection succeeded</div>
<div>20141009-19:10:22.863 : Initiated logon request</div>
<div>20141009-19:10:22.902 : Verify failed: MsgSeqNum too low, expecting 10107 but received 1<br>
</div>
<br>
</div>
<div>The FIX messages immediately before and during/immediately after 19:00:00 are just the usual heartbeats, nothing more.<br>
</div>
<div><br>
</div>
<div>Thanks,<br>
</div>
<p><br>
</p>
</body>
</html>