Re: [Quickfix-developers] order Cancel/Replace
Brought to you by:
orenmnero
|
From: Caleb E. <cal...@gm...> - 2007-06-21 19:57:15
|
On 6/21/07, hanikhalife <h.k...@id...> wrote: > when i send an order then send message order cancel/replace i get error > message > "Found duplicate ClOrdID on a message with PossDupFlag not sent or set to N > " Looks like you re-used a ClOrdID from an earlier message on your replace request. Here it is in (IMHO) more readable form: BeginString[8]=FIX.4.2 BodyLength[9]=161 MsgType[35]=OrderCancelReplaceRequest[G] MsgSeqNo[34]=572 SenderCompID[49]=ids101 SendingTime[52]=2007-06-21T07:48:41.710-0400 TargetCompID[56]=OPENFIX ClOrdID[11]=20070621-14473710763-1 HandlInst[21]=Manual[3] OrderQty[38]=2600 OrdType[40]=MKT[1] OrigClOrdID[41]=20070621-14473710763-1 Side[54]=Sell[2] Symbol[55]=MOT TransactTime[60]=2007-06-21T10:48:41-0400 10=247 > the execution report received not contains the OrigClOrdID > what is the different between OrigClOrdID and ClOrdID? OrigClOrdID is used when referring to an earlier order. ClOrdID must be unique on every request, even cancel and replace requests. These should have the OrigClOrdID set to the ClOrdID of the order you wish to cancel/replace. Plenty of reading at: http://fixprotocol.org/ -- Caleb Epstein |