Support Board
Date/Time: Fri, 24 Jan 2025 06:38:19 +0000
Time issue w/Accurate Trading System Back Test Mode
View Count: 652
[2018-12-28 20:07:23] |
User924791 - Posts: 12 |
SC 1854 There seems to be an intermittent issue with sc.CurrentDateTimeForReplay being incorrect. This usually happens after a holiday or weekend. Running a single chart replay for the most recent 5-week period shows the problem on 2018-12-06, 2018-12-10, and 2018-12-26. I've testing this with Skip Empty Periods true and then false; both show the identical behavior. Here's an example from Dec 26 that demonstrates the problem. s_SCOrderFillData FillEntry.FillDateTime provides the correct time: Replay 120X: F.US.EPH19 [CB] | 2018-12-26 15:31:17 bar 89779 --- Fill (OrderID 98981) Sold 1 @ 2469.00
sc.CurrentDateTimeForReplay is not correct, but is used by a time-of-day filter before executing the entry, which should have been filtered out and not executed:Replay 120X: F.US.EPH19 [CB] | 2018-12-27 02:27:08 bar 89779 --- SellEntry Limit Chase OrderID 98981 has completely filled at 2469.00
This issue renders the time-of-day filter inaccurate during replay. Date Time Of Last Edit: 2018-12-28 20:10:29
|
[2018-12-29 04:18:20] |
Sierra Chart Engineering - Posts: 104368 |
This variable is explained thoroughly in the documentation: ACSIL Interface Members - Variables and Arrays: sc.CurrentDateTimeForReplay sc.GetCurrentDateTime() 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: 2018-12-29 04:18:29
|
To post a message in this thread, you need to log in with your Sierra Chart account: