[QFJ-178] Session scheduling/Start of day operation Created: 18/May/07  Updated: 24/May/07  Resolved: 24/May/07

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: 1.1.0
Fix Version/s: None

Type: Other Priority: Default
Reporter: Thomas Hügel Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None
Environment:

Linux



 Description   

Hello,

i played a bit around with the session scheduling feature; the settings "StartTime", "EndTime". I discovered (in the message logs), that Quickfix only suddenly stops the session when "EndTime" is reached, but does not send an logout to the remote FIX Engine.
When starting the session, quickfix initiates an login which is denied because the remote quickfix engine has reset the sequence numbers and sends me the message "Your session needs Start-of-day". I could set the ResetOnLogon flag, but this is not really an "start of day" operation; if i would logout during the day it would reset the sequence-numbers as well.
Why does quickfix don´t send an logout when the "EndTime" is reached ?. Ho would i implement a "Start-of-day" operation, only reset sequence numbers on "StartTime" ?.

Regards
Thomas



 Comments   
Comment by Steve Bate [ 19/May/07 ]

QFJ is designed to send a logout, if possible. When you say the session "stops", do you mean the connection is closed? One possibility is that the counterparty closed their connection at the same time and so the logout cannot be sent.

FIX sessions are usually either daily or weekly. The "start of day" is really start of session. I don't recognize the specific message you describe above, so I assume it's coming from the C++ QuickFIX. When configuring your session schedule, do not set the start and end day if you want daily sessions. Only set the start and end time (UTC time zone). If you set the start and end day, the session is a weekly session and startDay/startTime and endDay/endTime are used together to define the weekly schedule.

Generated at Sat Nov 23 11:33:22 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.