Support Board
Date/Time: Sun, 06 Sep 2026 09:17:10 +0000
Replay Time Precision
View Count: 284
| [2026-07-23 02:08:58] |
| Gradient - Posts: 219 |
|
Hi, I have a method that takes in an order id and looks up the execution time of the trade as a means of checking the elapsed time if the order is still working. If the elapsed time exceeds some threshold, the stale order is canceled. During a replay however I've attempted to use sc.BaseDateTimeIn to track the current time but realized it only records the start of the bar. Is there an alternative method with greater precision and or a specific method for tracking time during replays? Thanks |
| [2026-07-23 09:45:35] |
| User431178 - Posts: 905 |
|
Check here ACSIL Interface Members - Variables and Arrays ctrl + f -> "DateTime" ACSIL Interface Members - Variables and Arrays: sc.BaseDataEndDateTime[] ACSIL Interface Members - Variables and Arrays: sc.CurrentDateTimeForReplay ACSIL Interface Members - Variables and Arrays: sc.LatestDateTimeForLastBar |
| [2026-07-24 03:16:34] |
| Gradient - Posts: 219 |
|
Thanks that fixed the issue.
|
To post a message in this thread, you need to log in with your Sierra Chart account:
