Support Board
Date/Time: Mon, 10 Feb 2025 14:56:17 +0000
Post From: ACSIL - sc.LatestDateTimeForLastBar - off by few milliseconds
[2020-04-11 17:39:49] |
ejtrader - Posts: 688 |
SC Team - As part of code troubleshooting - Noticed the sc.LatestDateTimeForLastBar to be off by few milliseconds. For example - Very last trade: Timezone: CST From Intraday file (as well as 1 trade chart) : 2020-04-09 15:59:59.004 | Close: 2787.00 From the variable - sc.LatestDateTimeForLastBar - 2020-04-09 15:59:59.001 Steps to check: - Open a 1 trade chart and look at the timestamp of that bar in chart values -- This is 2020-04-09 15:59:59.004 - Now print the value of sc.LatestDateTimeForLastBar -- This is 2020-04-09 15:59:59.001 Would you please review if there is a problem with the above variable? Edit - FYI - Checked in NQ/YM - instruments and this variable is fine. But it's off by 3 milliseconds for ES instrument - Date - 2020-04-09 - very last trade of the day. (Denali Datafeed). thanks Date Time Of Last Edit: 2020-04-12 21:30:24
|