Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 00:34:36 +0000



sc.ChartIsDownloadingHistoricalData always returning 0

View Count: 308

[2023-10-15 16:55:56]
User562525 - Posts: 33
If I open a chart that has not yet previously been downloaded for example EOD data of AAPL, then when doing

sc.ChartIsDownloadingHistoricalData

It always returns 0 even though the data is downloading and then completes downloading.

However if the data has been previously downloaded and is updating the data then

sc.ChartIsDownloadingHistoricalData will return 1 while downloading and 0 when complete.
[2023-10-15 19:00:35]
Sierra_Chart Engineering - Posts: 17187
Is that function being called from a different chart?
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-10-16 04:42:54]
User562525 - Posts: 33
I have tried the function both from another chart and from the current chart as well. The result is the same. It always returns 0 if there was no previous data for the symbol. It only returns 1 when there was previous data for the symbol while downloading updated data.
[2023-10-16 12:57:27]
Sierra_Chart Engineering - Posts: 17187
We know why this happens because the chart, is not considered in a loaded state and therefore not considered usable. This particular state should be ignored though in this case.

We will work on a solution.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-10-16 12:57:52
[2023-10-16 15:10:36]
User562525 - Posts: 33
Thank you, I look forward to the fix.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account