Re: [Quickfix-developers] Re peating Group of Tags
Brought to you by:
orenmnero
From: gtsafas <gt...@rb...> - 2010-04-05 18:58:09
|
Oren Miller wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > You will need to add the custom fields to the fields section in the data > dictionary, and the new group should be added to the appropriate > message. Doing this should allow you to accept the messages. Once the > messages are being passed to you, you can use the getGroup methods to > pull them out where field 10000 is the group identifier. > > --oren > >> -------- Original Message -------- >> Subject: [Quickfix-developers] Re peating Group of Tags >> From: gtsafas <gt...@rb...> >> Date: Mon, April 05, 2010 11:07 am >> To: qui...@li... >> >> >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> Hello all. We have have created a new connection today and the other side >> will send us repeating groups of custom tags. This is based off charges >> in >> their spec. For example they will send me custom tags >> >> 10000=4 this represents 4 charges >> >> 10001=1 >> 10002=USD >> 10003=GT >> >> 10001=44 >> 10002=EU >> 10003=XA >> >> 10001=14 >> 10002=USD >> 10003=BA >> >> >> This is all received in one single message. Is there a method built into >> QuickFIX To handle such a thing? Or does anyone have any suggestions they >> may be able to offer? >> -- >> View this message in context: >> http://old.nabble.com/Repeating-Group-of-Tags-tp28141592p28141592.html >> Sent from the QuickFIX - Dev mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > Oren I moved this to the Original Thread. Thank you, I ended up editing my fix42/ExecutionReport.h Adding the names using namespace FIX{ USER_DEFINE_INT(NoRep,10000); USER_DEFINE_STRING(CName,10001); USER_DEFINE_STRING(CType,10002); } then I added my class class NewGroup: public FIX::Group{ public: NewGroup() : FIX::Group(10000,10001,FIX::message_order(10001,10002,0)) {} FIELD_SET(*this, FIX::CName); FIELD_SET(*this, FIX::CType); }; I will migrate this to my app after done testing. -- View this message in context: http://old.nabble.com/Repeating-Group-of-Tags-tp28141592p28143551.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |