Re: [Quickfix-developers] Repeating group help - field tags ordered?
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-09-29 00:37:17
|
You need to pass the field order into the constructor of the group, =20 like so. FIX::Group group( 6971, 6985, FIX::message_order(6986, 6972, 6988, =20 6989, 6987, 6973, 0) ); It's easiest if you make your own group class and have your default =20 constructor do this. See the standard repeating group classes that =20 come with QuickFIX for an example. --oren On Sep 28, 2006, at 5:40 PM, Andrew Culross wrote: > It appears to me no matter what order I put field tags into a =20 > repeating group, when I add the group to the message the field tags =20= > get sorted in numerical order. I believe this is causing my =20 > execution report to be rejected. Is there any way to specify that =20 > the group should not be reordered but processed in the way that I =20 > added the fields? > > 6971=3D2=01 > > 6972=3D10=016973=3D20060918=016985=3D1=016986=3DEUR=016987=3D1.2739=0169= 88=3DUSD=016989=3D12.74=01 > 6972=3D10=016973=3D20060925=016985=3D2=016986=3DEUR=016987=3D1.27382=016= 988=3DUSD=016989=3D12.74 > > I need (and put the fields into the group in this order) > > 6971=3D2=01 > > 6985=3D1=016986=3DEUR=016972=3D10=016988=3DUSD=016989=3D12.74=016987=3D1= .2739=016973=3D20060918=01 > 6985=3D2=016986=3DEUR=016972=3D10=016988=3DUSD=016989=3D12.74=016987=3D1= .27382=016973=3D20060925 |