# Unsolicited Cancel on a pending replace order

**URL:** <https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147>\
**Category:** General Q&A\
**Tags:** xid\_164529, 42-changes, imported\
**Created:** [December 29, 2009, 9:20am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147 "2009-12-29T09:20:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pennyman\_x](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pennyman\_x](https://forum.fixtrading.org/u/pennyman_x)\
**Post date:** [December 29, 2009, 9:20am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/1 "2009-12-29T09:20:33Z")

</div>

Imported from previous forum

---

<div class="post-metadata">

**Author:** ![pennyman\_x](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pennyman\_x](https://forum.fixtrading.org/u/pennyman_x)\
**Post date:** [December 29, 2009, 9:20am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/2 "2009-12-29T09:20:33Z")

</div>

Dear Sir/Madam,

Can anybody help on the following scenerio? What are the correct Tag11 and Tag41 values for the unsolicited cancel according to FIX spec 4.2?

1. Buy-side institution send new order (Tag11=001)
2. Broker reply accept new (Tag11=001)
3. Buy-side institution send replace request (Tag11=002, Tag41=001)
4. Broker reply pending replace (Tag11=002, Tag41=001)
5. Broker reply unsolicited cancel (Tag11=???, Tag41=???)

Thanks.

---

<div class="post-metadata">

**Author:** ![kirankumar97\_x](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@kirankumar97\_x](https://forum.fixtrading.org/u/kirankumar97_x)\
**Post date:** [December 29, 2009, 9:33am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/3 "2009-12-29T09:33:23Z")

</div>

> Dear Sir/Madam,
> 
> Can anybody help on the following scenerio? What are the correct Tag11  
> and Tag41 values for the unsolicited cancel according to FIX spec 4.2?
> 
> 1. Buy-side institution send new order (Tag11=001)
> 2. Broker reply accept new (Tag11=001) 3. Buy-side institution send  
> replace request (Tag11=002, Tag41=001) 4. Broker reply pending  
> replace (Tag11=002, Tag41=001) 5. Broker reply unsolicited cancel  
> (Tag11=???, Tag41=???)
> 
> Thanks.

Hi,

1)should not send tag #41 in Unsolicited Cancel ER.  
2)Amend Request should be rejeted before or after Unsolicted Cancel ER.  
3)I suggest, Reject Amend Request after UnsolCancel ER with text message as “Order is already cancelled”

Kiran

---

<div class="post-metadata">

**Author:** ![kirankumar97\_x](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@kirankumar97\_x](https://forum.fixtrading.org/u/kirankumar97_x)\
**Post date:** [December 29, 2009, 9:38am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/4 "2009-12-29T09:38:27Z")

</div>

> > Dear Sir/Madam,
> > 
> > Can anybody help on the following scenerio? What are the correct Tag11  
> > and Tag41 values for the unsolicited cancel according to FIX spec 4.2?
> > 
> > 1. Buy-side institution send new order (Tag11=001)
> > 2. Broker reply accept new (Tag11=001) 3. Buy-side institution send  
> > replace request (Tag11=002, Tag41=001) 4. Broker reply pending  
> > replace (Tag11=002, Tag41=001) 5. Broker reply unsolicited cancel  
> > (Tag11=???, Tag41=???)
> > 
> > Thanks.
> 
> Hi,
> 
> 1)should not send tag #41 and tag11=001 in Unsolicited Cancel ER.  
> 2)Amend Request should be rejeted before or after Unsolicted Cancel ER.  
> 3)I suggest, Reject Amend Request after UnsolCancel ER with text message  
> as “Order is already cancelled”
> 
> Kiran

---

<div class="post-metadata">

