From: Ricky W. <ric...@pe...> - 2010-02-12 22:04:44
|
Thanks! -----Original Message----- From: Grant Birchmeier [mailto:gbi...@co...] Sent: Friday, February 12, 2010 2:59 PM To: qui...@li... Subject: Re: [Quickfixj-users] http://www.quickfixj.org/jira/browse/QFJ-468 QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ You are adding a Symbol (55) directly to a MarketDataRequest (V) message, without putting it in a repeating group. Hence, in your message, 55 comes before 146, because your code did not construct the message such that 55 is in 146's group. Even though you added a value for NoRelatedSym (146), you did not add the group itself. It appears you do not understand repeating groups and how to use them in QFJ. Please read this page to see how your code should look: http://www.quickfixj.org/quickfixj/usermanual/usage/repeating_groups.html -Grant On Fri, Feb 12, 2010 at 2:33 PM, Ricky Wilkins <ric...@pe...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > All, > > > > I seem to have the same issue that the gentleman below reported. > > Does anyone have a workaround or a fix for this issue? > > > > Hi Support, > > Please find below my code i am using to subscribe using market data request, the isse that i want when i create this message i want tag55 to come after tag146, as per to integral they want Tag55 to come after Tag146 > > quickfix.fix43.MarketDataRequest sub = new MarketDataRequest(new MDReqID(reqID),new SubscriptionRequestType('1'), new MarketDepth (1)); > System.out.println("This is the message :" + sub.toString()); > sub.setField(new SenderSubID("SWSPBle")); > sub.setField(new Product(4)); > sub.setField(new NoRelatedSym(1)); > > sub.setField(new MDUpdateType(0)); > sub.setField(new NoMDEntryTypes(0)); > sub.setField(new quickfix.field.Symbol("EUR/USD")); > > the generated message is coming as below > > 8=FIX.4.39=16535=V34=1249=quote.SWSPB.dev.SWSPB.com52=20090903-22:29:29.22356=demo.client.fxgrid.integral.com50=SWSPBle55=EUR/USD146=1262=12263=1264=1265=0267=0460=410=014 > > Response from integral as below > 8=FIX.4.39=17735=334=1949=demo.client.fxgrid.integral.com52=20090903-22:29:31.32756=quote.SWSPB.dev.SWSPB.com57=SWSPBle45=1258=Tag not defined for this message type371=55372=V373=210=164 > > can you help me here please? > > > > Thanks, > > Ricky > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users |