cancel an already replaced order

Imported from previous forum

Hi,

first i create a "Order Single " setting ClOrdID=ABC
then i change the order using "Order Cancel/Replace Request " with
ClOrdID=DEF and OrigClOrdID=ABC

now i want to cancel the message using "Order Cancel Request "
setting ClOrdId=GHI

the question is:
do i have to set OrigClOrdID=ABC or OrigClOrdID=DEF

i’m not really sure about this issue.
can you help?

Hi,

first i create a “Order Single ” setting ClOrdID=ABC then i change
the order using “Order Cancel/Replace Request ” with ClOrdID=DEF and
OrigClOrdID=ABC

now i want to cancel the message using “Order Cancel Request ”
setting ClOrdId=GHI

the question is: do i have to set OrigClOrdID=ABC or OrigClOrdID=DEF

i’m not really sure about this issue. can you help?

ps> using fix4.2

[ original email was from Alex Malone - amalone@heliumsystems.com ]
The OrderCancelRequest will also contain the OrderID tag 37, which is returned in the ExecutionReport acknowledgement for OrderSingle. This OrderID typically does not change and is used to identify the chain. There is a chance that the acknowledgement for the Replace is in-flight when you send the Cancel. Most venues will refer to the OrderID, so your Cancel will still take effect when you use the ClOrdID that does not match the venue’s ClOrdID state.

Regards,
Alex

Hi,

first i create a “Order Single ” setting ClOrdID=ABC then i change
the order using “Order Cancel/Replace Request ” with ClOrdID=DEF
and OrigClOrdID=ABC

now i want to cancel the message using “Order Cancel Request ”
setting ClOrdId=GHI

the question is: do i have to set OrigClOrdID=ABC or OrigClOrdID=DEF

i’m not really sure about this issue. can you help?

ps> using fix4.2

Hi Sascha,

first i create a “Order Single ” setting ClOrdID=ABC then i change
the order using “Order Cancel/Replace Request ” with ClOrdID=DEF and
OrigClOrdID=ABC

now i want to cancel the message using “Order Cancel Request ”
setting ClOrdId=GHI

the question is: do i have to set OrigClOrdID=ABC or OrigClOrdID=DEF

If the order replace was sucessful then the ClOrdID of the order is DEF. So you have to set OrigClOrdID=DEF. The ClOrdID refers to the Cancel itself.

See also scenarios D16 and D17 in the FIX 4.2 spec pdf on page 219.

Cheers, Jörg

If the order replace was sucessful then the ClOrdID of the order is
DEF. So you have to set OrigClOrdID=DEF. The ClOrdID refers to the
Cancel itself.

See also scenarios D16 and D17 in the FIX 4.2 spec pdf on page 219.

Cheers, Jörg

thanks for pointing out.

cheers,
Sascha

Sascha,

As Per Appendix D #16/17, u can send 41=DEF & 11=GHI for the cancel req.

Regards,
Sunil