# States of orders after system-failure

**URL:** <https://forum.fixtrading.org/t/states-of-orders-after-system-failure/5097>\
**Category:** General Q&A\
**Tags:** general-qa, xid\_168003, imported\
**Created:** [May 5, 2010, 4:02pm UTC](https://forum.fixtrading.org/t/states-of-orders-after-system-failure/5097 "2010-05-05T16:02:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomaspauli\_x](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@thomaspauli\_x](https://forum.fixtrading.org/u/thomaspauli_x)\
**Post date:** [May 5, 2010, 4:02pm UTC](https://forum.fixtrading.org/t/states-of-orders-after-system-failure/5097/1 "2010-05-05T16:02:50Z")

</div>

Imported from previous forum

---

<div class="post-metadata">

**Author:** ![thomaspauli\_x](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@thomaspauli\_x](https://forum.fixtrading.org/u/thomaspauli_x)\
**Post date:** [May 5, 2010, 4:02pm UTC](https://forum.fixtrading.org/t/states-of-orders-after-system-failure/5097/2 "2010-05-05T16:02:50Z")

</div>

Hi,  
I’m new to FIX anf I’m wondering, if there is a possibility to get a list of all active orders which are in the market. Something like ‘getAllOrders(Account)’ would be fine.

If there is no such function, do I really have to keep track of all orders by myself? It seems pretty risky to do that…

Regards,  
Harald

---

<div class="post-metadata">

**Author:** ![kaymahes\_x](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@kaymahes\_x](https://forum.fixtrading.org/u/kaymahes_x)\
**Post date:** [May 5, 2010, 5:36pm UTC](https://forum.fixtrading.org/t/states-of-orders-after-system-failure/5097/3 "2010-05-05T17:36:11Z")

</div>

From FIX.4.3 onwards, OrderMassStatusRequest 35=AF is available, its defined as “The order mass status request message requests the status for orders matching criteria specified within the request.”

[http://fixprotocol.org/FIXimate3.0/en/FIX.4.3/body\_54536570.html](http://fixprotocol.org/FIXimate3.0/en/FIX.4.3/body_54536570.html)

> Hi, I’m new to FIX anf I’m wondering, if there is a possibility to get a  
> list of all active orders which are in the market. Something like  
> ‘getAllOrders(Account)’ would be fine.
> 
> If there is no such function, do I really have to keep track of all  
> orders by myself? It seems pretty risky to do that…
> 
> Regards, Harald

---

<div class="post-metadata">

**Author:** ![fplpo\_x](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@fplpo\_x](https://forum.fixtrading.org/u/fplpo_x)\
**Post date:** [May 5, 2010, 6:42pm UTC](https://forum.fixtrading.org/t/states-of-orders-after-system-failure/5097/4 "2010-05-05T18:42:58Z")

</div>

[original email was from Christiaan de Vries - [chrisdus@gmail.com](mailto:chrisdus@gmail.com) ]  
Hi Harald,

If a system fails, the likelyhood of a OrderMassStatusRequest being answered is small, as the system is down…

You might want to investigate if the system you are connecting to supports CancelOnSystemFailure (which you can set in tag 18=Q)…

With this tag in your NewOrderSingle, you will know the status of your orders when a system fails upfront, or at least how they should be handled when this condition occurs.

Cheers,  
Christiaan

> From FIX.4.3 onwards, OrderMassStatusRequest 35=AF is available, its  
> defined as “The order mass status request message requests the status  
> for orders matching criteria specified within the request.”
> 
> [http://fixprotocol.org/FIXimate3.0/en/FIX.4.3/body\_54536570.html](http://fixprotocol.org/FIXimate3.0/en/FIX.4.3/body_54536570.html)
> 
> > Hi, I’m new to FIX anf I’m wondering, if there is a possibility to get  
> > a list of all active orders which are in the market. Something like  
> > ‘getAllOrders(Account)’ would be fine.
> > 
> > If there is no such function, do I really have to keep track of all  
> > orders by myself? It seems pretty risky to do that…
> > 
> > Regards, Harald

---

<div class="post-metadata">

**Author:** ![hanno.klein](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.fixtrading.org/hanno.klein/32/38_2.png) [@hanno.klein](https://forum.fixtrading.org/u/hanno.klein)\
**Post date:** [May 6, 2010, 9:16am UTC](https://forum.fixtrading.org/t/states-of-orders-after-system-failure/5097/5 "2010-05-06T09:16:53Z")

</div>

If the system is down, nothing “bad” can happen with the orders anyway. If the system is back up, OrderMassStatusRequest would be available again. The issue is obviously the gap between the system being up and running again and the order status information reaching the order submitter and his ability to take appropriate action. This is where ExecInst=Q=Cancel on system failure comes into play to avoid this gap.

We intend to propose an extension to FIX to support similar instructions on the session level, i.e. cancel/suspend orders/quotes upon disconnect/system failure/trading halt.

> Hi Harald,
> 
> If a system fails, the likelyhood of a OrderMassStatusRequest being  
> answered is small, as the system is down…
> 
> You might want to investigate if the system you are connecting to  
> supports CancelOnSystemFailure (which you can set in tag 18=Q)…
> 
> With this tag in your NewOrderSingle, you will know the status of your  
> orders when a system fails upfront, or at least how they should be  
> handled when this condition occurs.
> 
> Cheers, Christiaan
> 
> > From FIX.4.3 onwards, OrderMassStatusRequest 35=AF is available, its  
> > defined as “The order mass status request message requests the status  
> > for orders matching criteria specified within the request.”
> > 
> > [http://fixprotocol.org/FIXimate3.0/en/FIX.4.3/body\_54536570.html](http://fixprotocol.org/FIXimate3.0/en/FIX.4.3/body_54536570.html)
> > 
> > > Hi, I’m new to FIX anf I’m wondering, if there is a possibility to  
> > > get a list of all active orders which are in the market. Something  
> > > like ‘getAllOrders(Account)’ would be fine.
> > > 
> > > If there is no such function, do I really have to keep track of all  
> > > orders by myself? It seems pretty risky to do that…
> > > 
> > > Regards, Harald

---

<div class="post-metadata">

**Author:** ![thomaspauli\_x](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@thomaspauli\_x](https://forum.fixtrading.org/u/thomaspauli_x)\
**Post date:** [May 6, 2010, 4:31pm UTC](https://forum.fixtrading.org/t/states-of-orders-after-system-failure/5097/6 "2010-05-06T16:31:00Z")

</div>

Hi everybody,  
thank you very much for your help, I really appreciate it.

Greetings  
Harald

> If the system is down, nothing “bad” can happen with the orders anyway.  
> If the system is back up, OrderMassStatusRequest would be available  
> again. The issue is obviously the gap between the system being up and  
> running again and the order status information reaching the order  
> submitter and his ability to take appropriate action. This is where  
> ExecInst=Q=Cancel on system failure comes into play to avoid this gap.
> 
> We intend to propose an extension to FIX to support similar instructions  
> on the session level, i.e. cancel/suspend orders/quotes upon  
> disconnect/system failure/trading halt.
> 
> > Hi Harald,
> > 
> > If a system fails, the likelyhood of a OrderMassStatusRequest being  
> > answered is small, as the system is down…
> > 
> > You might want to investigate if the system you are connecting to  
> > supports CancelOnSystemFailure (which you can set in tag 18=Q)…
> > 
> > With this tag in your NewOrderSingle, you will know the status of your  
> > orders when a system fails upfront, or at least how they should be  
> > handled when this condition occurs.
> > 
> > Cheers, Christiaan
> > 
> > > From FIX.4.3 onwards, OrderMassStatusRequest 35=AF is available, its  
> > > defined as “The order mass status request message requests the  
> > > status for orders matching criteria specified within the request.”
> > > 
> > > [http://fixprotocol.org/FIXimate3.0/en/FIX.4.3/body\_54536570.html](http://fixprotocol.org/FIXimate3.0/en/FIX.4.3/body_54536570.html)
> > > 
> > > > Hi, I’m new to FIX anf I’m wondering, if there is a possibility to  
> > > > get a list of all active orders which are in the market. Something  
> > > > like ‘getAllOrders(Account)’ would be fine.
> > > > 
> > > > If there is no such function, do I really have to keep track of  
> > > > all orders by myself? It seems pretty risky to do that…
> > > > 
> > > > Regards, Harald
