Interactive Brokers Trading Service
- What is Included
- Setup Instructions
- Interactive Brokers Symbol Formats and Common Symbols (Opens a new page)
- Market Data Not Subscribed Through Interactive Brokers
- Interactive Brokers Market Data Problems
- Automatically Logging Into TWS
- Running Multiple TWS Instances
- Using Multiple Sierra Chart Instances with TWS
- Market Depth Data and Issues
- Accessing Level 2 / Market Depth data for Stocks
- Using Interactive Brokers True Real-Time Bar Data
- About Interactive Brokers
- Using Financial Advisor Accounts
- Current Daily High and Low for Forex Data
- Trading Related Error Messages
- Trading Related Issues
- Interactive Brokers Historical Data Issues and Solutions
- Missing Data Due to Incorrect Time Zone Settings
- Interactive Brokers Market Data Error/Status Messages
- Interactive Brokers Historical Daily Data
- Time and Sales Window Data
- Orders Disappear after Being Submitted Although They Are Still Open
- Interactive Brokers Stop Order Trigger Method
- Procedure for Providing TWS Log Files
- Historical and Real-time Stock/Equities Data Volume Differences
- Using Sierra Chart Historical and Real-time Forex Data and Trade through Interactive Brokers Account
- Automatic Monthly Confirmation of Live Trading Account Existence for Sierra Chart Exchange Data Feed CME Data
Sierra Chart works with the Interactive Brokers (Interactive Brokers) trading service. This service provides the Sierra Chart software with historical Daily and historical Intraday data, streaming real-time data, and complete trading services for all types of markets around the world.
The Sierra Chart trading interface fully supports trading with Interactive Brokers. To use Interactive Brokers with Sierra Chart, follow the Setup Instructions below.
We only recommend the use of Interactive Brokers for experienced traders, those who are technically competent with computers and software, and are willing to accept occasional technical issues. The large length of this page confirms the complexity and issues that you might face when using Interactive Brokers. Interactive Brokers does provide many advantages and can be a good choice for many traders, but can have some technical challenges as well.
Support policy: Support from Sierra Chart for technical issues encountered when using Interactive Brokers, is within the discretion of Sierra Chart. There are some complex technical issues that a user may encounter when using Interactive Brokers, that can have various causes which are on the side of Interactive Brokers and therefore are outside of the control of Sierra Chart. Therefore these will be hard for us to understand and assist with because they are not within Sierra Chart and the Interactive Brokers system is a highly complex system with many reasons why things can go wrong.
When using Sierra Chart for the first time you should not judge the performance of Sierra Chart using Interactive Brokers since it provides a substandard market data system. When evaluating the charting performance of Sierra Chart both historically and in real-time we recommend using the Sierra Chart Real Time and Historical Forex and CFD Data Service which is provided with all Service Packages.
What is Included
- Streaming Real-Time Data: Yes.
- Historical Intraday Data: Yes. Limited amount from Interactive Brokers. When using the Sierra Chart Standard Service Package or higher and Global Settings >> Data/Trade Service Settings >> Allow Support for Sierra Chart Data Feeds is enabled, the Sierra Chart Historical Data Service is used for major futures contract symbols and US stock symbols, providing at least 5 years of historical Intraday data. The data from the Sierra Chart Historical Data Service is 10-15 minutes delayed. The most recent 10 to 15 minutes will still be downloaded from Interactive Brokers. The historical Intraday data from the Sierra Chart Historical Data Service has a minimum time unit of 1 second when using the Standard Service Package and 1 Tick when using Advanced Service Package.
- Historical Daily Data: Yes. 1 year if from Interactive Brokers. When using Sierra Chart Standard Service Package or higher, Historical Daily data for major futures contract, cash index and US stock symbols is provided by the Sierra Chart Historical Data service. In this case 10+ years are available.
- Historical BidVolume and AskVolume: No from Interactive Brokers. Yes when the Sierra Chart Historical Data Service is used. See above.
- Live Trading Services: Yes.
- Simulated Trading: Yes.
- Order Types Supported: All.
- Server Managed OCO (Order Cancels Order): Yes when Global Settings >> General Trade Settings >> Use Server Side OCO and Bracket Orders is enabled (applies to 1166 and higher).
- Server Managed Bracket Orders: Yes.
- Automated Trading (applies to Live or Simulated): Yes.
- Supports Negative Offset for Stop-Limit Orders: Yes.
Amount of Historical Data Available: For historical data downloaded from Interactive Brokers directly and not the Sierra Chart Historical Data Service, Interactive Brokers provides 1 year of Historical Daily and 1 year of historical Intraday data. Sierra Chart will always download the full 1 year of Historical Daily data for Historical charts. For Intraday charts, it is not very practical to download 1 year of historical Intraday data all at once from Interactive Brokers. Normally the download will fail and it will take a very long before it completes. Downloading 30 days is more practical. The instructions below explain how to specify the number of historical Intraday days to download.
If you are having a problem connecting to the Interactive Brokers Trading service, then be sure to follow through all of the steps below.
- To use the Interactive Brokers trading service, you need an account with Interactive Brokers. Go to the Interactive Brokers website and open an account with them if you do not already have one.
It is possible to use an Interactive Brokers demo account and log into TWS with the username edemo and password demouser. This should only be used for test purposes though.
- Run the Interactive Brokers Trader Workstation (TWS) software. It is highly recommended that you use the stand alone TWS software. Not the browser based TWS.
- Select Edit >> Global Configuration on the Interactive Brokers TWS software menu.
- Go to API >> Settings.
- Enable the Enable ActiveX and Socket Clients option.
- Set the Socket Port to 7496.
- Disable the Read-only API option.
- Make sure the Component Exchange Separator setting is set to a /.
- Add a Trusted IP Address for 127.0.0.1.
- Go to API >> Precautions in the TWS Configuration window.
- It is essential that you enable Bypass Order Precautions for API Orders.
- Press OK to save the Interactive Brokers API settings.
- Go to Sierra Chart. Select Global Settings >> Data/Trade Service Settings on the menu.
- Click on the Service list box arrow. Select Interactive Brokers from the list.
- Select the Service Setting >> Server Address and Port setting. It needs to be set to 127.0.0.1:7496. If the TWS software is running on a computer different than Sierra Chart, then the Server Address can be set to the IP address where TWS is running.
- Enable the Connect On Program Startup option.
- Enable the Reconnect On Failure option. Optionally enter your Interactive Brokers username and password in the Service Setting >> Username and Service Setting >> Password boxes. By entering your Interactive Brokers username and password, this enables Sierra Chart to log you into the standalone TWS automatically at the TWS New Login window. Refer to the Automatically Logging Into TWS section.
- For the downloading of historical data to work correctly, your computer's Date and Time need to be set correctly. The last Date and Time in the chart also needs to be correct for that bar. Otherwise, some or all of the data received from Interactive Brokers may be filtered out.
If you have problems with historical data, like pacing violations, refer to Interactive Brokers Historical Data Issues and Solutions.
Multiple Concurrent Connections to TWS: To have multiple copies of Sierra Chart connected to Interactive Brokers Trader Workstation (TWS), then each copy of Sierra Chart needs to be set to a different Instance Client ID number, set with the Service Setting >> Instance Client ID setting in the Global Settings >> Data/Trade Service Settings window. You can use any of the listed Instance Client ID numbers. It does not matter. You only need to be certain that each copy of Sierra Chart uses a different Instance Client ID number.
This Instance Client ID number is given to TWS when Sierra Chart connects to TWS.
Accessing All Trade Orders from TWS: If you want to have access to all trade orders entered from TWS as well as orders entered from Sierra Chart, then you will need to set the Instance Client ID setting to 0.
- Set the Time Zone setting to the time zone that you want times displayed in.
- Set the Intraday Data Storage Time Unit to what you require.
- Set the Service Setting >> Default Currency Code to the currency code that will be specified with stock symbols when a currency code or exchange is not specified with the symbol. This currency code will be used in cases where the exchange is automatically set to SMART.
- Press OK to close the Data/Trade Service Settings window.
- Uncheck the Global Settings >> General Trade Settings >> Use Server Side OCO Orders | Use Server Side Bracket Orders options if you want to have Sierra Chart provide the OCO and Bracket order management rather than relying upon what Interactive Brokers provides.
The Interactive Brokers provided bracket order functionality may not work well. Therefore, we recommend keeping these options disabled.
However, for the ultimate safety, you may want to enable these options and rely on the Interactive Brokers functionality because if you lose connectivity to Interactive Brokers, then Sierra Chart cannot properly manage OCO orders.
- Make sure TWS is running. To connect to the data and trading server, select File >> Connect to Data Feed on the menu.
- Resolving Connection Issue [link]: If the Window >> Message Log window opens and displays messages indicating there was an error connecting to TWS, then perform the following steps:
- Select File >> Disconnect to prevent further connection attempts.
- Restart TWS (Interactive Brokers Trader Workstation) and make certain TWS is running. It should be running on the same computer where Sierra Chart is installed to.
- Carefully review the setup steps above again to be certain all of the settings are correct. The most important steps to follow are 2 through 19 above.
- Make sure the Global Settings >> Data/Trade Service Settings >> Server in Sierra Chart is set to localhost:[port number]. The port number can be any port number and further information about this is below.
- Be sure to follow the step above to add a Trusted IP Address in the TWS API settings (step 9).
- Disable any firewall software you are running. The built-in operating system firewall can be kept enabled, but you may want to try disabling it as well or make sure it is not blocking TWS or the specified Socket Port.
- If one of the messages in the Message Log says Failed to connect to the data and trade server. Winsock error: (10061) No connection could be made because the target machine actively refused it., then try using a different socket port. To change the socket port, select Global Settings >> Data/Trade Service Settings. In the Server box enter localhost:7497 (you can use any number). In Interactive Brokers TWS, select Edit >> Global Configuration >> API >> Settings >> Socket Port and enter 7497 (use the same number you have set in Sierra Chart).
- Remove your TWS Username and Password in Global Settings >> Data/Trade Service Settings to prevent Sierra Chart from automatically acknowledging any connection related dialog windows.
- Try connecting to the Data and Trading server again in Sierra Chart by selecting File >> Connect to Data Feed on the menu.
- If there still is an error connecting, then review help topic 1.5.
- To open a Historical Chart, an Intraday Chart or a Trading DOM, select File >> Find Symbol on the menu. Locate the symbol in the lists and press the appropriate button. Stock symbols are not listed and have to be manually entered.
If you do not see the symbol listed that you want to use, refer to the Interactive Brokers Symbols page to determine the proper symbol format and manually type the properly formatted symbol into the Selected Symbol box on the Find Symbol window and then open a chart or Trade DOM.
In the case of stock symbols, some of them will require the format which specifies both the exchange and primary exchange. This is true in the case of MSFT and many other symbols. Refer to Interactive Brokers Stock Symbol Format.
You can also yourself add symbols which will be listed in the Find Symbol window, through the Global Symbol Settings.
- Symbol Limits: Interactive Brokers may limit the number of symbols you can receive data on at the same time. This limit may be increased based on your trading volume. If you try to get Charts or Quotes lines for more than the allowed symbols, then those Charts or Quote lines will not update. You can tell how many symbols Sierra Chart is currently tracking by looking at the number after ST= in the right most status box below the Sierra Chart menu. Once you exceed the limit you need to do two things to get updates on the symbols that go over the limit. Reduce the number of Charts open and the number of Quote lines you are using on a Quote Board or Spreadsheet to below allowed number of symbols, and then reconnect to the data and trade server by selecting File >> Disconnect on the menu and File >> Connect to Data Feed on the menu.
- Historical Order Fills: Upon a connection to the Interactive Brokers Trader Workstation, Sierra Chart will request 10 days of historical order fills for all of the accounts available on the logged in instance of Trader Workstation. This is to insert any missing order fills into the Sierra Chart Trade Activity Log for trade reporting. However, you may not receive 10 days of historical order fills upon the connection. If you do not, then open the Trade Log in Trader Workstation (TWS) and while the Trade Log is displayed, reconnect to TWS from Sierra Chart by selecting Disconnect and Connect to Data Feed on the File menu.
To receive historical order fills, you also need to have Global Settings >> Data/Trade Service Settings >> Service Setting >> Download Historical Order Fills on Connect set to True.
- Continue with step number 3 on the Getting Started documentation page.
Market Data Not Subscribed Through Interactive Brokers
In order to receive market data for charts and quote lines within Sierra Chart, it is necessary you are subscribed to the exchange that the Symbol is listed on. If market data is not subscribed, you will see error messages similar to the following in the Sierra Chart Message Log and you will not receive historical and/or real-time data for the symbol:
In this case you will need to contact Interactive Brokers and subscribe to market data from the particular exchanges mentioned in these messages.
After this is done, restart Trader Workstation. Sierra Chart will establish a new connection and you should then receive market data.
Interactive Brokers Market Data Problems
There are a wide array of issues you can potentially have with Interactive Brokers market data. They are as follows:
- Missing historical data (moderately common)
- Slow historical data downloading (common)
- Real-time data not updating (uncommon)
- Incomplete price and volume data ( Completely normal and routine. Happens all the time.)
- Confusing and complex symbology which can change from time to time (moderately common)
- No real-time data (Moderately common and depends upon symbol. In particular CFD symbols.)
These issues can be solved by using the Sierra Chart Exchange Data Feed which integrates with Interactive Brokers trading services.
If you are using the Sierra Chart Numbers Bars feature, then the Interactive Brokers data feed is completely unacceptable for this study and it will require using the Sierra Chart Exchange Data Feed instead.
Automatically Logging Into TWS
When the Interactive Brokers Trader Workstation software is started and the TWS Login window is displayed, Sierra Chart can enter your TWS Username and Password into the TWS Login window and automatically log into TWS when connecting to the data feed in Sierra Chart.
Follow the instructions below.
- Select Global Settings >> Data/Trade Service Settings on the menu.
- Enter your Interactive Brokers Username and Password in the Username and Password fields for Interactive Brokers.
- Enable the Reconnect on Failure option.
- If you do not want to use this feature or have difficulty with it, then clear your Interactive Brokers Username and Password in the Data/Trade Service Settings window.
- Press OK.
- Start the Interactive Brokers TWS software. The Interactive Brokers TWS Login window will display. What we have found in the newer versions of this login window is that you may need to click in the User Name box to give it the focus in order for the automatic login process to work properly.
- To automatically login to TWS when the TWS Login window is displayed, go to Sierra Chart and select File >> Connect to Data Feed on the menu.
- You may need to switch back to the TWS Login window. Do not switch to another program on your desktop while waiting for the automatic login.
- If Sierra Chart is waiting to reconnect to the data feed ( Waiting to Reconnect is shown in the status window below the Sierra Chart menu), it will also log you into TWS. Keep in mind that when Sierra Chart is waiting to reconnect, the login may not occur right away. To force an immediate connection in this case, select File >> Connect to Data Feed from within Sierra Chart.
- To automate the process to start both the Sierra Chart software and the Interactive Brokers TWS software by using a single shortcut, then you will need to create an operating system command line batch file. This batch file needs to start Trader Workstation (TWS). To find the specific command line to use, go to the existing icon that you use the start TWS. Right-click on it and select Properties. Look at the "Target". That is going to be the command line that you need to use in the batch file. You also need to add another line in the batch file to start Sierra Chart.
- If there any difficulties with this feature, then it is outside the scope of our support to help with it. Do not use it in that case.
Running Multiple TWS Instances
This section is relevant if you want to run multiple TWS instances when you have two or more Interactive Brokers accounts that you wish to use at the same time. If you simply want to connect multiple copies of Sierra Chart to a single TWS instance, then you only need to configure each copy of Sierra Chart to work with Interactive Brokers and connect them to the single copy of TWS that is running. In this case, follow the Setup Instructions above for each copy of Sierra Chart.
It is possible to use multiple TWS (Interactive Brokers Trader Workstation) instances and have multiple copies of Sierra Chart using those instances. For example, you can have two instances of TWS running and have two copies of Sierra Chart also running where one is connected to one instance and the other one to the other instance.
The way this is accomplished is by using different port numbers for each TWS instance. Select Edit >> Global Configuration >> API >> Settings from the Interactive Brokers TWS software menu. Set a different Port number for each TWS instance. You need to use the same Port number in the Sierra Chart copy that will be connected to that instance. To set the port number in Sierra Chart, select Global Settings >> Data/Trade Service Settings. In the Server box change the number after the colon ":". This is the port number. Example: localhost:7494
Using Multiple Sierra Chart Instances with TWS
This section discusses connecting multiple Sierra Chart copies/installations to Trader Workstation.
To have multiple copies of Sierra Chart connected to Interactive Brokers Trader Workstation (TWS), each copy of Sierra Chart needs to be set to a different Instance Client ID number, set with the Instance Client ID setting in the Service Settings section of the Global Settings >> Data/Trade Service Settings window.
You can use any of the listed Instance Client ID numbers except for 0 which should only be used if you want to access all orders submitted from any copy of Sierra Chart in the other instances of Sierra Chart. Normally you will not want to use 0 unless you have a special requirement for that. If you are not using 0 for the Instance Client ID , each copy of Sierra Chart will need to use a different Instance Client ID number.
This Instance Client ID number is given to TWS when Sierra Chart connects to TWS.
When each copy of Sierra Chart is connected to TWS, the orders submitted from a particular copy of Sierra Chart are separate from other copies of Sierra Chart. When an order fills, only that fill execution will be sent to the copy of Sierra Chart that submitted that order. This keeps trading from different copies of Sierra Chart isolated from each other. Although they will share Common Trade Position data for each Symbol and Trade Account.
If you want to have each copy of Sierra Chart report a different Position for the same Symbol and Trade Account for trading you are doing from that particular copy of Sierra Chart, then it is necessary to use the Order Fill Calculated Trade Positions. This can be set for individual charts/ Trading DOMs or globally.
To keep trading isolated from each copy of Sierra Chart, you may also want to disable Global Settings >> Data/Trade Service Settings >> Service Settings >> Download Historical Order Fills on Connect.
There are several features in Sierra Chart which require market depth data. These include the chart DOM, when it has the Bid Size and Ask Size columns (Trade >> Customize Chart/Trade DOM Columns), the Trade >> Draw DOM Graph On Chartfeature, and other features.
When using any of these features that require market depth, the market depth updates will be automatically started for the symbol of the chart.
There may be a limit on the number of symbols that can receive market depth data from Interactive Brokers at a time. This is an Interactive Brokers limitation. If such a limitation is encountered, you will not get market depth beyond the best Bid and Ask on the additional symbols.
After you reduce the use of market depth features to a smaller number of charts, then reconnect to the data feed with File >> Disconnect and File >> Connect to Data Feed.
Market Depth Data Issues
If you experience out of order price levels, or missing price levels in the market depth data from the Interactive Brokers data feed being used in Sierra Chart, then try changing the state of the Global Settings >> Data/Trade Service Settings >> Service Setting >> Clear Out Of Order Market Depth Data option.
It is recommended to set Clear Out Of Order Market Depth Data to False.
You will need to reconnect to the data feed after changing this setting.
Sierra Chart can handle both normal market depth and Level 2 data from Interactive Brokers. Although in the case of Level 2 data because there potentially are multiple entries at the same price level, when this information is displayed through features like the DOM Graph, there can be overlapping levels on the chart.
If you continue have issues with the market depth data from Interactive Brokers, consider using the Sierra Chart Exchange Data Feed to replace the market depth data from Interactive Brokers.
Accessing Level 2 / Market Depth data for Stocks
To access Level 2 data for stocks in Sierra-Chart when connected to Interactive Brokers Trader Workstation, it is necessary that the symbol the chart is set to specifies the specific exchange code the symbol trades on. You cannot use SMART for the exchange code.
Refer to the stock ymbol format.
For example, if the symbol trades on ISLAND, then you can use ISLAND if that exchange is supported for the symbol. Refer to the images below for an example.
Using Interactive Brokers True Real-Time Bar Data
The standard Interactive Brokers data feed is a substandard data feed which provides incomplete price and volume data. You may want to use the Sierra Chart Exchange Data Feed with your Interactive Brokers account as an alternative.
However, Interactive Brokers provides another data feed that updates every 5 seconds which provides the accurate Open, High, Low, Last, Volume values for a 5 second timeframe. Sierra Chart supports this data feed. This data is transmitted at the end of the 5 second timeframe.
To use this data feed, enable Global Settings >> Data/Trade Service Settings >> Service Setting >> Record True Real-Time Data in Intraday Charts. After enabling or disabling this option, it is necessary to select File >> Disconnect and then File >> Connect to Data Feed for the change to go into effect.
When Record True Real-Time Data in Intraday Charts is enabled, then Interactive Brokers True Real-time Bar data will be recorded in all Intraday charts no matter what the symbol, if this type of data is available for the symbol.
The way that the recording of the True Real-Time Bar data works is that the chart bars will update every 5 seconds using this true real-time data feed. Interactive Brokers transmits these 5 second updates even if there is no trading activity, so this can be a problem because it can provide misleading information.
The Time and Sales data, market depth data, Current Quote data, and the last trade price box on the right side of the chart are updated as the standard Interactive Brokers market data feed provides data. So you will have fast updates with Time and Sales data, market depth data, Current Quote data, and the last trade price box, and 5 second updates with the chart bars themselves.
When using the True Real-time Data and this data feed is available for a symbol, the Intraday Chart bars are no longer updated with the standard data feed and instead only from this 5 second data feed.
The advantage of enabling Record True Real-Time Data in Intraday Charts is that the Open, High, Low, Close, and Volume values for each bar in the chart are now very accurate. Whereas when this option is disabled, all of these values are less accurate.
Bid Volume and Ask Volume data are not accurate when using the Record True Real-Time Data in Intraday Charts option. However, in the case of Interactive Brokers, Bid Volume and Ask Volume are not very accurate when not using this option either.
When using the Record True Real-Time Data in Intraday Charts option and a true 5 second data record is received from Interactive Brokers, then you will see 4 trades listed in the Time and Sales window for the symbol. They will have a volume of 0. This represents the Open, High, Low and Last trade prices for a True Real-Time Data record. The timestamps of these trades will be at the beginning of the 5 second timeframe. The including of these trades in the updating of the Time and Sales is necessary for trade order related processing. If you do not wish to see these trades within the Time and Sales window, then select the Settings menu. Set the Volume >= setting to 1. Press OK.
Charts Stop Updating: When using True Real-time Bar Data and you notice that the charts stop updating, then you will need to reconnect to the data feed by selecting File >> Disconnect and then File >> Connect to Data Feed.
Based on feedback, we have heard that sometimes the true real-time data feed stops and the only way to restart it is by a reconnection. We have no other solution for this because it is outside of Sierra Chart control.
When using this True Real-time Data Feed it does not matter what the Intraday Data Storage Time Unit is set to. The data will always be stored in 5 second units.
As of version 1473 true real-time data is not used to fill simulated orders and it is not used for trailing stop orders. The reason for this is that the data is delayed and can cause unexpected behavior when trailing stop Attached Orders become active. The basic problem is that five second old data is used to adjust an order which became active at a particular moment in time using price action which occurred before the order became active. In many cases this will not cause a problem but could be a problem in a fast-moving market.
About Interactive Brokers
Interactive Brokers, a global electronic brokerage firm, provides professional traders, financial advisors, Brokers and institutions low cost execution and clearing services for stocks, options, futures, forex, and bonds. For Interactive Broker's current commissions and information, visit the Interactive Brokers Commissions page. The Interactive Brokers Universal Account allows customers to trade stocks, options, futures, forex, and bonds on over 50 market centers in 14 countries from a single account.
Using Financial Advisor Accounts
Below is information about using an Interactive Brokers Financial Advisor account with Sierra Chart. Other than the information here, Sierra Chart support does not provide any support for these types of accounts. The functionality is provided as is and you have to evaluate whether the functionality is useful and whether it works properly for you. Due to the interface provided by Interactive Brokers for Financial Advisor accounts, Sierra Chart cannot have reliable integration to these types of accounts. Sierra Chart can submit orders to a Financial Advisor account, but the tracking of Orders and Trade Positions cannot be regarded as reliable.
Sierra Chart supports using an Interactive Brokers Financial Advisor account. You are able to submit orders from Sierra Chart to your Financial Advisor account.
To configure Sierra Chart for this, select Global Settings >> Data/Trade Service Settings.
Enable the Financial Advisor Settings >> Enable Financial Advisor Account Settings for Trading option. Fill in the other Financial Advisor Settings fields as you require. These fields are provided exactly as you have specified, with all orders submitted from Sierra Chart to TWS (Trader Workstation).
The specific text or values to use for the Financial Advisor Settings fields are beyond the scope of this document and of Sierra Chart support. Consult with Interactive Brokers documentation and their support department.
The following are the list of the fields that are submitted with orders when using a Financial Advisor Account:
When using a Financial Advisor account, most likely you will need to rely upon the Sierra Chart calculated Trade Position data instead of the Position data provided by Interactive Brokers because there may not be Trade Position data for the particular Trade Account you have selected to trade from within Sierra Chart. To do this, refer to the Using Order Fill Calculated Positions documentation.
Based on user feedback, when using a Financial Advisor account you may want to disable Global Settings >> Data/Trade Service Settings >> Download Historical Order Fills on Connect.
Current Daily High and Low for Forex Data
The current daily High and Low data for the IDEALPRO Forex markets from Interactive Brokers on the real-time data feed may not represent the High and Low for the current date, but instead from a prior day. This will be most obvious in a Historical Daily chart. To avoid this issue in a Historical Daily chart, go to that chart and select Chart >> Chart Settings >> Advanced Settings and disable Allow Real-Time Updating of Historical Chart. This is an Interactive Brokers issue and we have no control over it. Avoid contacting Sierra Chart support about this.
Trading Related Error Messages
The following are common error messages that you may see reported in the Trade >> Trade Service Log , when making trades through Interactive Brokers from Sierra Chart and their meanings.
- Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. : This message means that the order will be immediately processed and submitted into the market even if the current time is outside of the Regular Trading Hours for the market.
- Notice: An overfill UpdateOrder call has occurred.: This error message will occur when using an Interactive Brokers Financial Advisor account. It is harmless. While Sierra Chart does have some support for Financial Advisor accounts. Due to the inherent complexity of these types of accounts, Sierra Chart cannot handle all aspects of them perfectly. The reason this occurs is that when you submit an order in a Financial Advisor account, that account may be configured to submit the order into more than one subaccount. Therefore, there is going to be more than one fill reported for the order. These additional fills are from the sub accounts.
- Message from IB: API client has been unsubscribed from account data. IB Error Code: 2100.: This message means that the Trade Position data updates have been unsubscribed. It is normal to see this message because Sierra Chart has to unsubscribe and resubscribe to the Trade Position data updates in order to force an update of Trade Position data and when there are multiple trading accounts a user may have. Interactive Brokers has a very poorly designed API when it comes to providing Trade Position data updates.
Trading Related Issues
When using Interactive Brokers you could potentially encounter any of the following trading related issues:
- Canceled order stays in a Pending Cancel state.
- Submitted order stays in an Order Sent state.
- Submitted and accepted order disappears from chart even though it is still working.
- Current Trade Position is not displayed on chart, Trade Window, or on the Positions tab of the Trade >> Trade Orders and Positions window. For information about this issue and possible solutions, refer to Trade Position Line or Quantity Disappearing or Displaying Zero.
- A filled order remains in an Open state on the chart.
- A Trade Position Quantity displayed in Sierra Chart does not update and is displaying a wrong Position Quantity. This can also be a problem if you are using the Order Fill Calculated Position in Sierra Chart.
There are various causes of these issues. From the perspective of Sierra Chart, the general cause is that Interactive Brokers does not provide the necessary order data feedback to maintain a proper state of an order, uses inconsistent symbols, or does not provide the necessary Trade Position data feedback for Positions.
If you encounter one of these problems, then you will need to contact Interactive Brokers technical support for help with these. They will need to review your Trader Workstation log file. They may not be able to help you with these kinds of issues. Therefore, please consider carefully whether using Sierra Chart with Interactive Brokers is appropriate.
You could also encounter a condition where a submitted order gets rejected and the Status goes to Error for reasons which are not apparent and not stated by the Trader Workstation API. You will need to contact Interactive Brokers about this.
Order Not Transmitted
When an order is submitted from Sierra Chart to Trader Workstation, it is always flagged to be transmitted by Trader Workstation. There never is any other possibility.
Therefore, if you see an order in Trader Workstation submitted by Sierra Chart with a "Transmit" button next to it, then this means that Trader Workstation is set to not transmit the order automatically. Contact Interactive Brokers support for help with this.
Orders Entered from Trader Workstation do Not Appear in Sierra Chart
When an order is submitted from Trader Workstation, in order for it to appear within Sierra Chart, it is necessary that Global Settings >> Data/Trade Service Settings >> Connection Details >> Instance be set to Client ID: 0 (Access All Orders).
After changing this particular setting reconnect to the data feed.
However, there can be a difference with the Symbol between a chart and the Symbol in the Trade >> Trade Orders and Positions >> Orders tab which will cause both order fills and working orders not to appear in a chart or Trade DOM.
This is due to the very complex and inconsistent symbology from Interactive Brokers.
Trade Position Line or Quantity Disappearing or Displaying Zero
If you are an Interactive Brokers user, and you do not see the Trade Position for a particular Symbol and Trade Account listed on the Trade >> Trade Orders and Positions >> Positions tab when the Trade Position actually exists for a particular Symbol and Trade Account, or the Position Quantity is incorrect, or the Position is displayed temporarily and disappears, then update to current version of Sierra Chart. Refer to Fast Update.
Updating in almost all cases will not make any difference. Sometimes over the years due to the substandard design of the Interactive Brokers TWS API, there have been problems with Trade Position data from the API that required changes on the Sierra Chart side to resolve. Therefore, by running the current version you can be sure that you have the latest support for Trade Position data from TWS.
If this does not resolve the problem, then understand that the problem is on the side of Interactive Brokers Trader Workstation and you must contact Interactive Brokers support for assistance for this kind of issue.
Basically the problem is why is it that Trader Workstation (TWS) is not transmitting the Trade Position data for the Symbol and Trade Account through the TWS API to the connected client, in this case Sierra Chart. Interactive Broker support may request the TWS Log files.
On the Orders and Positions >> Positions tab which displays the Positions, you will see Quantity and Trade Service Position Quantity fields. Normally these will match but could be different for up to 8 seconds. If the Trade Service Position Quantity remains at 0 when there is actually a nonzero Trade Position for a particular Symbol and Trade Account, then the Trader Workstation is not transmitting any Trade Position data to Sierra Chart.
For more information about this subject in general, refer to Incorrectly Reported Trade Position Quantity.
Another solution is to use the Order Fill Calculated Position. Although with this method you must be very diligent to make sure you have all of the order fills for the Symbol and Trade Account being traded.
Other than the information given in this section there is no further support that Sierra Chart can offer with this kind of issue and you should consider whether it is appropriate for you to be using Interactive Brokers.
Sierra Chart development and support cannot solve these numerous problems from Interactive Brokers. Either switch to a different supported trading service, or discontinue use of Sierra Chart.
Symbol Comparisons and Partial Symbols
Interactive Brokers has inconsistent and complex symbology specifications. It is the position of Sierra Chart, that this is a major fault of the Interactive Brokers system and it has no reasonable defense whatsoever. There is also the problem where it is possible to use SMART order routing but a Trade Position update will specify the specific exchange the symbol was filled on and this creates an inconsistency.
Therefore, based upon the security type, it often is not possible to match up the symbol provided with a Trade Position update from Interactive Brokers to the symbol of the Chart. For this reason a symbol is partially truncated by Sierra Chart when added to the Trade >> Trade Orders and Positions >> Positions tab, and when matching it to a chart, the chart symbol is truncated at the same location and a match is performed on the truncated text strings.
Therefore, when looking at the symbols on the Positions tab, you may see only a portion of the symbol. This is expected. However, if there are two symbols listed for the same security, this can be a problem and could potentially be the source of the problem where you do not see the current Position Quantity on a Chart or Trade DOM. In this case Sierra Chart support needs to be made aware of this.
Also, due to the substandard and complex design of the TWS API, you may see the Symbol for a particular Trade Position display as a number only on the Positions tab. This should only be for a short period of time. Less than about 10 seconds. If you see a number continuously displayed for a Symbol, then Sierra Chart Support should be made aware of this.
Interactive Brokers Historical Data Issues and Solutions
When using Interactive Brokers, the required historical chart data is downloaded from both the Sierra Chart Historical Data Service and from the Interactive Brokers system. Or depending upon the symbol, the historical data comes completely from the Interactive Brokers system.
You can experience many problems when this historical data is downloaded from the Interactive Brokers system. The Interactive Brokers historical data system is not always reliable and works as you would expect. This historical data is also called backfill.
You may experience a problem where the Interactive Brokers backfill system does respond, but does not give you data and this is known as a pacing violation or possibly the data is just not available. For information about pacing violations, refer to the Pacing Violations section.
You may experience a problem where historical data is not downloaded at all because the Interactive Brokers historical data system does not respond resulting in both a delay with chart updating and missing data. This is called a Timeout and how to deal with it is explained in the No Response When Downloading Historical Data and Timeouts section.
When using Sierra Chart Service Package 3 or 5, Historical Daily price data for major futures contract symbols, cash indexes and US stocks, is downloaded from the Sierra Chart Historical Data Service.
When using those Service Packages and Global Settings >> Data/Trade Service Settings >> Allow Support for Sierra Chart Data Feeds is enabled, then historical Intraday data for major futures contract symbols and US stocks is downloaded from the Sierra Chart Historical Data Service except for the most recent 10 to 15 minutes which will come from the Interactive Brokers system. This greatly reduces the problems with historical data from Interactive Brokers since that data is not used. Therefore, use Service Package 3 or 5 when using Interactive Brokers.
Avoid making postings on our Support Board about the possibility that the problems are with Sierra Chart. They are not, unless Interactive Brokers has made changes to their historical data system that require us to make changes. Also, do not assume that just because you see a problem with one Sierra Chart version and not in another, that somehow it is a Sierra Chart problem. The problem is simply intermittent and what you see is simply coincidental, or the relevant settings are different.
Interactive Brokers is a broker and not a data provider. Review the information in this section about historical data issues from Interactive Brokers. We have done our best to handle the limitations of Interactive Brokers data, however you still will encounter issues.
If you require very reliable and complete historical and real-time data, then the very best choice is to use the Sierra Chart Real-Time and Historical Exchange Data Service which is fully integrated with Interactive Brokers trading.
Although you may see a chart in TWS and you may not get a chart in Sierra Chart, does not at all imply there is something wrong with Sierra Chart. Their API simply is not delivering the data being requested for various reliability and technical reasons such as differences with request parameters.
Sierra Chart also employs special methods to filter out bad data to ensure reliable charts. It is for this reason (although very unlikely in almost all cases) that you may not see data in Sierra Chart compared with other programs.
Interactive Brokers has limits on the amount of historical data you can download during a short period of time. In the Sierra Chart Message Log opened with Window>> Message Log, you may see messages that contain the words pacing violation.
This message is from Interactive Brokers and it indicates the limit has been exceeded. There are several different pacing violation rules that Interactive Brokers has. If you get this error, it means you have violated one of their rules. When you get this error, there are some things you can do to minimize it. Follow these instructions:
- Select Global Settings >> Intraday File Update List and remove any symbols that are expired or you are no longer interested in, from that list.
- Close any charts you have open in open chartbooks for expired futures contracts, so there is not any unnecessary downloading. Interactive Brokers will still give you a pacing violation for historical data requests that return no data.
- Select File >> Data/Trade Service Settings.
- In the list of Service specific settings on the left, set the Service Setting >> Maximum Historical Intraday Days to Download Limit to 15 days or less. The higher this number is set to, the longer historical data will take to download.. You must keep it to a small number to minimize pacing violations and avoid a long time to download historical data.
- Enable Allow Support for Sierra Chart Data Feeds to use Sierra Chart Historical Data for major futures contract symbols and US stock symbols for Intraday charts. Sierra Chart Service Package 3 or higher is required for this. Data for Historical Daily charts for major futures contract symbols, major index symbols, and US stocks symbols, will always be downloaded from the Sierra Chart Historical Data service if on Service Package 3 or higher.
- Optionally enable Support Alternate Forex Historical Data to use Sierra Chart Historical Forex data for Interactive Brokers -CASH-IDEALPRO symbols. Sierra Chart Service Package 3 or higher is required for this.
- Press OK.
- Select File >> Disconnect and wait a few minutes for the pacing violation condition to be removed by Interactive Brokers.
- Select File >> Connect to Data Feed
- In the case of Intraday charts, follow the Retrying the Download When There is Data in the Chart instructions to re-download the data in the chart to recover missing data.
- In the case of Historical Daily charts, follow the instructions in Help Topic 6.3 to re-download the data in the chart to recover missing data.
No Response When Downloading Historical Data and Timeouts
This section explains some things you can do to handle a problem where Interactive Brokers Trader Workstation (TWS) does not respond to historical data requests. Eventually this leads to the historical data request timing out and results in missing data in the chart. In the Sierra Chart Message Log, you will see a phrase that says The download timed out in a line for the Historical data requests.
The first thing that you should do is to make certain that you have the minimum amount of charts open and that the symbols of all of those charts are valid and current Interactive Brokers symbols. If you are using an incorrect symbol, then potentially this can lead to this problem. After you have closed some charts for symbols that you do not need or with invalid or expired symbols, then it is necessary to reconnect to the data and trade server by selecting File >> Disconnect and then File >> Connect to Data Feed.
Make sure the Historical Data Timeout Time In Minutes in Global Settings >> Data / Trade Service Settings is set to a reasonable time. We recommend 3 minutes.
When you see your charts say Waiting to Download or Downloading Historical Data, and there is no response for a while, then restart Interactive Brokers Trader Workstation (TWS). Be sure you do this within 3 minutes (default) before the timeout occurs. After restarting TWS, Sierra Chart will then reconnect to TWS.
When a download timeout does occur, the historical data download will fail for the symbol currently having historical data downloaded and all the other symbols will have the download canceled for them. This occurs if Cancel Active Backfill Requests on Timeout in Global Settings >> Data / Trade Service Settings is checked. If it is unchecked, then the remaining symbols will not have their pending downloads canceled and the historical data downloads will continue. However, this may be an excessively long time if the Interactive Brokers system does not respond, which is the reason why we recommend keeping that option enabled.
If you are missing historical data in your charts, refer to the Retrying Downloading of Intraday Data section and help topic number 6.3 for instructions to retry the download for Intraday and Historical charts respectively.
Slow Historical Data Downloading
Downloading historical data from Interactive Brokers is a slow process to avoid Pacing Violations. Also the Interactive Brokers system may respond slowly to historical data requests.
If you see Waiting to Download or Downloading Historical Data. Bars may not appear until done. displayed on a chart or charts for an extended time, then follow these instructions:
- Update Sierra Chart to the current version.
- Go to each chart you have open in each of the open Chartbooks and make sure the symbol of it is a valid and actively trading symbol. If it is not a valid symbol, then close the chart by selecting File >> Close Active Window.
The easiest way to go through all of the charts in all of the open Chartbooks is to use Window >> Windows and Chartbooks.
- Select Global Settings >> Data/Trade Service Settings.
- In the list of settings on the left, set the Service Setting >> Maximum Historical Intraday Days to Download Limit to 15 days or less.
- Set Service Setting >> Download 5 Seconds Historical Intraday Data to False.
- Press OK.
- Select File >> Disconnect.
- Select File >> Connect to Data Feed.
Using Sierra Chart Historical Data
If your Sierra Chart Service Package includes the Sierra Chart Historical Data Service, then you can use that service for historical Intraday data for supported symbols when using Interactive Brokers. In almost all cases you will want to use the Sierra Chart Historical Data service for much faster and reliable historical data access.
In the case of Historical Daily and higher timeframe charts, if your Sierra Chart Service Package includes the Sierra Chart Historical Data Service, then this service is always used for Historical Daily charts for supported symbols.
Follow the instructions below to use the Sierra Chart Historical Data Service for Intraday charts.
- If you require 1 Tick historical Intraday data, then it is necessary that your Sierra Chart account is set to Service Package 5 (Advanced). If not, you can change to Service Package 5. Go to the Activate and Pay for Sierra Chart Services page to see your current service package and to change it.
- Select Global Settings >> Data/Trade Service Settings.
- Enable Allow Support for Sierra Chart Data Feeds.
- Optionally enable Support Alternate Forex Historical Data to use Sierra Chart historical Forex data for Interactive Brokers -CASH-IDEALPRO symbols.
- Set the Maximum Historical Intraday Days to Download >> Non-Tick Data / 1-Tick Data settings to 186. These settings can be made higher, if you require it. So it is OK to set these to a higher setting as needed.
However, keep in mind that for symbols which are not mapped to the Sierra Chart Historical Data Service, that data will still come from Interactive Brokers and instead the Service Setting >> Maximum historical Intraday Days to Download Limit setting applies. That needs to be set at 15 or less. Do not make that setting too high, otherwise it will take an extremely long time to download historical data!
- Press OK.
- Follow the instructions to Update the Symbol Settings. This is an important step to ensure Sierra Chart has the correct Symbol Settings to route data requests to the Sierra Chart Historical Data Service.
- Select File >> Disconnect.
- Select File >> Connect to Data Feed.
- Open a chart through File >> Find Symbol. In the case of futures contracts, you must use one of the listed symbols to use the Sierra Chart Historical Data Service. Not all of the listed symbols support this service, but if the futures symbol is not listed, then definitely the symbol does not support using the Sierra Chart Historical Data Service.
If the symbol in an existing futures contract chart is not using one of the symbols listed in File >> Find Symbol , then to change the symbol follow the Changing the Symbol of a Chart instructions.
- Retry downloading the Intraday chart data again. Go to the Intraday chart and select Edit >> Delete All Data and Download. This only needs to be done once per symbol. For further details, refer to the Retrying the Download When There is Data in the Chart section.
Support Policy Regarding Interactive Brokers Historical Data
Depending upon the symbol and your Sierra Chart service package, historical data may come partially from the Sierra Chart Historical Data Service and partially from the Interactive Brokers historical data system. Or fully from the Interactive Brokers historical data system.
In the case where data is partially coming from the Interactive Brokers data system, usually this is only about 10 to 15 minutes of data. The majority of data will come from the Sierra Chart Historical Data Service.
Only data for major futures contracts, US stocks and some index symbols comes from the Sierra Chart Historical Data service.
If you are encountering a historical data problem involving data from the Interactive Brokers historical data system and you have received at least 15 days of current historical Intraday data or 6 months of historical Daily data, then as a matter of policy Sierra Chart support will not provide any help for the problem you are having.
There are several choices you have in this particular case. Use the Sierra Chart Exchange Data Feed if it provides data for the particular symbol you are having Interactive Brokers market data problems with. Live with the problem. Use another supported Trading service. Or discontinue use of Sierra Chart.
Also keep in mind that only major futures contracts have Continuous Futures Contract Rollover rules defined for them. Therefore, the Continuous Futures Contract Chart feature will not work with all futures markets unless the rollover rules are defined for them.
Missing Data Due to Incorrect Time Zone Settings
If you find that you are consistently missing historical data from your charts or the timestamps of chart bars are not correct, then you may have incorrect Time Zone settings. You need to have the correct Time Zone setting in Sierra Chart and in the operating system. It is also imperative that your computer's clock is accurately set. For complete information, refer to help topic 38.
Interactive Brokers Market Data Error/Status Messages
Data Feed Messages from Interactive Brokers with error codes 2104, 2106, 2107 displayed in the Sierra Chart Message Log indicate the status of market data connections to their servers. They are informational messages from Interactive Brokers. Below are examples of these messages and descriptions.
Message from Interactive Brokers: Market data farm connection is broken:usfuture. Interactive Brokers Error Code: 2103. Request ID: -1. (This message indicates the connection to the US future market data farm is broken.)
Message from Interactive Brokers: Market data farm connection is OK:usfuture. Interactive Brokers Error Code: 2104. Request ID: -1. (This message indicates the connection to the US future market data farm is now OK. If this message follows the message above, then the connection is now OK.)
Message from Interactive Brokers: Market data farm connection is inactive but should be available upon demand.usfarm.us. Interactive Brokers Error Code: 2108. Request ID: -1.
Interactive Brokers Historical Daily Data
In Sierra Chart, you have the option of downloading historical Daily data from Interactive Brokers as 24 hour bars or regular trading session only bars.
However, this option will not work when the symbol is mapped to the Sierra Chart Historical Data Service. The data from that service will always contain the full 24 hour of trading for each Daily bar unless the symbol is a stock.
To change the setting to download regular trading hours Daily bars, select Global Settings >> Data/Trade Service Settings on the menu. If the option Service Setting >> Download Regular Trading Hours Bars (Daily Bars Only) is set to True, Sierra Chart will only request the regular trading hours Daily bar data.
Otherwise, a request for the standard 24-hour Daily bar data will be made.
If you made a change to the Download Regular Trading Hours Bars (Daily Bars Only) setting, then you need to re-download the data in the Historical Daily charts to get the regular trading hours bars. You need to do this only once for each symbol. To do this go to a Historical Daily chart and select Edit >> Delete All Data and Download. This only needs to be done once for each symbol.
Time and Sales Window Data
The data that you see for a symbol in the Time and Sales window when using Interactive Brokers consists of 3 categories of data.
The first category of data are normal Interactive Brokers trade messages for a symbol. There is no assurance that this data is complete from Interactive Brokers and we cannot help with it.
The second category of data is trades which are inserted by Sierra Chart in order to make the volume for chart bars match the total Daily Volume for the symbol. This is documented in the Simulate Trades to Match Daily Volume section.
The third category of data is prices which are from the True Real Time Data Feed.
If Sierra Chart support has referred you to this section, please do not ask us further about discrepancies. We cannot help with them. And please do not use the argument that you do not see the problem in another program. Such a statement is not relevant to the limitations of the Interactive Brokers substandard data feed. We explain the origin of the data above. You are welcome to use whatever program that meets your requirements.
One solution to the problem is to use the Sierra Chart Real-Time and Historical Exchange Data Feed instead of the substandard Interactive Brokers data feed.
Orders Disappear after Being Submitted Although They Are Still Open
In the case when you submit an order from a chart or Trade DOM and the order disappears within about 10 seconds after being submitted, even though the order is still working and has not yet been filled, follow this procedure for help with this:
- For the order that disappears, locate the order in the Trade >> Trade Orders and Positions >> Orders tab. Get the Service Order ID for it.
- Send an email to API@interactivebrokers.com and ask them why when a reqOpenOrders call is made through the API, why is there not a response for the order ID ( tell Interactive Brokers the ID you got from the Service Order ID field in Sierra Chart). The fact that there is no response indicates the order is no longer open.
- Interactive Brokers may need to see your TWS log file. They will give you instructions on how to provide that.
Interactive Brokers Stop Order Trigger Method
It is possible to specify how Interactive Brokers Simulated Stop and Stop-Limit orders are triggered. This setting can be changed in Global Settings >> Data/Trade Service Settings >> Interactive Brokers Stop Order Trigger Method.
Changing this setting has no effect upon Stop orders entered directly from TWS.
The valid values are as follows:
- 0 = The default value. The "double bid/ask" function will be used for orders for OTC stocks and US options. All other orders will used the "last" function.
- 1 = use "double bid/ask" function, where stop orders are triggered based on two consecutive bid or ask prices.
- 2 = "last" function, where stop orders are triggered based on the last price.
- 3 = double last function.
- 4 = bid/ask function.
- 7 = last or bid/ask function.
- 8 = mid-point function.
Procedure for Providing TWS Log Files
Follow the instructions below which are based on instructions from Interactive Brokers to provide the Trader Workstation (TWS) log files.
- In TWS, navigate to Edit > Global Configure > Settings > API > Settings.
- Then within Setting change the Logging Level to Detail.
- Check the box Create API message log file and hit Apply and OK.
- Replicate the problem again and reply to this e-mail with a new log file attached.
- Both log files are located within C:\JTS directory and it is named log.Day.txt (TWS Log File) and api.clientId.Day.Log (API Log File).
Once the logging levels have been adjusted please restart TWS. Now that the adjustments has been made please replicate the issue again then reply back with a new copy of both the TWS and API Log file attached as well as details of the specific order.
Historical and Real-time Stock/Equities Data Volume Differences
The volume data for equities/stocks from Interactive Brokers is in units of 100s. Therefore, a trade of 100 shares will be reported with the volume of 1. As a general rule Sierra Chart does not alter price or volume data from a Data or Trading service.
In the past, Sierra Chart was modifying stock volume data from Interactive Brokers by multiplying it by 100. There have been problems associated with this. And newer versions of Sierra Chart do not do this any longer.
When the Sierra Chart Historical Data is set to be used when using the Interactive Brokers trading service, the historical equity/stock data is downloaded from the Sierra Chart Historical Data Service which has volume as actual values. Therefore, the volume values from the Sierra Chart Historical Data Service are higher by 100 times the amount of the Interactive Brokers volume data.
Not only is there a problem with the volume numbers being too low from Interactive Brokers but the real-time data as well when not using the Sierra Chart Exchange Data Feed is incomplete.
The solutions for Intraday charts for the above-described problems are as follows:
- Activate the Sierra Chart Exchange Data Feed on your Sierra Chart account and activate the US Equities exchange. As of this writing the cost of this is 45.50 USD per month which includes the exchange fees. With this data feed, both the historical and real-time data will be used from this data feed instead of the Interactive Brokers data. Obviously this is a huge improvement and provides you a reliable data feed. This solves the volume inconsistency and provides you very accurate tick by tick data which is necessary for accurate chart bars. The real-time data is completely matched with the historical data.
- The second solution is to not use the Sierra Chart Historical Data Service and rely completely upon the Interactive Brokers historical data. To do this:
- Select Global Settings >> Data/Trade Service Settings .
- Uncheck Allow Support for Sierra Chart Data Feeds. (This setting only applies to Intraday Charts)
- Press OK.
- When not using the Sierra Chart Historical Data Service, in the stock charts you will want to multiply the volume by 100. To do this select Chart >> Chart Settings >> Advanced Settings 2. Set the Volume/Open Interest Multiplier to 100. Do this for each stock chart.
This Volume Multiplier will be reset back to the default of 1 when changing the symbol of the chart. To prevent this, change the Volume Multiplier to 100 for the stock symbol patterns in the Global Symbol Settings.
- After performing either of the above steps, it is necessary to re-download the data in your Intraday charts to make the historical volume data completely consistent. To do this, go to the chart and select Edit >> Delete All Data and Download. This only needs to be done once per symbol.
- Do not contact Sierra Chart support wanting some other solution to the problem because we have no other solution to offer. If you have any questions about the above, let us know.
Using Sierra Chart Historical and Real-time Forex Data and Trade through Interactive Brokers Account
Follow the instructions below to use the Sierra Chart Historical and Real-time Forex data and send trade orders to your Interactive Brokers account.
The real-time data which updates the chart will be from the Sierra Chart Forex data feed. The real-time data which updates the last trade price box on the chart and the current Bid and Ask data will come from Interactive Brokers Trader Workstation. This way you will always see the accurate current pricing from IB but have the chart bars based upon a better data feed.
- Follow the Setup Instructions on this page to connect Sierra Chart to your Interactive Brokers account. Skip this step if this has already been done.
- Select File >> Find Symbol.
- In the Find Symbol window expand the Forex list.
- Select the particular Forex symbol that you want to chart and trade and open a chart for it by pressing the Open Intraday Chart button.
- Select Chart >> Chart Settings.
- Press the Find button beside the Trade and Current Quote Symbol edit box.
- Expand the IB Forex list. Choose the corresponding Interactive Brokers symbol. For example: CAD.JPY-CASH-IDEALPRO corresponds to CADJPY.
- Press OK.
- Press OK to close the Chart Settings window.
- When you submit orders from the chart, they will use the Interactive Brokers symbol specified in the Trade and Current Quote Symbol edit box.
Automatic Monthly Confirmation of Live Trading Account Existence for Sierra Chart Exchange Data Feed CME Data
When using the Sierra Chart Exchange Data Feed, to take advantage of the lower-priced CME exchange fees, it is necessary to have a funded futures trading account with a supported Trading service. The method by which this is verified is that Sierra Chart has to be able to connect to that Trading account. This verification must be performed when you start using the data feed and subsequently at the beginning of each month.
There is nothing special to do when Sierra Chart is directly connected to your Trading account. However, when Global Settings >> Data/Trade Service Settings >> Service is set to SC Data - All Services and not your Trading service, you need to connect Sierra Chart to your Trading service account at the beginning of each month to continue to receive the real-time CME data if using one of the lower-priced exchange fees.
This connection in the case of Interactive Brokers can happen automatically. Follow the instructions below.
- Select Global Settings >> Data/Trade Service Settings on the menu.
- Set the Service setting at the top to Interactive Brokers .
- Enable the Service Setting >> Perform Automatic Trading Account Check for SC Exchange Data Feed option.
- Connect to Interactive Brokers TWS by following the Setup Instructions on this page. This is necessary to ensure Sierra Chart can connect to Traitor Workstation at any other time.
- Set the Service setting at the top back to SC Data - All Services.
- Press OK.
- At the beginning of each month, make sure that Interactive Brokers Trader Workstation is running on your system and Sierra Chart will connect to it if Sierra Chart is running and connected to the data feed and needs to verify that you have a live futures Trading account. So therefore, you will continue to receive the real-time CME data .
*Last modified Monday, 25th September, 2017.