{{Quickfixn}} Parsing groups...
James Riehl
pete.riehl at gmail.com
Wed Feb 20 11:03:32 PST 2013
I've got the following QuickFix.FIX44.TradeCaptureReport.NoSidesGroup() coming through in my trade capture report.
with the appropriate Parties groups.
552=1
54=1
37=13028003
11=131572154
453=7
448=bno
447=D
452=11
448=A Of M, LP
447=D
452=13
448=9222
447=D
452=56
448=8558
447=D
452=4
448=6C020A97
447=D
452=51
448=ML
447=D
452=60
448=U
447=D
452=54
I'm able to parse it like this
var noSidesGroup =newQuickFix.FIX44.TradeCaptureReport.NoSidesGroup();
noSidesGroup = tcr.GetGroup(1, Tags.NoSides) asQuickFix.FIX44.TradeCaptureReport.NoSidesGroup;
int i = noSidesGroup.GetInt(Tags.NoPartyIDs);
var noPartyIDsGrp =newQuickFix.FIX44.TradeCaptureReport.NoSidesGroup.NoPartyIDsGroup();
for (int grpIndex = 1; grpIndex <= noSidesGroup.GetInt(Tags.NoPartyIDs); grpIndex += 1)
{
var p = noSidesGroup.GetGroup(grpIndex,Tags.NoPartyIDs); // p is a group w/ the appropriate
noPartyIDsGrp = noSidesGroup.GetGroup(grpIndex,Tags.NoPartyIDs) as
QuickFix.FIX44.TradeCaptureReport.NoSidesGroup.NoPartyIDsGroup;
}
However, when I look at the noPartyIDsGrp value, it's null. the p variable has the 448=bno 447=D 452=11 as you'd expect…
How can I get a populated NoPartyIDsGroup object from this?
I've tried using the examples listed here.
http://www.quickfixn.org/tutorial/repeating-groups
thanks!
Sent from my iPhone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20130220/7c38210f/attachment-0001.htm>
More information about the Quickfixn
mailing list