**Author:** ![pennyman\_x](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pennyman\_x](https://forum.fixtrading.org/u/pennyman_x)\
**Post date:** [December 29, 2009, 9:49am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/5 "2009-12-29T09:49:37Z")

</div>

> > > Dear Sir/Madam,
> > > 
> > > Can anybody help on the following scenerio? What are the correct  
> > > Tag11 and Tag41 values for the unsolicited cancel according to FIX  
> > > spec 4.2?
> > > 
> > > 1. Buy-side institution send new order (Tag11=001)
> > > 2. Broker reply accept new (Tag11=001) 3. Buy-side institution send  
> > > replace request (Tag11=002, Tag41=001) 4. Broker reply pending  
> > > replace (Tag11=002, Tag41=001) 5. Broker reply unsolicited cancel  
> > > (Tag11=???, Tag41=???)
> > > 
> > > Thanks.
> > 
> > Hi,
> > 
> > 1)should not send tag #41 and tag11=001 in Unsolicited Cancel ER.  
> > 2)Amend Request should be rejeted before or after Unsolicted  
> > Cancel ER.  
> > 3)I suggest, Reject Amend Request after UnsolCancel ER with text  
> > message as “Order is already cancelled”
> > 
> > Kiran

Hi Kiran,

Thanks for your reply. I agreed that I should not send Tag41, but I am quite confused on Tag11 becoz some of the reply of this thread suggesting me putting tag11=002. Can you give me some reference to support your answer on tag11=001?

Thanks so much!

---

<div class="post-metadata">

**Author:** ![kirankumar97\_x](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@kirankumar97\_x](https://forum.fixtrading.org/u/kirankumar97_x)\
**Post date:** [December 29, 2009, 10:07am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/6 "2009-12-29T10:07:44Z")

</div>

> > > > Dear Sir/Madam,
> > > > 
> > > > Can anybody help on the following scenerio? What are the correct  
> > > > Tag11 and Tag41 values for the unsolicited cancel according to FIX  
> > > > spec 4.2?
> > > > 
> > > > 1. Buy-side institution send new order (Tag11=001)
> > > > 2. Broker reply accept new (Tag11=001) 3. Buy-side institution  
> > > > send replace request (Tag11=002, Tag41=001) 4. Broker reply  
> > > > pending replace (Tag11=002, Tag41=001) 5. Broker reply  
> > > > unsolicited cancel (Tag11=???, Tag41=???)
> > > > 
> > > > Thanks.
> > > 
> > > Hi,
> > > 
> > > 1)should not send tag #41 and tag11=001 in Unsolicited Cancel ER.  
> > > 2)Amend Request should be rejeted before or after Unsolicted  
> > > Cancel ER.  
> > > 3)I suggest, Reject Amend Request after UnsolCancel ER with text  
> > > message as “Order is already cancelled”
> > > 
> > > Kiran
> 
> Hi Kiran,
> 
> Thanks for your reply. I agreed that I should not send Tag41, but I am  
> quite confused on Tag11 becoz some of the reply of this thread  
> suggesting me putting tag11=002. Can you give me some reference to  
> support your answer on tag11=001?
> 
> Thanks so much!

It is very simple. Tag 11 should not be changed until accept the Next Request send by the Client. In your case Client has sent New ClOrdID= 002 in Amend Request, this amend request was not accepted, so your ClOrdID should be 001 which is sent by client in New Order Request.

Kiran

---

<div class="post-metadata">

