Re: [Quickfix-developers] Simple beginner questions
Brought to you by:
orenmnero
From: Grant B. <gbi...@co...> - 2015-06-05 17:18:43
|
You do not need to manually construct a Logon message. Session-management messages (Logon, Logout, Heartbeat, etc) are constructed and sent automatically by the engine. Their contents are based on your config file. You really need to spend more time reading the docs and looking at the example programs. Docs: http://www.quickfixengine.org/quickfix/doc/html/ Examples: https://github.com/quickfix/quickfix/tree/master/examples The config file expects only specific configuration settings. You can't just throw any FIX field in there; those will be ignored. The list of valid settings is here: http://www.quickfixengine.org/quickfix/doc/html/configuration.html In some instances, you may need to insert extra fields in the Logon message (such as your RawData and RawDataLength params); you can do that via the toApp() callback. I don't have a handy C++ example, but here is a C# one that will be similar: https://github.com/connamara/quickfixn/wiki/User-FAQ I'm not sure about SenderSubID. Hei Chan says it is ignored in the config, and I don't see it in the list of config settings, so he may be right. That would surprise me, though, as I know some counterparties use it. It might just be missing from the config docs... -Grant On Thu, Jun 4, 2015 at 11:36 PM, <ja...@sk...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/ > > Hi all, > > I'm trying to send a Logon message to a server, but I require additional > values such as SenderSubID, RawDataLength, RawData and ResetSeqNumFlag. > I have included the SenderSubID and RawData(password) into the > config.cfg file but it doesn't work. May I know how can I resolve this > issue? > > > ------------------------------------------------------------------------------ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > -- Grant Birchmeier *Connamara Systems, LLC* *Made-To-Measure Trading Solutions.* Exactly what you need. No more. No less. http://connamara.com |