Re: [Quickfix-developers] ExDestination missing in FIX41::OrderCancelRequest
Brought to you by:
orenmnero
From: Clark S. <cla...@ya...> - 2004-07-20 15:11:26
|
I have a socketacceptor program based on the example program executor. When I send a cancel order with flag 100 defined I get an error of the form: <20040720-12:00:57, FIX.4.1:TW->CLIENT3, event> (Message 3307 Rejected: Tag not defined for this message type:100) Am I missing something? It is ok to specifiy exdestination on a cancelrequest, isn't it? How dow I fix this? do I need to change the header file quickfix/fix41/OrderCancelRequest.h? do I also need to change the xml file? Thanks in Advance, 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 FIX41::OrderCancelRequest message( arg1, arg2, arg4, arg5); message.set(FIX::OrderQty( _quantity)); if (OutSymbolSfx.size() > 0) { message.set( FIX::SymbolSfx( OutSymbolSfx)); } if (OutExDest.size() > 0) /* message.set( FIX::ExDestination( OutExDest)); */ message.setField( 100, OutExDest); } --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. --------------------------------- Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! |