Support Board
Date/Time: Sat, 04 Jan 2025 08:09:21 +0000
Post From: sc.ChartIsDownloadingHistoricalData == 1 always?
[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 |