Support Board
Date/Time: Wed, 01 Jan 2025 14:29:52 +0000
sc.ChartIsDownloadingHistoricalData == 1 always?
View Count: 1409
[2016-05-26 06:29:55] |
onnb - Posts: 662 |
Using SC version 1418, I have SC disconnected from the feed. It is not downloading data as far as I can see. I refresh and recalc the chart and am getting that sc.ChartIsDownloadingHistoricalData is always 1. |
[2016-05-26 08:12:51] |
Sierra Chart Engineering - Posts: 104368 |
We are checking on this now.
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 |
[2016-05-26 09:19:29] |
Sierra Chart Engineering - Posts: 104368 |
Update to version 1419. Not sure why you had this condition. But we do not think you are going to have it in 1419. 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: 2016-05-26 09:19:48
|
[2016-05-26 17:54:28] |
onnb - Posts: 662 |
I am still seeing this in 1419
|
[2016-05-26 18:33:35] |
Sierra Chart Engineering - Posts: 104368 |
We do not observe a problem with this. And we can see no reason why it would occur. Here is the testing we did: Chart: BAC 1 Min #1 | Study: Test Function 3 | Downloading state: 0 | 2016-05-26 14:31:38
Intraday data recording state for symbol BAC is set to download 'Pending'. | 2016-05-26 14:31:39 HD Request # 3 | Downloading Intraday chart data for BAC to the file BAC.scid. Service: equities.us | 2016-05-26 14:31:39 HD Request # 3 | Download start Date-Time: 2016-05-26 14:11:59.000 | 2016-05-26 14:31:39 HD Request # 3 | Disabling Intraday chart updating for symbol during historical data download. | 2016-05-26 14:31:39 HD Request # 3 | Using server: scdf1.sierracharts.com port 10149 | 2016-05-26 14:31:39 Socket (0) | Resolved address ds6.sierracharts.com to IP 8.18.161.131. | 2016-05-26 14:31:39 Socket (8) | Receive buffer size: 524288 | 2016-05-26 14:31:39 Socket (8) | Send buffer size: 32768 | 2016-05-26 14:31:39 Socket (8) | Connected. | 2016-05-26 14:31:39 HD Request # 3 | Sending historical data logon request message. | 2016-05-26 14:31:39 HD Request # 3 | Requesting Intraday data. Start Date-Time: 2016-05-26 14:11:59. Record interval: 0. Symbol: BAC | 2016-05-26 14:31:39 Chart: BAC 1 Min #1 | Study: Test Function 3 | Downloading state: 1 | 2016-05-26 14:31:39 HD Request # 3 | Decompressing data. | 2016-05-26 14:31:39 HD Request # 3 | Receiving Intraday data for BAC starting at 2016-05-26 14:12:00 | 2016-05-26 14:31:39 HD Request # 3 | Truncating file to starting Date-Time of 2016-05-26 14:12:00 | 2016-05-26 14:31:39 HD Request # 3 | Timestamp of first Intraday data file record written: 2016-05-26 14:12:00 | 2016-05-26 14:31:39 Socket (8) | Shutdown and closed. | 2016-05-26 14:31:40 The network socket for historical data has been closed. | 2016-05-26 14:31:40 HD Request # 3 | Historical data for BAC is delayed because connection to main data feed is not present. Current data will be received upon connection. | 2016-05-26 14:31:40 HD Request # 3 | Received 2640 records from 2016-05-26 14:12:00 to 2016-05-26 14:31:36 (19.6 minutes) and wrote 2640 records for BAC | 2016-05-26 14:31:40 HD Request # 3 | Intraday download COMPLETE for BAC. Completion time: 0s. Unique request ID: 2 | 2016-05-26 14:31:40 Removed historical data download ID 2 | 2016-05-26 14:31:40 HD Request # 3 | Enabling Intraday chart updating for symbol. | 2016-05-26 14:31:40 HD Request # 3 | Reloading Intraday charts for BAC | 2016-05-26 14:31:40 Reloading all charts with filename: BAC.scid | 2016-05-26 14:31:40 BAC 1 Min #1 | Reloading chart. | 2016-05-26 14:31:40 + RecordCountDebug after loading intraday data: 1527566 | 2016-05-26 14:31:41 + LoadIntradayDataThread StopWatch: 0.98076811 seconds. | 2016-05-26 14:31:41 Chart: BAC 1 Min #1 | Study: Test Function 3 | Downloading state: 0 | 2016-05-26 14:31:41 Chart: BAC 1 Min #1 | Study: Test Function 3 | Downloading state: 0 | 2016-05-26 14:31:42 Chart: BAC 1 Min #1 | Study: Test Function 3 | Downloading state: 0 | 2016-05-26 14:31:43 Here is the function used for testing: SCSFExport scsf_TestFunction3(SCStudyInterfaceRef sc)
{ if (sc.SetDefaults) { // Set the configuration and defaults sc.GraphName = "Test Function 3"; sc.AutoLoop = 0; sc.FreeDLL = 0; sc.StudyVersion = 1; sc.UpdateAlways = 1; return; } int IsDownloading = sc.ChartIsDownloadingHistoricalData(sc.ChartNumber); SCString MessageText; MessageText.Format("Downloading state: %d", IsDownloading); sc.AddMessageToLog(MessageText.GetChars(), 0); } 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 |
[2016-05-26 18:47:59] |
onnb - Posts: 662 |
;) I don't know what to say I had this code if (sc.ChartIsDownloadingHistoricalData)
return; which compiles without warning |
[2016-05-26 18:55:13] |
Sierra Chart Engineering - Posts: 104368 |
OK, make sure you use as a function. That will solve the problem. 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 |
To post a message in this thread, you need to log in with your Sierra Chart account: