Support Board
Date/Time: Fri, 29 Nov 2024 02:47:33 +0000
Post From: canceled stop order continues to have status SCT_OSC_OPEN
[2023-02-19 13:22:10] |
Berliner JFK - Posts: 45 |
Based on the fact the a disconnect / reconnect solves this problem, and what I found in the documentation this appears to be a housekeeping issue with Sierra Chart. I'm guessing the order is showing up twice, still as SCT_OSC_OPEN and after canceling as SCT_OSC_CANCELED. Because I'd like to to avoid a programmatic disconnect / reconnect I found this possibility: sc.RefreshTradeData(). Here is the text in the documentation: Normally there is never a reason to use this function. It is generally never recommended to make a call to this function.
This seems to be the perfect function to correct this problem, but it seems like you recommend not to use it. Will calling this function cause problems in live trading? Thanks! Date Time Of Last Edit: 2023-02-19 13:24:30
|