|
From: <eri...@th...> - 2018-04-06 20:36:42
|
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-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-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?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwIGaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=o7YI_4EZ5O7Q26HQ0aGkeMo3ueGrutp1y6y7ced_zAA&m=ihmYxWMI9R8y4xNQHKZ2zdacr6LNJA7uZ1N5xMiyzOA&s=OWayvgdXT1pbdk7l-Qq2N5tdAQrOjfpEhacQXDpUmyI&e= _______________________________________________
Quickfixj-users mailing list
Qui...@li...<mailto:Qui...@li...>
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_quickfixj-2Dusers&d=DwIGaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=o7YI_4EZ5O7Q26HQ0aGkeMo3ueGrutp1y6y7ced_zAA&m=ihmYxWMI9R8y4xNQHKZ2zdacr6LNJA7uZ1N5xMiyzOA&s=TDELiyOML8_ptQM_klvYY87PZ5XVUdcYP7Ycw9aQ-Bs&e=
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwIGaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=o7YI_4EZ5O7Q26HQ0aGkeMo3ueGrutp1y6y7ced_zAA&m=ihmYxWMI9R8y4xNQHKZ2zdacr6LNJA7uZ1N5xMiyzOA&s=OWayvgdXT1pbdk7l-Qq2N5tdAQrOjfpEhacQXDpUmyI&e= _______________________________________________
Quickfixj-users mailing list
Qui...@li...<mailto:Qui...@li...>
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_quickfixj-2Dusers&d=DwIGaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=o7YI_4EZ5O7Q26HQ0aGkeMo3ueGrutp1y6y7ced_zAA&m=ihmYxWMI9R8y4xNQHKZ2zdacr6LNJA7uZ1N5xMiyzOA&s=TDELiyOML8_ptQM_klvYY87PZ5XVUdcYP7Ycw9aQ-Bs&e=
|