[Quickfix-users] how to configure/add session fields
Brought to you by:
orenmnero
From: Dan G. <dua...@ya...> - 2008-02-29 19:58:41
|
Hi Everyone, I got one question about using Initiator. In configuration file, I use two fields for session settings, for enabling cancelling orders upon disconnecting and heartbeat duration of 20 seconds. CancelAllOnDisconnect=Y; HeartBtInt = 20; I create a ThreadedInitiator with FIX::SessionSettings: initiator = new FIX::ThreadedSocketInitiator(*this, storeFactory, settings, logFactory ); The problem, my counter-party expects tag 7001 is set to Y and tag 108 set to 20, for the same features. My setting above did not help at all. My questions are - 1. HeartBtInt and CancelAllOnDisconnect: are they standard tags, which are mapped to 108 and 7001? 2. if NOT, how can i set Tag 7001 and 108 to my session settings in C++? In fact, as a separate matter, how can i add a non-standard session field with QuickFIX in C++? Anyone can help? thanks, Dan |