Re: [Quickfix-developers] ExDestination missing in FIX41::OrderCancelRequest
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-07-20 15:20:27
|
If you just update the xml file, you will no longer reject these=20 messages. --oren On Jul 20, 2004, at 10:11 AM, Clark Sims wrote: > I have a socketacceptor program based on the example program executor.=20= > When I send a cancel order with flag 100 defined I get an error of the=20= > form: > <20040720-12:00:57, FIX.4.1:TW->CLIENT3, event> > =A0 (Message 3307 Rejected: Tag not defined for this message type:100) > Am I missing something?=A0 It is ok to specifiy exdestination on a=20 > cancelrequest, isn't it? > =A0 > How dow I fix this? do I need to change the header file=20 > quickfix/fix41/OrderCancelRequest.h?=A0 do I also need to change the = xml=20 > file? > =A0 > Thanks in Advance, > =A0 > Clark > > Clark Sims <cla...@ya...> wrote: > It looks like the ExDestition is missing in FIX41::OrderCancelRequest > I have to use the setField method instead of set > =A0=A0=A0 > FIX41::OrderCancelRequest message( arg1, arg2, arg4, arg5); > =A0=A0=A0 message.set(FIX::OrderQty( _quantity)); > =A0=A0=A0 if (OutSymbolSfx.size() > 0) { > =A0=A0=A0=A0=A0 message.set( FIX::SymbolSfx( OutSymbolSfx)); > =A0=A0=A0 } > =A0=A0=A0 if (OutExDest.size() > 0) > =A0=A0=A0=A0=A0=A0/* message.set( FIX::ExDestination( OutExDest)); */ > =A0=A0=A0=A0=A0 message.setField( 100, OutExDest); > =A0=A0=A0 } > > Do you Yahoo!? > Yahoo! Mail Address AutoComplete - You start. We finish. > > Do you Yahoo!? > Vote for the stars of Yahoo!'s next ad campaign!= |