Re: [Quickfix-developers] How to stop quickfix validation?
Brought to you by:
orenmnero
From: <or...@qu...> - 2008-10-01 20:16:25
|
Does your server have a data dictionary associated with the session? --oren > -------- Original Message -------- > Subject: Re: [Quickfix-developers] How to stop quickfix validation? > From: Shrila <om...@ma...> > Date: Wed, October 01, 2008 3:38 am > To: qui...@li... > > > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi All!!! > My QuickFIX message "quickfix.fix43.NewOrderMultileg": > > 8=FIX.4.2 9=261 35=AB 34=294 49=ClientQFIX 52=20081001-08:16:24.397 56=EXEC > 11=12228489843970 21=1 38=8 40=3 54=1 55=ZZZ 60=20081001-08:16:24.397 > 167=MLEG 207=CME 461=FXXXS 555=2 > 600=ZZZ 608=FXXXS 609=FUT 610=200801 623=1 624=1 > 600=ZZZ 608=FXXXS 609=FUT 610=200812 623=1 624=2 10=173 > > Response from QuickFIX server: > 8=FIX.4.2 9=111 35=3 34=291 49=EXEC 52=20081001-08:16:24.397 56=ClientQFIX > 45=294 58=Tag appears more than once 371=600 372=AB 10=115 > > My code: > > order = new Order(); > order.setID(nextClOrdID()); > order.setSide(OrderSide.parse(Podstr(strArg,";",2))); > order.setType(OrderType.parse(Podstr(strArg,";",4))); > order.setSymbol(Podstr(strArg,";",1)); > order.setQty(Integer.parseInt(Podstr(strArg,";",3))); > /** Create message*/ > msg = new quickfix.fix43.NewOrderMultileg(new ClOrdID(order.getID()), > new HandlInst('1'), sideToFIXSide(order.getSide()), > new TransactTime(SystemTime.getDate()), > typeToFIXType(order.getType())); > msg.setString(Symbol.FIELD, order.getSymbol()); > msg.setDouble(OrderQty.FIELD, order.getQty()); > msg.setString(SecurityType.FIELD, "MLEG"); > msg.setString(SecurityExchange.FIELD, "CME"); > msg.setString(CFICode.FIELD, "FXXXS"); > /** Create Component Block NoLegs */ > quickfix.fix43.NewOrderMultileg.NoLegs noLegs = > new quickfix.fix43.NewOrderMultileg.NoLegs(); > noLegs.set(new LegSymbol(order.getSymbol())); > noLegs.set(new LegCFICode("FXXXS")); > noLegs.set(new LegSecurityType("FUT")); > noLegs.set(new LegMaturityMonthYear("200801")); > noLegs.set(new LegRatioQty(1)); > noLegs.set(new LegSide('1')); > msg.addGroup(noLegs); > noLegs.set(new LegSymbol(order.getSymbol())); > noLegs.set(new LegCFICode("FXXXS")); > noLegs.set(new LegSecurityType("FUT")); > noLegs.set(new LegMaturityMonthYear("200812")); > noLegs.set(new LegRatioQty(1)); > noLegs.set(new LegSide('2')); > msg.addGroup(noLegs); > > Say me please, why my message rejected by reason of "Tag appears more than > once" (tag:600 or any another)? > -- > View this message in context: http://www.nabble.com/How-do-you-determine-valid-tags-for-a-message--tp6923557p19756572.html > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |