Re: [Quickfix-developers] Re peating Group adding to PositionReport message
Brought to you by:
orenmnero
From: Draupnir G. - L. <dra...@li...> - 2010-01-28 02:27:00
|
Add somthing similar to this to your code: QuickFix44.PositionReport.SomeGroup grp = new QuickFix44.PositionReport.SomeGroup(); grp.setField(new QuickFix.ContraBroker("SGA")); posReport.addGroup(grp); br, Draupnir On Wed, Jan 27, 2010 at 23:21, gvanto <gv...@gm...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Was wondering if anyone had tips on creating repeating group message in > relation to short positions for a position report type QuickFix (.Net) > object: > > http://btobits.com/fixopaedia/fixdic50/message_Position_Report_AP_.html > > [code] > QuickFix44.PositionReport posReport = new QuickFix44.PositionReport( > new PosMaintRptID("TEST_Rpt_ID"), > new PosReqResult(2), //no. of position reports > new ClearingBusinessDate("20100122"), > new Account("SUSQ"), > new > AccountType(AccountType.ACCOUNT_IS_HOUSE_TRADER_AND_IS_CROSS_MARGINED), > new SettlPrice(10.0), > new SettlPriceType(SettlPriceType.FINAL), > new PriorSettlPrice(10.0) > ); > [\code] > > I need to now add some position information to this posReport object and I > believe it has to be done using Groups however not quite sure how to do it > (what to add to the group, etc) . > > Any help would be greatly appreciated, > gvanto > -- > View this message in context: > http://old.nabble.com/Repeating-Group-adding-to-PositionReport-message-tp27334593p27334593.html > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |