Login Page - Create Account

Support Board

Date/Time: Sat, 20 Oct 2018 20:37:45 +0000

[User Discussion] - autotrading working order status

Support Request:
[2013-04-10 23:27:35]
flyboy615 - Posts: 49

Before I sit down and write a function to do what I need, I thought I might check if it exists already. I am looking for a function that will return the status of the parent order based on the children. What this means is that I submit an order via my study using a twconfig file and capture the parent id. This order may have children and in any combination that I cannot predict. I would like to see the overall status of the parent based on the actual status of the child orders. I know that I can get the parent order and cycle through the various attached orders based on their internal ids found in the structure but it would be nice to have it already done :-)

[2013-04-11 00:50:08]
Sierra Chart Engineering - Posts: 65030
Sounds like you just need to write a function to do what you need.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2013-04-16 00:29:50]
flyboy615 - Posts: 49
Just a further question on the same topic. It looks like that when an order ( buy stop limit ) goes in the internal order id is that of the buystop, it then get converted to a limit order when the price gets triggered and that limit order gets a new internal ID. When it gets filled all attached child orders get the internal parent of the the limit order not the initial order. When I cycle through all the order there no orders with an internal parent order equal to that of the initial order that was submitted. How do I go about tracking this?


To post a message in this thread, you need to login with your Sierra Chart account:


Login Page - Create Account