[Quickfix-developers] session id's and arca fix certification
Brought to you by:
orenmnero
From: Clark S. <cla...@ya...> - 2004-06-04 17:24:39
|
I need to set NoTradingSessions(386) = 3 and add 336=P1 336=P2 336=P3 to pass the Arca Fix Certification. I went through the documentation on repeating groups: // 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); I found the following statement in Fields.h DEFINE_NUMINGROUP(NoTradingSessions) and I found NoTradingSessions = 386 in FildNumbers.h But I can't figure out how to specify the group I need to add! I have tried: FIX::TradingSessionId::NoTradingSessions group; but it doesn't compile. What is the C++ syntax to say : 386=3 336=P1 336=P2 336=P3in the FIX message? --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger |