# working of Order Status request (35=H)

**URL:** <https://forum.fixtrading.org/t/working-of-order-status-request-35-h/11444>\
**Category:** General Q&A\
**Tags:** fix-semantics, imported, xid\_171166\
**Created:** [January 17, 2013, 3:58am UTC](https://forum.fixtrading.org/t/working-of-order-status-request-35-h/11444 "2013-01-17T03:58:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![endlessstream\_x](https://avatars.discourse-cdn.com/v4/letter/e/73ab20/32.png) [@endlessstream\_x](https://forum.fixtrading.org/u/endlessstream_x)\
**Post date:** [January 17, 2013, 3:58am UTC](https://forum.fixtrading.org/t/working-of-order-status-request-35-h/11444/1 "2013-01-17T03:58:13Z")

</div>

Imported from previous forum

---

<div class="post-metadata">

**Author:** ![endlessstream\_x](https://avatars.discourse-cdn.com/v4/letter/e/73ab20/32.png) [@endlessstream\_x](https://forum.fixtrading.org/u/endlessstream_x)\
**Post date:** [January 17, 2013, 3:58am UTC](https://forum.fixtrading.org/t/working-of-order-status-request-35-h/11444/2 "2013-01-17T03:58:13Z")

</div>

Hi, I referred to FIX order change matrices for this, but it is not quite clear, so I am turning to this forum.

My question is what would be the response of Order Status request (35=H) in this scenario:

35=D, clOrdId=1, qty=100 --\>  
Acked back, leavesQty=100

35=G, clOrdId=2, origClOrdId=1, qty=80 --\>  
Acked back, leavesQty=80

35=G, clOrdId=3, origClOrdId=2, qty=60 --\>  
Acked back, leavesQty=60

Now If I send order status request with clOrdId=1, what will I get back?  
Is it…  
clOrdId=3, origClOrdId=2, leavesQty=60

(or)

clOrdId=3, origClOrdId=1, leavesQty=60

or something else. Thanks

---

<div class="post-metadata">

**Author:** ![adityakapur](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.fixtrading.org/adityakapur/32/179_2.png) [@adityakapur](https://forum.fixtrading.org/u/adityakapur)\
**Post date:** [January 22, 2013, 7:55pm UTC](https://forum.fixtrading.org/t/working-of-order-status-request-35-h/11444/3 "2013-01-22T19:55:07Z")

</div>

Well it should ideally be 35=H with ClOrdID=3 – there’s no telling what will happen if you reference ClOrdID=1 in 35=H when the latest value is ClOrdID=3.

If the counterparty is able to support order chaining such that it recognizes that the ClOrdID value being referenced in the 35=H is stale but is actually part of an order chain then it should be able to give you the latest state of that order in the chain → ClOrdID=3, OrigClOrdID=2, LeavesQty=60.

If it does not then it will probably just return something simple like ClOrdID=1, LeavesQty=100 even though that is clearly not valid.

> Hi, I referred to FIX order change matrices for this, but it is not quite clear, so I am turning to this forum.
> 
> My question is what would be the response of Order Status request (35=H) in this scenario:
> 
> 35=D, clOrdId=1, qty=100 →   
> Acked back, leavesQty=100
> 
> 35=G, clOrdId=2, origClOrdId=1, qty=80 →   
> Acked back, leavesQty=80
> 
> 35=G, clOrdId=3, origClOrdId=2, qty=60 →   
> Acked back, leavesQty=60
> 
> Now If I send order status request with clOrdId=1, what will I get back?  
> Is it…  
> clOrdId=3, origClOrdId=2, leavesQty=60
> 
> (or)
> 
> clOrdId=3, origClOrdId=1, leavesQty=60
> 
> or something else. Thanks

---

<div class="post-metadata">

**Author:** ![xavierbruyet](https://avatars.discourse-cdn.com/v4/letter/x/c5a1d2/32.png) [@xavierbruyet](https://forum.fixtrading.org/u/xavierbruyet)\
**Post date:** [January 23, 2013, 9:27am UTC](https://forum.fixtrading.org/t/working-of-order-status-request-35-h/11444/4 "2013-01-23T09:27:10Z")

</div>

Replying 35=8|20=3|11=3 could be difficult for the client to know it is the reply to his request 35=H|11=1…

Replying 35=8|20=3|11=1 could suggest the order 11=1 is still live…

In my opinion we should reject the request 35=8|150=8|103=5 (unknown order [or 4 = too late to enter?]).

> Well it should ideally be 35=H with ClOrdID=3 – there’s no telling what will happen if you reference ClOrdID=1 in 35=H when the latest value is ClOrdID=3.
> 
> If the counterparty is able to support order chaining such that it recognizes that the ClOrdID value being referenced in the 35=H is stale but is actually part of an order chain then it should be able to give you the latest state of that order in the chain → ClOrdID=3, OrigClOrdID=2, LeavesQty=60.
> 
> If it does not then it will probably just return something simple like ClOrdID=1, LeavesQty=100 even though that is clearly not valid.
> 
> > Hi, I referred to FIX order change matrices for this, but it is not quite clear, so I am turning to this forum.
> > 
> > My question is what would be the response of Order Status request (35=H) in this scenario:
> > 
> > 35=D, clOrdId=1, qty=100 →   
> > Acked back, leavesQty=100
> > 
> > 35=G, clOrdId=2, origClOrdId=1, qty=80 →   
> > Acked back, leavesQty=80
> > 
> > 35=G, clOrdId=3, origClOrdId=2, qty=60 →   
> > Acked back, leavesQty=60
> > 
> > Now If I send order status request with clOrdId=1, what will I get back?  
> > Is it…  
> > clOrdId=3, origClOrdId=2, leavesQty=60
> > 
> > (or)
> > 
> > clOrdId=3, origClOrdId=1, leavesQty=60
> > 
> > or something else. Thanks

---

<div class="post-metadata">

**Author:** ![jaspergrootaers93\_x](https://avatars.discourse-cdn.com/v4/letter/j/a9a28c/32.png) [@jaspergrootaers93\_x](https://forum.fixtrading.org/u/jaspergrootaers93_x)\
**Post date:** [January 23, 2013, 9:55am UTC](https://forum.fixtrading.org/t/working-of-order-status-request-35-h/11444/5 "2013-01-23T09:55:32Z")

</div>

If you send 35=H|11=1 then there is a case for a reject if there is no order chaining logic on the other side.

In my opinion you should always try to send the last 11 value in a 35=H message, this way there is a les of a chance of you getting what could be a duff response.

> Replying 35=8|20=3|11=3 could be difficult for the client to know it is the reply to his request 35=H|11=1…
> 
> Replying 35=8|20=3|11=1 could suggest the order 11=1 is still live…
> 
> In my opinion we should reject the request 35=8|150=8|103=5 (unknown order [or 4 = too late to enter?]).
> 
> > Well it should ideally be 35=H with ClOrdID=3 – there’s no telling what will happen if you reference ClOrdID=1 in 35=H when the latest value is ClOrdID=3.
> > 
> > If the counterparty is able to support order chaining such that it recognizes that the ClOrdID value being referenced in the 35=H is stale but is actually part of an order chain then it should be able to give you the latest state of that order in the chain → ClOrdID=3, OrigClOrdID=2, LeavesQty=60.
> > 
> > If it does not then it will probably just return something simple like ClOrdID=1, LeavesQty=100 even though that is clearly not valid.
> > 
> > > Hi, I referred to FIX order change matrices for this, but it is not quite clear, so I am turning to this forum.
> > > 
> > > My question is what would be the response of Order Status request (35=H) in this scenario:
> > > 
> > > 35=D, clOrdId=1, qty=100 →   
> > > Acked back, leavesQty=100
> > > 
> > > 35=G, clOrdId=2, origClOrdId=1, qty=80 →   
> > > Acked back, leavesQty=80
> > > 
> > > 35=G, clOrdId=3, origClOrdId=2, qty=60 →   
> > > Acked back, leavesQty=60
> > > 
> > > Now If I send order status request with clOrdId=1, what will I get back?  
> > > Is it…  
> > > clOrdId=3, origClOrdId=2, leavesQty=60
> > > 
> > > (or)
> > > 
> > > clOrdId=3, origClOrdId=1, leavesQty=60
> > > 
> > > or something else. Thanks

---

<div class="post-metadata">

**Author:** ![paulradbone\_x](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@paulradbone\_x](https://forum.fixtrading.org/u/paulradbone_x)\
**Post date:** [January 23, 2013, 10:12am UTC](https://forum.fixtrading.org/t/working-of-order-status-request-35-h/11444/6 "2013-01-23T10:12:13Z")

</div>

I also agree with this. Although it does depends how your order management system works.

If the client has accepted you ack to the last 35=G, then they should have the latest ClientOrderID, which is what they should use for the 35=H request.

If the Client sends an invalid(old) ClOrdID, then it should be rejected with “unknown Order”.

Paul.

The clients order should

> If you send 35=H|11=1 then there is a case for a reject if there is no order chaining logic on the other side.
> 
> In my opinion you should always try to send the last 11 value in a 35=H message, this way there is a les of a chance of you getting what could be a duff response.
> 
> > Replying 35=8|20=3|11=3 could be difficult for the client to know it is the reply to his request 35=H|11=1…
> > 
> > Replying 35=8|20=3|11=1 could suggest the order 11=1 is still live…
> > 
> > In my opinion we should reject the request 35=8|150=8|103=5 (unknown order [or 4 = too late to enter?]).
> > 
> > > Well it should ideally be 35=H with ClOrdID=3 – there’s no telling what will happen if you reference ClOrdID=1 in 35=H when the latest value is ClOrdID=3.
> > > 
> > > If the counterparty is able to support order chaining such that it recognizes that the ClOrdID value being referenced in the 35=H is stale but is actually part of an order chain then it should be able to give you the latest state of that order in the chain → ClOrdID=3, OrigClOrdID=2, LeavesQty=60.
> > > 
> > > If it does not then it will probably just return something simple like ClOrdID=1, LeavesQty=100 even though that is clearly not valid.
> > > 
> > > > Hi, I referred to FIX order change matrices for this, but it is not quite clear, so I am turning to this forum.
> > > > 
> > > > My question is what would be the response of Order Status request (35=H) in this scenario:
> > > > 
> > > > 35=D, clOrdId=1, qty=100 →   
> > > > Acked back, leavesQty=100
> > > > 
> > > > 35=G, clOrdId=2, origClOrdId=1, qty=80 →   
> > > > Acked back, leavesQty=80
> > > > 
> > > > 35=G, clOrdId=3, origClOrdId=2, qty=60 →   
> > > > Acked back, leavesQty=60
> > > > 
> > > > Now If I send order status request with clOrdId=1, what will I get back?  
> > > > Is it…  
> > > > clOrdId=3, origClOrdId=2, leavesQty=60
> > > > 
> > > > (or)
> > > > 
> > > > clOrdId=3, origClOrdId=1, leavesQty=60
> > > > 
> > > > or something else. Thanks

---

<div class="post-metadata">

**Author:** ![adityakapur](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.fixtrading.org/adityakapur/32/179_2.png) [@adityakapur](https://forum.fixtrading.org/u/adityakapur)\
**Post date:** [January 23, 2013, 9:02pm UTC](https://forum.fixtrading.org/t/working-of-order-status-request-35-h/11444/7 "2013-01-23T21:02:38Z")

</div>

One more reason to go with something like Order Mass Status 🙂

> I also agree with this. Although it does depends how your order management system works.
> 
> If the client has accepted you ack to the last 35=G, then they should have the latest ClientOrderID, which is what they should use for the 35=H request.
> 
> If the Client sends an invalid(old) ClOrdID, then it should be rejected with “unknown Order”.
> 
> Paul.
> 
> The clients order should
> 
> > If you send 35=H|11=1 then there is a case for a reject if there is no order chaining logic on the other side.
> > 
> > In my opinion you should always try to send the last 11 value in a 35=H message, this way there is a les of a chance of you getting what could be a duff response.
> > 
> > > Replying 35=8|20=3|11=3 could be difficult for the client to know it is the reply to his request 35=H|11=1…
> > > 
> > > Replying 35=8|20=3|11=1 could suggest the order 11=1 is still live…
> > > 
> > > In my opinion we should reject the request 35=8|150=8|103=5 (unknown order [or 4 = too late to enter?]).
> > > 
> > > > Well it should ideally be 35=H with ClOrdID=3 – there’s no telling what will happen if you reference ClOrdID=1 in 35=H when the latest value is ClOrdID=3.
> > > > 
> > > > If the counterparty is able to support order chaining such that it recognizes that the ClOrdID value being referenced in the 35=H is stale but is actually part of an order chain then it should be able to give you the latest state of that order in the chain → ClOrdID=3, OrigClOrdID=2, LeavesQty=60.
> > > > 
> > > > If it does not then it will probably just return something simple like ClOrdID=1, LeavesQty=100 even though that is clearly not valid.
> > > > 
> > > > > Hi, I referred to FIX order change matrices for this, but it is not quite clear, so I am turning to this forum.
> > > > > 
> > > > > My question is what would be the response of Order Status request (35=H) in this scenario:
> > > > > 
> > > > > 35=D, clOrdId=1, qty=100 →   
> > > > > Acked back, leavesQty=100
> > > > > 
> > > > > 35=G, clOrdId=2, origClOrdId=1, qty=80 →   
> > > > > Acked back, leavesQty=80
> > > > > 
> > > > > 35=G, clOrdId=3, origClOrdId=2, qty=60 →   
> > > > > Acked back, leavesQty=60
> > > > > 
> > > > > Now If I send order status request with clOrdId=1, what will I get back?  
> > > > > Is it…  
> > > > > clOrdId=3, origClOrdId=2, leavesQty=60
> > > > > 
> > > > > (or)
> > > > > 
> > > > > clOrdId=3, origClOrdId=1, leavesQty=60
> > > > > 
> > > > > or something else. Thanks
