RE: [Quickfix-developers] fix for nested repeating groups
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2003-04-11 18:44:41
|
Well, there is no reason that tag 301 needs to be before 296. The spec is very clear that tags need be in no specific order except for certain header fields, or if they belong to a repeating group. 301 falls under neither of these categories. Normally you can create your own message sorter on a per message basis, but this is easier if you are using C++ and the Java API isn't really powerful enough. The easiest quickest fix would probably be to modify the getOrderedPosition method and add the line: case FIELD::QuoteResponseLevel: return 4; This will give that field a special priority, ensuring it will be ordered first. Rob Kulseth <ro...@ri...> wrote: regarding my last posting. I have changed my code to use the derived group classes rather than the base Group class. This fixed most of the order problems, however there is one tag out of order according to my counterparty. tag 301 needs to be before 296. does this recent patch fix this? I have attached the message generated to show what I am talking about. If there is no fix for this, or is this is how it is supposed to work, could you please direct me to the C++ code where I can make changes on the tag order. By the way, my fix counterparty is running a Javelin Technologies fix engine and receiving a message like this completely breaks it down. I have only heard bad things about this very expensive fix engine. Just thought you might like to know that. 8=FIX.4.29=36535=i117=ME 296=1 <---tag 301 should be before tag 296 302=1 311=RBK 304=0 295=3 299=0 55=RBK 167=OPT 200=200304 201=0 202=20 132=0 133=0.05 134=1 135=1 60=20030411-10:19:16 336=W_AM1 299=1 55=RBK 167=OPT 200=200304 201=1 202=20 132=2.45 133=2.55 134=1 135=1 60=20030411-10:19:16 336=W_AM1 299=2 55=RBK 167=OPT 200=200304 201=0 202=22.5 132=0 133=0.05 134=1 135=1 60=20030411-10:19:16 336=W_AM1 301=1 <---this tag has to be before tag 296 10=181-----Original Message----- From: Oren Miller [mailto:ore...@ya...] Sent: Thursday, April 10, 2003 6:12 PM To: developers QuickFIX Subject: [Quickfix-developers] fix for nested repeating groups Just checked in a patch that fixes a problem with parsing nested repeating groups. If you plan on using nested repeating groups, you should get this. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/quickfix/quickfix/src/C%2b%2b/DataDictionary.cpp.diff?r1=1.13&r2=1.14 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/quickfix/quickfix/src/C%2b%2b/test/DataDictionaryTestCase.cpp.diff?r1=1.5&r2=1.6 --------------------------------- Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more --------------------------------- Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more |