>From the documentation:
// create a market data message
*FIX42::MarketDataSnapshotFullRefresh message(FIX::Symbol("QF"));*
// repeating group in the form of MessageName::NoField
*FIX42::MarketDataSnapshotFullRefresh::NoMDEntries group;
group.set(FIX::MDEntryType('0'));
group.set(FIX::MDEntryPx(12.32));
group.set(FIX::MDEntrySize(100));
group.set(FIX::OrderID("ORDERID"));
message.addGroup(group);*
// no need to create a new group class if we are reusing the fields
*group.set(FIX::MDEntryType('1'));
group.set(FIX::MDEntryPx(12.32));
group.set(FIX::MDEntrySize(100));
group.set(FIX::OrderID("ORDERID"));
message.addGroup(group);*
*What's not clear?*
*
Some code might be helpful.
*
--
Kenny Stone
Connamara Systems, LLC
On Wed, Jan 27, 2010 at 5:06 PM, Gert Van Tonder <gv...@go...>wrote:
> QuickFIX Documentation:
> http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
>
> If anyone has successfully created a PositionReport using QuickFix I would
> be very grateful for help on this matter.
>
> I'm having alot of trouble mapping this:
> http://btobits.com/fixopaedia/fixdic50/message_Position_Report_AP_.html
>
> to a PositionReport message object in QuickFix 4.4.
>
> I can create the PositionReport object OK, but need to then add position
> information to the message object using groups (this is all I know) only not
> sure exactly how to do it the documentation is not very clear.
>
> Many many thanks for any help,
> Gert
>
>
>
> ------------------------------------------------------------------------------
> 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
>
|