**Author:** ![pennyman\_x](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pennyman\_x](https://forum.fixtrading.org/u/pennyman_x)\
**Post date:** [December 30, 2009, 8:49am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/7 "2009-12-30T08:49:50Z")

</div>

> > > > > Dear Sir/Madam,
> > > > > 
> > > > > Can anybody help on the following scenerio? What are the correct  
> > > > > Tag11 and Tag41 values for the unsolicited cancel according to  
> > > > > FIX spec 4.2?
> > > > > 
> > > > > 1. Buy-side institution send new order (Tag11=001)
> > > > > 2. Broker reply accept new (Tag11=001) 3. Buy-side institution  
> > > > > send replace request (Tag11=002, Tag41=001) 4. Broker reply  
> > > > > pending replace (Tag11=002, Tag41=001) 5. Broker reply  
> > > > > unsolicited cancel (Tag11=???, Tag41=???)
> > > > > 
> > > > > Thanks.
> > > > 
> > > > Hi,
> > > > 
> > > > 1)should not send tag #41 and tag11=001 in Unsolicited Cancel ER.  
> > > > 2)Amend Request should be rejeted before or after Unsolicted  
> > > > Cancel ER.  
> > > > 3)I suggest, Reject Amend Request after UnsolCancel ER with text  
> > > > message as “Order is already cancelled”
> > > > 
> > > > Kiran
> > 
> > Hi Kiran,
> > 
> > Thanks for your reply. I agreed that I should not send Tag41, but I am  
> > quite confused on Tag11 becoz some of the reply of this thread  
> > suggesting me putting tag11=002. Can you give me some reference to  
> > support your answer on tag11=001?
> > 
> > Thanks so much!
> 
> It is very simple. Tag 11 should not be changed until accept the Next  
> Request send by the Client. In your case Client has sent New ClOrdID=  
> 002 in Amend Request, this amend request was not accepted, so your  
> ClOrdID should be 001 which is sent by client in New Order Request.
> 
> Kiran

Hi Kiran,  
Thanks for your valuable suggestion and explanation! They are really useful to me.

---

<div class="post-metadata">

