Re: [Quickfix-developers] Adding fields to the message
Brought to you by:
orenmnero
From: Andrei G. <an...@gm...> - 2009-06-17 01:25:03
|
On Tue, Jun 16, 2009 at 5:06 PM, amit khandelwal<kha...@gm...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > I am new to quickfix and I am currently exploring it to see if I can use it in my project. My use case is as follows. > > 1. Create a session > 2. Send a logon request > 3. Send a market data request > 4. Receive market data and log it to a file > > I have modified the tradeClient examples to send the market data request. In the current version of the Logon.h it doesn't allow me to set the password. I have modified the code of Logon.h to have an extra method to set the password. Now, generateLogon method of session is creates a Logon message. It doesn't set the password field. I can modify that code also and make it set the password. However, I am wondering if there is a mechanism by which I don't have to modify the code but just give it some sort of a dictionary to say here the fields that should be populated for a given message. This is considered "application logic" code, thus it is not built in QuickFIX. |