|
From: Christoph J. <chr...@ma...> - 2018-04-06 22:00:51
|
Hi, strange, the generated code is indeed missing that group (along with group 1334 NoUnderlyingLegSecurityAltID). All other groups of the NoLegs group seem to be there: case quickfix.field.NoLegs.FIELD: return new quickfix.fix50sp2.TradeCaptureReport.NoLegs(); case quickfix.field.NoLegStipulations.FIELD: return new quickfix.fix50sp2.TradeCaptureReport.NoLegs.NoLegStipulations(); case quickfix.field.NoNestedPartyIDs.FIELD: return new quickfix.fix50sp2.TradeCaptureReport.NoLegs.NoNestedPartyIDs(); case quickfix.field.NoNestedPartySubIDs.FIELD: return new quickfix.fix50sp2.TradeCaptureReport.NoLegs.NoNestedPartyIDs.NoNestedPartySubIDs(); case quickfix.field.NoOfLegUnderlyings.FIELD: return new quickfix.fix50sp2.TradeCaptureReport.NoLegs.NoOfLegUnderlyings(); Groups NoUnderlyingLegSecurityAltID and NoLegSecurityAltID are missing. Seems to be an error with the code generation but at first glance I cannot tell why some groupsare working and others not. Chris. On 06/04/18 22:36, eri...@th... wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > > Here it is, somewhat distilled: > > > @Test > public void yesItisMissing() { > > MessageFactory factory = new quickfix.fix50sp2.MessageFactory(); > > Group goodGroup = factory.create(FixVersions.FIX50SP2, "AE", 1120); > > assertNotNull(goodGroup); > > Group badGroup = factory.create(FixVersions.FIX50SP2, "AE", 604); > > assertNull(badGroup); > > } > > > > > > >> On Apr 6, 2018, at 15:12, Colin DuPlantis <co...@ma... >> <mailto:co...@ma...>> wrote: >> >> QuickFIX/J Documentation: >> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.quickfixj.org_documentation_&d=DwIGaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=o7YI_4EZ5O7Q26HQ0aGkeMo3ueGrutp1y6y7ced_zAA&m=ihmYxWMI9R8y4xNQHKZ2zdacr6LNJA7uZ1N5xMiyzOA&s=arxbs1eiCyw_yg7yfUMPGVP3ZNKnFenCEMeytWvqIIM&e= >> QuickFIX/J Support: https://urldefense.proofpoint.com/v2/url?u=http- >> <https://urldefense.proofpoint.com/v2/url?u=http->3A__www.quickfixj.org_support_&d=DwIGaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=o7YI_4EZ5O7Q26HQ0aGkeMo3ueGrutp1y6y7ced_zAA&m=ihmYxWMI9R8y4xNQHKZ2zdacr6LNJA7uZ1N5xMiyzOA&s=EqFUknfI6RI5HTV4qrrbCNiLBxBsYMsHt9HO5qWw1xg&e= >> >> >> Can you give us a code snippet? >> >> >> On 04/06/2018 09:09 AM, eri...@th... >> <mailto:eri...@th...> wrote: >>> QuickFIX/J Documentation: >>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.quickfixj.org_documentation_&d=DwIGaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=o7YI_4EZ5O7Q26HQ0aGkeMo3ueGrutp1y6y7ced_zAA&m=ihmYxWMI9R8y4xNQHKZ2zdacr6LNJA7uZ1N5xMiyzOA&s=arxbs1eiCyw_yg7yfUMPGVP3ZNKnFenCEMeytWvqIIM&e= >>> QuickFIX/J Support: https://urldefense.proofpoint.com/v2/url?u=http- >>> <https://urldefense.proofpoint.com/v2/url?u=http->3A__www.quickfixj.org_support_&d=DwIGaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=o7YI_4EZ5O7Q26HQ0aGkeMo3ueGrutp1y6y7ced_zAA&m=ihmYxWMI9R8y4xNQHKZ2zdacr6LNJA7uZ1N5xMiyzOA&s=EqFUknfI6RI5HTV4qrrbCNiLBxBsYMsHt9HO5qWw1xg&e= >>> >>> >>> I am trying to process a TradeCaptureReport (AE) message in FIX 5.0SP2 >>> >>> Based on the spec, one of the optional components is TrdInstrmtLegGrp. >>> >>> Looking the dictionary In see it there in the message definition: >>> >>> (It’s huge, so I am not including the entire message.) >>> >>> <component name="TrdInstrmtLegGrp" required="N”/> >>> >>> The component is defined with an InstrumentLeg: >>> >>> <component name="InstrumentLeg" required="N”/> <- I’m interested in this guy >>> >>> Which has a LegSecAltIDGrp: >>> >>> <component name="LegSecAltIDGrp" required="N"/> >>> >>> Which is this: >>> >>> <component name="LegSecAltIDGrp"> >>> <group name="NoLegSecurityAltID" required="N"> >>> <field name="LegSecurityAltID" required="N"/> >>> <field name="LegSecurityAltIDSource" required="N"/> >>> </group> >>> </component> >>> >>> With these fields: >>> >>> <field number="604" name="NoLegSecurityAltID" type="NUMINGROUP"/> >>> <field number="605" name="LegSecurityAltID" type="STRING"/> >>> <field number="606" name="LegSecurityAltIDSource" type="STRING"/> >>> >>> All of this agrees with the spec, of course. >>> >>> But when I try to create a NoLegSecurityAltID group, MessageFactory returns a null. >>> >>> When I ran my code in the debugger, LegSecAltIDGrp does not seem to be defined anywhere. >>> >>> Am I missing something? -- Christoph John Development & Support T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 D-52066 Aachen www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |