[Quickfix-developers] Adding fields to the message
Brought to you by:
orenmnero
From: amit k. <kha...@gm...> - 2009-06-16 20:06:22
|
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. TIA. Please advise. Cheers, Amit Khandelwal -- ------------------------------------------------------------------- Ph : (973)-896-8208 Email: kha...@gm... Web: http://khandelwal.amit.googlepages.com/home ------------------------------------------------------------------- |