Login Page - Create Account

Support Board


Date/Time: Sun, 09 Feb 2025 01:57:19 +0000



Post From: Proper Way to Detect When Historical Data Download Has Finished in ACSIL

[2020-05-10 16:30:23]
User41727 - Posts: 124
One more thing I have noticed: Usually, if a download will be necessary, sc.DownloadingHistoricalData will be set true immediately upon the first call into the study function, and sc.IntradayChartRecordingState will be either 'pending' or 'downloading'. But occasionally, it's set to false/'receiving RT data', and will only flip on subsequent calls even when using the same chart configuration. That's a problem when trying to detect the download early on without actually looking at the dates of the bars. Perhaps you could look into this to make sure it behaves consistently.