Support Board
Date/Time: Mon, 23 Dec 2024 18:57:18 +0000
Post From: IsWorkingOrderStatus() with server-side bracket OCO
[2015-10-07 03:42:56] |
Sierra Chart Engineering - Posts: 104368 |
What is very difficult about this is there are numerous statements from you that do not make sense based on how orders actually work. To start off with, this is not correct: The given examples for walking orders, and continuing if a working order, are this:
It continues, if it is not a working order. This is simply not true: But that doesn't work if it's a server-side bracket OCO parent at CTS, because the order status is always SCT_OSC_FILLED;
The order will initially have a working order status and maintain that status until it is filled.This also does not make sense: in the event that the server-side bracket is completely childless; note, TST told me it's possible for a server-side bracket OCO to fill without an attached SL child,
If you have an order without child orders, it is not a bracket order. So this cannot be true either. If the order set does not contain a Stop order, it is not a bracket to begin with.If you know the Internal Order ID of the parent order, simply iterate through the orders looking for the order with that same Internal Order ID and then see if it is working. Why would that be difficult? Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2015-10-07 03:45:00
|