In Session.cpp file, under Session::Session constructor function, the
following code
if( !checkSessionTime( UtcTimeStamp() ) )
reset();
causes the seq nums to be reset. We can either make this configurable or
don't reset sequence numbers (which essentially means, state is cleaned
only outside of QF).
-----Original Message-----
From: qui...@li...
[mailto:qui...@li...] On Behalf Of
Brendan B. Boerner
Sent: Wednesday, October 27, 2004 11:06 AM
To: sha...@in...; qui...@li...
Subject: RE: [Quickfix-developers] Multiple sessions with different
start and end times
QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX FAQ:
http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ
QuickFIX Support: http://www.quickfixengine.org/services.html
On Mon, 25 Oct 2004 "Shamanth" <sha...@in...> wrote:
Shamanth,
The way I handled this was to configure QF for a single session
beginning at the start of the 1st session and ending at the end of the
last session. I started and stopped each 'interior' session via
Application::run() which would detect the end of a session and an outer
loop which would detect the start of a session and start QF.
Regards,
Brendan
> I am using quickfix 1.8
> =20
> I have a provider who has some complex session timing settings. within
> a = day, they start and stop the sessions at multiple times, but reset
> the = sequence number only once. And also they are down on weekends.
> =20 I wanted to have multiple sessions configured for this provider
> with the = same SenderCompID, TargetCompID and BeginString, But each
> of these = sessions would have different starttime and endtime.
> =20
> Problem: Sequence numbers get reset everytime any of the session's =
> starttime/endtime is crossed. Is it possible to configure quickfix not
=
> to reset the sequence numbers based on starttime and endtime.
> =20
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld
Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Quickfix-developers mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
|