bhavuk...@utradesolutions.com
unread,Apr 3, 2017, 3:05:51 AM4/3/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fix8 support
Hi,
I am facing a problem getting the value for the tags in my FIX message.
I am making a generic fix8 server to cater multiple FIX8 client For Eg: 1st User can have 55 tag as symbol, while 2nd user can have any custom tag 9001 as symbol.
configurations.
Problem is: In a particular message(say NewOrderSingle) fields can differ according to the configuration provided by the user.
But I have a single fix8 server to tackle and serve all flavours of that particular message. To handle the message tags, I have mapped the message tags to different users.
To decode the message, I can not use the get<data_type, tag_no>() method of MessageBase Class because during compile time I don't know what tag no will be received in the incoming FIX message. This info is known to me at run time only.
I tried to decode the message using some diff method.
I tried to get all the fields present in the message and iterate over them getting their tags and values. I am using fields_begin() and fields_end() methods of Message Base class to get iterator of Fields(std::map<unsigned short, FieldBase*>).
How can I get value of a particular field by FieldBase class object.
Kindly suggest some method to do the same.
---
Thanks
Bhavuk Samrat