[Quickfix-users] Instrument blocks in TradingSessionStatus
Brought to you by:
orenmnero
From: Francis G. <fr...@at...> - 2006-05-05 16:23:44
|
Hi, I use QF 1.11 with .NET 2 and I'm connecting to an 4.4 acceptor that sends Instrument block groups in a TradingSessionStatus message (I don't know why they didn't use the SecurityDefinition message but I have to deal with it). My xml dictionary contains the correct structure for the message. I can't figure out how to get to data in the Instrument Block repeating groups. What is wrong with this code? int groups = message.getInt(new NoRelatedSym().getField()); for (uint i = 1; i < groups; i++) //there are 15+ groups { FieldMap fieldMap; message.getGroup(i, fieldMap); //this isn't working string symbol = fieldMap.getString(new Symbol().getField()); } Thanks, Francis |