Data/Trade Service Settings
- Service Specific Settings
- Common Settings
- Automatic Server Connection Management
- Intraday Data File Management
- Saving and Loading Service Settings
- Bandwidth Usage
The Data/Trade Service Settings window is for viewing and specifying settings for Sierra Chart to work with Data and Trading services.
The Data/Trade Service Settings window also contains various settings related to connectivity and the processing of market data.
To display the Data/Trade Service Settings window, select Global Settings >> Data/Trade Service Settings on the menu.
Press OK to save the settings or Cancel to not save them.
Service Specific Settings
The image below shows the Data or Trading Service specific settings on the Data/Trade Service Settings window.
The Service specific settings change depending upon what Service is selected on this window.
For descriptions of the Service specific settings, refer to the Data and Trading Services page for links to pages for the service you are using.
Each page for a specific Data or Trading Service contains the instructions for setting the Service specific controls.
The service specific settings are not documented on this page.
You will need to consult the corresponding Data or Trading service page for the service, for the specific set up instructions for that service.
You can have the Intraday charts not receiving real-time data from the Sierra Chart Exchange Data Feed periodically update by setting Global Settings >> Data/Trade Service Settings >> Service Settings >> Intraday Download Interval for Non-Real-time Symbols (min) to the interval in minutes you want to have them periodically updated. Setting this to 0 will prevent automatic updating. The lowest it can be set is 20 minutes.
This control displays and sets the Data or Trading service you want to use.
If the selected service supports market data only and not live trading it will have a [data] suffix.
If the selected service supports market data and live trading functionality it will have a [trading] suffix.
Connect on Program Startup
If this option is checked, Sierra Chart will connect to the Data and Trade servers when you start Sierra Chart.
Reconnect on Failure (Global Settings >> Data/Trade Service Settings)
When this option is enabled, then Sierra Chart will reconnect to the Data and Trade servers when the connection is detected to be lost or it will retry to connect to the servers if it could not connect initially.
It is recommended to keep this option enabled in most cases.
Also, when this option is enabled, when using the Sierra_hart Exchange Data Feed with a supported Trading service, when the connection to the Trading server is lost, the data feed will continue to be received from the Sierra Chart Exchange Data Feed which comes from a different server.
HTTP SSL Proxy Port
For Data or Trading services that use a HTTP SSL connection, this specifies the port number used by a HTTP proxy for SSL connections when it is different than 443.
Currently, this setting only applies to TD Ameritrade.
Normally this should be set to zero if a HTTP proxy is not used on your network. This will normally be the case. A HTTP proxy may be use in a corporate network.
If there is a HTTP proxy used on your network, and a different port is used for SSL connections other than 443, then specify the port in this box.
Refer to the Time Zone Settings page for complete details about this setting.
Intraday Data Storage Time Unit (Global Settings >> Data/Trade Service Settings)
This sets the time period for each record of data in an Intraday chart data file which is used to build the chart bars in Intraday charts. These files have a .scid file extension.
Setting this to 1 Tick means there will be one data record for each tick/trade. It is necessary to use 1 Tick in the case when you are using a Bar Period Type in an Intraday chart based upon a Number of Trades, Volume, Range, Reversal, Renko, Delta Volume, or Price Changes amount, for 100% accuracy.
Although even with these Intraday chart Bar Period Types, you may want to use 1 Second as an alternative since it is more CPU efficient. This is less accurate but still may work sufficiently for you. 1 Tick will provide you 100% accuracy for these Bar Period Types. However, it will use more disk space, cause slower Chartbook loading, and slower historical data downloading.
If you are only using chart bars that are based upon a fixed amount of time, like based upon a specific amount of minutes, then you can use an Intraday Storage Time Unit setting that divides evenly with no remainder into the shortest bar time frames you will be working with. For example, 30 seconds divides evenly into 1 minute with no remainder.
Intraday data files do use compression. However, there will be an increase in disk space usage with smaller Intraday Data Storage Time Units. Using 1 Minute will save disk space and provide maximum performance.
If you do not use chart bar periods less than 1 minute, then use a setting of 10 Seconds or higher.
The Intraday Data Storage Time Unit setting affects data collected in real-time and the historical Intraday data downloaded unless the Data/Trading service you are using only provides historical data in 1 Minute units.
All Ticks/Trades received from the data feed are stored, independent of whatever this setting is. No data is missed by using a setting of 1 Minute. Your charts will still update at the same speed. This setting is also independent of the Chart Update Interval in General Settings.
When using a setting of 1 Tick, any Intraday Bar Period Type and bar duration can be used and will be accurate, including bar periods of Days. The same is true with higher settings, but the accuracy becomes less with the following Bar Period Types: Number of Trades, Volume, Range, Reversal, Renko, Delta Volume, or Price Changes . Also, when using for example a setting of 10 Seconds, then it is not possible to create 1 second chart bars.
The Intraday Data Storage Time Unit setting has no effect on Market Depth data or Time and Sales data.
Anytime this setting has been changed, in order to apply it to existing historical data in the charts, go to an Intraday chart for each symbol and select Edit >> Delete All Data and Download. This only needs to be done once for each symbol. Refer to the Deleting and Downloading Intraday Data for All Charts documentation for instructions to re-download data for multiple symbols at once.
Number of Stored Time and Sales Records
This setting controls how many Time and Sales records Sierra Chart will maintain in memory during a Sierra Chart session. Each Time and Sales record is equivalent to one trade or one Bid/Ask quote update. The Number of Stored Records applies for each symbol being tracked.
Using a high Records setting could potentially take a considerable amount of memory. It is recommended to maintain about 5000 Records. If you use 100000, that is going to consume a lot of memory!
The Number of Stored Time and Sales Records is completely separate from charting. It is only used for the Time and Sales window, for the Bid & Ask Depth Bars study, the Time and Sales studies, and for other specialized purposes which rely on Time and Sales data. Studies like the Volume by Price study do not rely on this data.
Changes to this setting do not go into effect until the next reconnection to the data feed. To do this, refer to Reconnecting to Data Feed.
Maximum Historical Intraday Days to Download >> Non-Tick Data / 1-Tick Data (Global Settings >> Data/Trade Service Settings)
To access these settings, select Global Settings >> Data/Trade Service Settings.
The Maximum Historical Intraday Days to Download setting controls the maximum number of days of historical Intraday data that will be downloaded from the remote historical data server when historical Intraday data is downloaded for a symbol.
There are separate settings for Non-Tick Data and 1-Tick Data. Non-Tick data is Intraday data downloaded from the data server which has a timeframe greater than 1 tick/trade. 1-Tick Data is Intraday data downloaded from the data server which is tick by tick. Each tick is 1 trade in this case.
The Maximum Historical Intraday Days to Download >> 1 Tick Data setting applies when the Intraday Data Storage Time Unit is set to 1 Tick. The Maximum Historical Intraday Days to Download >> Non-Tick Data setting applies when the Intraday Data Storage Time Unit is set to a setting greater than 1 Tick.
However, in the case of when the Data/Trading service supports both historical Minute data and Tick data, there are two separate downloads performed. One for Minute data which uses the Non-Tick Data setting, and one for 1 Tick data which uses the 1-Tick Data setting. This is only true in the case of IQ Feed.
If this value is higher than the number of days available on the server, then only the number of days of Intraday data on the server will be downloaded.
The amount of Historical Intraday data that will actually be downloaded for a symbol depends upon the last Date-Time in the Intraday data file. If the file is empty and it is therefore a new Intraday data file, then this Maximum Historical Intraday Days to Download setting will exactly control the number of days downloaded, assuming the server has the same amount of data available. If this setting is set to 90, but the file was only missing 1 day of data from the last Date-Time in the file to the present time, then only 1 day of data will be downloaded.
When you increase this setting, then this will not automatically cause more data to be inserted into existing Intraday data files. You will need to go to an Intraday chart for the symbol you want to get more data for and then select Edit >> Delete All Data and Download on the menu. You only need to do this once per symbol.
The settings of an individual chart do not have any effect upon the historical Intraday data which is downloaded. Although the only exception to this, is when using the Continuous Contract option in a chart. In this case the number of days of historical data downloaded for historical futures contract symbols is not going to follow the Maximum Historical Intraday Days to Download and instead the required data is downloaded. However, this only is true in the case of where the data has to be downloaded for the symbol and has not already been.
Reducing the Maximum Historical Intraday Days to Download >> 1-Tick Data Setting
When using some Data and Trading services (like IQ Feed), it can be slow to download 1 Tick data due to how those services work. Follow the instructions below to reduce the Maximum Historical Intraday Days to Download >> 1-Tick Data setting in order to increase the speed of historical Intraday data downloading.
- Select Global Settings >> Data/Trade Service Settings on the menu.
- Set the Maximum Historical Intraday Days to Download >> 1-Tick Data to 31 or lower.
- If Sierra Chart is currently connected to the data feed, and you want to cancel the existing historical Intraday data downloads and use this new lower setting, then select File >> Disconnect. After this, select File >> Connect to Data Feed.
Enable FIX Logging
Sierra Chart uses FIX connections to various supported Trading services.
When this option is enabled, a log file is maintained for the FIX connection which contains the sent and received messages. Heartbeat messages and market data full refresh and incremental refresh messages are not saved because those use too much space.
The advantage of logging messages is that if there is ever a problem with trading, this log file provides additional data about the messages exchanged.
The log files are saved in the Logs subfolder in the folder Sierra Chart is installed to.
This option does not apply to Trading services that do not use the FIX protocol. It does not apply to DTC Protocol connections.
If you need to provide a FIX log to Sierra Chart support, then refer to Providing FIX Log to Support.
Allow Support for Sierra Chart Data Feeds
The Allow Support for Sierra Chart Data Feeds option only applies if you have activated the Sierra Chart Real-Time and Historical Exchange Data Feed on your Sierra Chart account.
To use this data feed in a copy of Sierra Chart you have installed, this option must be enabled. To not use the Sierra Chart Real-Time and Historical Exchange Data Feed and instead use your Trading service provided data feed, then this option must be disabled.
This option is assumed to be enabled, regardless of the actual setting, when the Service setting on the Data/Trade Service Settings window is set to SC Exchange Data.
After enabling or disabling this option, it is necessary to reconnect to the data feed with File >> Disconnect and File >> Connect to Data Feed.
Support Alternate Forex Historical Data
Using Interactive Brokers: When this option is enabled, any IB -CASH- symbol for the major Forex crosses, will download historical Intraday data from the Sierra Chart historical data server. This provides more history and better downloading performance.
Download Dividend Adjusted Historical Data (Global Settings >> Data/Trade Service Settings)
When this option is enabled, then the Historical Daily stock data downloaded will be adjusted for stock dividends. Otherwise, if it is unchecked the data will not be adjusted. This only applies to the Sierra Chart Historical Data service.
After changing this setting, it is necessary to re-download the data in the Historical Daily charts by selecting Edit >> Delete All Data and Download for the data in the chart to be updated. This only needs to be done once per symbol and not per chart if the symbol is the same on the charts.
SC Server Settings >> Use Port 80 for Historical Data (Global Settings >> Data/Trade Service Settings >> SC Server Settings)
Normally this option should be disabled. Only enable this option when the standard port for downloading historical data from the Sierra Chart historical data server, which is 10149, is blocked or throttled on your network. When this option is enabled, port 80 will be used instead.
SC Server Settings >> Always Use Port 443 For Real-time Data (Global Settings >> Data/Trade Service Settings >> SC Server Settings)
Enable this option to always use port 443 for real-time market data for Sierra Chart provided data services.
SC Server Settings >> DTC Protocol Server (Global Settings >> Data/Trade Service Settings >> SC Server Settings)
For complete documentation for the DTC Protocol server, refer to DTC Protocol Server.
Advanced >> Reconnect Daily At (Global Settings >> Data/Trade Service Settings >> Advanced)
When this option is enabled, Sierra Chart will reconnect to the data and trade servers at the specified time in the time zone specified. The specified time needs to be in the time zone set to the right of the time control. The time is of the format of HH:MM:SS.
Advanced >> Reconnect Only On Sunday (Global Settings >> Data/Trade Service Settings >> Advanced)
This option is only valid when Reconnect Daily At is enabled. When Reconnect Only On Sunday is enabled, then the reconnection at the set time only occurs on a Sunday.
Advanced >> Reconnect Delay in Milliseconds (MS) (Global Settings >> Data/Trade Service Settings >> Advanced)
This setting is only valid when Reconnect Daily At is enabled. When Reconnect Delay in Milliseconds is set to a nonzero number, this specifies the number of milliseconds after the specified time to reconnect that the reconnection will take place.
The purpose of this is to allow a delay for any new Symbol Settings to be retrieved. A recommended value is 10000 milliseconds. Otherwise, the standard delay is used if it is set to 0.
Advanced >> Intraday File Flush Time in Milliseconds (Global Settings >> Data/Trade Service Settings >> Advanced)
This setting specifies the time interval where data which has been recorded to Intraday data files will be flushed to the actual operating system file. This is specified in milliseconds.
In almost all cases this needs to be set at 0. In this case the flush time will be 10000 milliseconds. This should never be changed unless you know what you are doing and it is detrimental performance wise to be setting this lower than 500 ms.
Automatic Server Connection Management
The following two options in Global Settings >> Data/Trade Service Settings need to be enabled for Sierra Chart to automatically connect to the data and/or trade servers upon start up and to automatically reconnect when the connection is lost.
- Connect on Program Startup
- Reconnect on Failure
Intraday Data File Management
To open the Intraday Data File Management window, select Global Settings >> Data/Trade Service Settings and press the Data File Management button.
This window is for compressing the older data in Intraday data files to a higher timeframe per record in order to reduce the file size and increase the speed at which data is loaded into an Intraday chart from the chart data file.
This feature does not run automatically. It can only be manually started through the Intraday Data File Management window.
This functionality has been redeveloped in version 1619 and higher. During the compression, a temporary file with file extension tempcompressed is now used for performance and safety. This file is copied back to the original Intraday data file and the temporary file is deleted.
Compress Records Older Than
The Compress Records Older Than setting specifies the number of days from the last date in the chart data file that the records which are older than this number of days will be compressed to the Intraday Data Storage Time Unit specified by Compress to Data Unit Size.
Compress to Data Unit Size
When data records are compressed together, Compress to Data Unit Size specifies the timeframe of the final output record.
This is the same as the Intraday Data Storage Time Unit.
When this is set to a setting higher than 1 Tick which would be expected otherwise there would be no point in using this feature, then any Chart Studies which have a dependency on 1 Tick data for accuracy will have less accuracy when built from the data being compressed.
Press the Manual Start button to begin the process of compressing data of all of the Intraday data files in the Data Files Folder. The Compress Records Older Than and Compress to Data Unit Size settings apply.
Errors and Interrupting Compression Process
When an Intraday data file is being compressed, the progress and any error messages related to the compression will be displayed in the Window >> Message Log window.
If the compression operation completes and in the Sierra Chart Data Files Folder (C:\SierraChart\Data by default), you see temporary files with names like [symbol].scid.tempcompressed, then check the Message Log for any errors encountered.
If you interrupt the compression process before it completes, there will also be at least one [symbol].scid.tempcompressed file which remains.
Try running the compression again and enable the Delete Any Previous Temporary Files Before Starting Compression option on the Intraday Data File Management window before pressing the Manual Start button.
If you need help with understanding any error messages in the Message Log, then contact Sierra Chart Support. Provide a copy of the relevant Message Log lines.
Saving and Loading Service Settings
The Data and Trading Service Specific Settings on the Data/Trade Service Settings window, can be saved and restored at a later time. These are the service settings in the list box with the Service Setting and Value fields.
Only the Service specific settings can be saved and loaded. Not the common settings.
This is useful if you have different sets of settings for the same Data or Trading service and you need to switch between them.
The settings for different Data and Trading services are already stored separately by Sierra Chart.
Below are the descriptions of the available commands for this feature and explanations of how to use them.
- Saved DTS Configuration >> Load: This button is used to load a saved set of settings into the service specific settings controls. It is first necessary to select an existing configuration from the DTS Config list box before pressing this button. Refer to the image below. When loading existing settings, the Service setting will be changed to the service that the settings are for.
After you Load the new settings for the same Service that Sierra Chart is already connected to and press OK, it is the necessary to reconnect to the data feed to connect using those new settings.
- Saved DTS Configuration >> Save: This button is used to save the service specific settings. It is first necessary to type in a name in the DTS Config box or select the name from the list that you want to save the settings as.
- Saved DTS Configuration >> Delete: This button is used to delete previously saved settings. It is first necessary to select the name of the previously saved settings in the DTS Config list box.
Occasionally we are asked about the bandwidth usage of Sierra Chart. This would be the number of bits per second on average Sierra Chart would use for received data.
It is impossible for us to answer this question with any degree of accuracy. The reasons for this are as follows:
- We do not know the bandwidth usage of the particular Data or Trading service you are using and the bandwidth usage of those services.
- We do not know how many symbols you are tracking.
- We do not know the market activity of those symbols.
- The amount of bandwidth usage is also affected by the amount of historical data being downloaded. Although historical data downloading is relatively infrequent.
You are able to monitor the bandwidth usage of an insectionidual process running within Windows. From within Windows you can access this through Windows Task Manager >> Performance >> Resource Monitor. For further information, consult with the documentation for the Resource Monitor.
*Last modified Thursday, 11th January, 2018.