**Author:** ![berntsanden57\_x](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@berntsanden57\_x](https://forum.fixtrading.org/u/berntsanden57_x)\
**Post date:** [December 29, 2009, 9:34am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/8 "2009-12-29T09:34:46Z")

</div>

> Dear Sir/Madam,
> 
> Can anybody help on the following scenerio? What are the correct Tag11  
> and Tag41 values for the unsolicited cancel according to FIX spec 4.2?
> 
> 1. Buy-side institution send new order (Tag11=001)
> 2. Broker reply accept new (Tag11=001) 3. Buy-side institution send  
> replace request (Tag11=002, Tag41=001) 4. Broker reply pending  
> replace (Tag11=002, Tag41=001) 5. Broker reply unsolicited cancel  
> (Tag11=???, Tag41=???)
> 
> Thanks.

Hi Penny,

There are some useful scenarios in appendix D in the FIX 4.2 spec. You could look at D19 and D20 scenarios. They deal with unsolicited cancels.

According to these tag 11=002 and tag 41 should not be set.

Regards,

Bernt

---

<div class="post-metadata">

**Author:** ![pennyman\_x](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pennyman\_x](https://forum.fixtrading.org/u/pennyman_x)\
**Post date:** [December 29, 2009, 9:58am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/9 "2009-12-29T09:58:09Z")

</div>

> > Dear Sir/Madam,
> > 
> > Can anybody help on the following scenerio? What are the correct Tag11  
> > and Tag41 values for the unsolicited cancel according to FIX spec 4.2?
> > 
> > 1. Buy-side institution send new order (Tag11=001)
> > 2. Broker reply accept new (Tag11=001) 3. Buy-side institution send  
> > replace request (Tag11=002, Tag41=001) 4. Broker reply pending  
> > replace (Tag11=002, Tag41=001) 5. Broker reply unsolicited cancel  
> > (Tag11=???, Tag41=???)
> > 
> > Thanks.
> 
> Hi Penny,
> 
> There are some useful scenarios in appendix D in the FIX 4.2 spec. You  
> could look at D19 and D20 scenarios. They deal with unsolicited cancels.
> 
> According to these tag 11=002 and tag 41 should not be set.
> 
> Regards,
> 
> Bernt

Hi Bernt,  
Thanks for your reply. I looked the appendix D D19, D20. But they are not specifically for a pending replace order. As I am quite confused on Tag11 value becoz some of the reply for this thread suggesting me putting tag11=001. Can you give me some reference to support your answer on tag11=002?

(I am just thinking if there is a confirm replace before the unsolicited cancel, definitely the tag11=002 of the unsolicited cancel. how about if the order is still pending replace?)

Thanks so much!

---

<div class="post-metadata">

**Author:** ![berntsanden57\_x](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@berntsanden57\_x](https://forum.fixtrading.org/u/berntsanden57_x)\
**Post date:** [December 29, 2009, 10:09am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/10 "2009-12-29T10:09:45Z")

</div>

> > > Dear Sir/Madam,
> > > 
> > > Can anybody help on the following scenerio? What are the correct  
> > > Tag11 and Tag41 values for the unsolicited cancel according to FIX  
> > > spec 4.2?
> > > 
> > > 1. Buy-side institution send new order (Tag11=001)
> > > 2. Broker reply accept new (Tag11=001) 3. Buy-side institution send  
> > > replace request (Tag11=002, Tag41=001) 4. Broker reply pending  
> > > replace (Tag11=002, Tag41=001) 5. Broker reply unsolicited cancel  
> > > (Tag11=???, Tag41=???)
> > > 
> > > Thanks.
> > 
> > Hi Penny,
> > 
> > There are some useful scenarios in appendix D in the FIX 4.2 spec. You  
> > could look at D19 and D20 scenarios. They deal with unsolicited  
> > cancels.
> > 
> > According to these tag 11=002 and tag 41 should not be set.
> > 
> > Regards,
> > 
> > Bernt
> 
> Hi Bernt, Thanks for your reply. I looked the appendix D D19, D20. But  
> they are not specifically for a pending replace order. As I am quite  
> confused on Tag11 value becoz some of the reply for this thread  
> suggesting me putting tag11=001. Can you give me some reference to  
> support your answer on tag11=002?
> 
> (I am just thinking if there is a confirm replace before the unsolicited  
> cancel, definitely the tag11=002 of the unsolicited cancel. how about if  
> the order is still pending replace?)
> 
> Thanks so much!

Sorry. It should be 11=001 as the order was never replaced. Also as Kumar said the amend request must also be rejected.

/Bernt

---

<div class="post-metadata">

**Author:** ![pennyman\_x](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pennyman\_x](https://forum.fixtrading.org/u/pennyman_x)\
**Post date:** [December 30, 2009, 8:51am UTC](https://forum.fixtrading.org/t/unsolicited-cancel-on-a-pending-replace-order/12147/11 "2009-12-30T08:51:05Z")

</div>

> > > > Dear Sir/Madam,
> > > > 
> > > > Can anybody help on the following scenerio? What are the correct  
> > > > Tag11 and Tag41 values for the unsolicited cancel according to FIX  
> > > > spec 4.2?
> > > > 
> > > > 1. Buy-side institution send new order (Tag11=001)
> > > > 2. Broker reply accept new (Tag11=001) 3. Buy-side institution  
> > > > send replace request (Tag11=002, Tag41=001) 4. Broker reply  
> > > > pending replace (Tag11=002, Tag41=001) 5. Broker reply  
> > > > unsolicited cancel (Tag11=???, Tag41=???)
> > > > 
> > > > Thanks.
> > > 
> > > Hi Penny,
> > > 
> > > There are some useful scenarios in appendix D in the FIX 4.2 spec.  
> > > You could look at D19 and D20 scenarios. They deal with unsolicited  
> > > cancels.
> > > 
> > > According to these tag 11=002 and tag 41 should not be set.
> > > 
> > > Regards,
> > > 
> > > Bernt
> > 
> > Hi Bernt, Thanks for your reply. I looked the appendix D D19, D20. But  
> > they are not specifically for a pending replace order. As I am quite  
> > confused on Tag11 value becoz some of the reply for this thread  
> > suggesting me putting tag11=001. Can you give me some reference to  
> > support your answer on tag11=002?
> > 
> > (I am just thinking if there is a confirm replace before the  
> > unsolicited cancel, definitely the tag11=002 of the unsolicited  
> > cancel. how about if the order is still pending replace?)
> > 
> > Thanks so much!
> 
> Sorry. It should be 11=001 as the order was never replaced. Also as  
> Kumar said the amend request must also be rejected.
> 
> /Bernt

Hi Bernt,  
Thanks a lot for your help and suggestion !
