Support Board
Date/Time: Fri, 29 Nov 2024 02:44:36 +0000
Post From: canceled stop order continues to have status SCT_OSC_OPEN
[2023-02-19 19:27:59] |
Sierra_Chart Engineering - Posts: 17218 |
If an ACSIL study cancels an order, and immediately during the same function call you are checking to see if it is canceled, you should find it canceled in the case of Trade Simulation Mode but you will not find it canceled in the case of non-simulated trading. Something to be aware of. More information: Automated Trading Management: Differences Between Live Automated Trading and Simulated Automated Trading When the trade order list is searched for open orders using the criteria "SCT_OSC_OPEN", it finds the order that was just canceled. That is, the order that was just canceled can be found using both the criteria "SCT_OSC_CANCELED" and "SCT_OSC_OPEN", meaning that it is in the trade order list twice, once as canceled (expected) once as open (not expected). Something is definitely wrong with your code. Check your code. This is not possible at all.
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, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2023-02-19 19:30:49
|