Thread: [Quickfix-users] Configuration failed: LogonTime must be between StartTime and EndTime
Brought to you by:
orenmnero
From: Francis G. <fr...@at...> - 2010-05-07 03:30:47
|
I am trying to setup two session per day for a connection (I must log off for a few minutes twice a day). I assume this means I need 12 sessions and here is the first one I set up. I have the following settings in the [Session] section: StartTime=21:05:00 EndTime=20:59:00 StartDay=wed EndDay=thu The error message is "Configuration failed: LogonTime must be between StartTime and EndTime" but there is no LogonTime setting in QuickFIX. What does this refer to and what is wrong with my settings? Thanks, Francis |
From: Gunter J. <ma...@je...> - 2010-05-10 17:59:35
|
Try StartDay=we EndDay=th Am 06.05.2010 um 21:35 schrieb Francis Gingras: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > I am trying to setup two session per day for a connection (I must log off for a few minutes twice a day). I assume this means I need 12 sessions and here is the first one I set up. > > I have the following settings in the [Session] section: > > StartTime=21:05:00 > EndTime=20:59:00 > StartDay=wed > EndDay=thu > > The error message is "Configuration failed: LogonTime must be between StartTime and EndTime" but there is no LogonTime setting in QuickFIX. What does this refer to and what is wrong with my settings? > > Thanks, > > Francis > ------------------------------------------------------------------------------ > > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users |
From: Alex V. <pa...@gm...> - 2010-06-18 04:40:18
|
Francis Gingras <francis@...> writes: > > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > > I am trying to setup two session per day for a connection (I must log off for a few minutes twice a day). I assume this means I need 12 sessions and here is the first one I set up. > I have the following settings in the [Session] section: > StartTime=21:05:00 > EndTime=20:59:00 > StartDay=wed > EndDay=thu > The error message is "Configuration failed: LogonTime must be between StartTime and EndTime" but there is no LogonTime setting in QuickFIX. What does this refer to and what is wrong with my settings? > Thanks, > Francis > > > ----------------------------------------------------------------------------- - > > > > _______________________________________________ > Quickfix-users mailing list > Quickfix-users@... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > They introduce 2 additional times settings that allow tune up qf applications i.e const char LOGON_TIME[] = "LogonTime"; const char LOGOUT_TIME[] = "LogoutTime"; where startTime < LogonTime < LogoutTime < endTime So to set properly any application you need to set startTime before application atart And logonTime when you need to start send messages. Here the example: # default settings for sessions [DEFAULT] ConnectionType=acceptor SenderCompID=XXXX SocketAcceptPort=1111 FileLogPath=. # session definition [SESSION] # inherit ConnectionType, ReconnectInterval and SenderCompID from default BeginString=FIX.4.0 TargetCompID=YYYY StartTime=00:42:01 LogonTime=00:50:01 LogoutTime=08:34:00 EndTime=08:40:00 HeartBtInt=30 UseDataDictionary=N FileStorePath=. |
From: Christopher K. <cc...@cc...> - 2011-04-21 20:30:33
Attachments:
Screenshot.png
|
Did you ever find a resolution to this problem? I've just upgraded from 1.12.4 to 1.13.3 and am running into a similar issue. Here's my config: [SESSION] StartTime=21:35:00 EndTime=22:00:00 StartDay=Sunday EndDay=Monday SessionQualifier=Mon [SESSION] StartTime=22:05:00 EndTime=22:00:00 StartDay=Monday EndDay=Tuesday SessionQualifier=Tue [SESSION] StartTime=22:05:00 EndTime=22:00:00 StartDay=Tuesday EndDay=Wednesday SessionQualifier=Wed [SESSION] StartTime=22:05:00 EndTime=22:00:00 StartDay=Wednesday EndDay=Thursday SessionQualifier=Thu [SESSION] StartTime=22:05:00 EndTime=22:00:00 StartDay=Thursday EndDay=Friday SessionQualifier=Fri And the error: quickfix.ConfigError: Configuration failed: LogonTime must be between StartTime and EndTime Perhaps there's a better way to configure for the session times in the attached table? On Thu, May 6, 2010 at 12:35 PM, Francis Gingras <fr...@at...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > I am trying to setup two session per day for a connection (I must log off for a few minutes twice a day). I assume this means I need 12 sessions and here is the first one I set up. > > I have the following settings in the [Session] section: > > StartTime=21:05:00 > EndTime=20:59:00 > StartDay=wed > EndDay=thu > > The error message is "Configuration failed: LogonTime must be between StartTime and EndTime" but there is no LogonTime setting in QuickFIX. What does this refer to and what is wrong with my settings? > > Thanks, > > Francis > ------------------------------------------------------------------------------ > > > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > |