RE: [Quickfix-developers] NoRelatedSym Class
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2003-04-28 17:31:24
|
Did you link the patched version to the receiving application as well? Mike Hepburn <mi...@an...> wrote:Hi All, i also seem to have problems using the group NoRelatedSym in a MarketDataRequest message. i have followed the previous threads on this but to no avail. Basically i always get a 'Tag not defined for this message type' for Symbol (55). my setup (Fix4.3, java1.4, QF 1.4.1, linux build gcc3.2) i've applied the following DataDictionary patches from Oren's previous mail (and i have the latest DataDictionary from cvs): http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/quickfix/quickfix/src/C%2b%2b/DataDictionary.h.diff?r1=1.10&r2=1.11 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/quickfix/quickfix/src/C%2b%2b/DataDictionary.cpp.diff?r1=1.14&r2=1.15 here's my message creation code: org.quickfix.fix43.MarketDataRequest.NoMDEntryTypes marketDataEntryGroup = new org.quickfix.fix43.MarketDataRequest.NoMDEntryTypes(); MDEntryType mdType = new MDEntryType(); mdType.setValue(MDEntryType.BID); marketDataEntryGroup.set(mdType); org.quickfix.fix43.MarketDataRequest.NoRelatedSym symbolGroup = new org.quickfix.fix43.MarketDataRequest.NoRelatedSym(); symbolGroup.set(new Symbol(md.getSymbol())); SubscriptionRequestType subType = new SubscriptionRequestType(); subType.setValue(SubscriptionRequestType.SNAPSHOT); org.quickfix.fix43.MarketDataRequest message = new org.quickfix.fix43.MarketDataRequest(); message.set(new MDReqID( md.getID())); message.set(subType); message.set(new MarketDepth(((Integer)md.getMarketDepth()).intValue())); message.addGroup(marketDataEntryGroup); message.addGroup(symbolGroup); send(message, md.getSessionID()); And this is what it looks like prior to being sent: Any ideas what could be wrong, Am i doing something stupid ?? Cheers, Mike > ATTACHMENT part 2 application/pgp-signature name=signature.asc --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. |