Login Page - Create Account

Support Board


Date/Time: Fri, 27 Dec 2024 05:37:48 +0000



Interactive Brokers forex historical data does not display many candles

View Count: 2393

[2015-12-12 14:45:06]
User792240 - Posts: 6
Edit* Simply question, SC/IB does not display beyond the past 1 year when viewing larger than the weekly time frame, even though the historical chart 'number of days to load' is at default 4380 days.

So how can we view a longer period of time, as much as possible?

Thanks.
Date Time Of Last Edit: 2015-12-14 08:52:08
[2015-12-14 09:42:12]
Sierra Chart Engineering - Posts: 104368
What is the symbol of the chart?

Follow the instructions here:
Interactive Brokers Trading Service: Using Sierra Chart Historical Data

and signing in and out of TWS to keep connection under 3 minutes
You definitely do not need to do this. Do not bother with this. It is irrelevant.

To download more historical Intraday data, follow the instructions here:
https://www.sierrachart.com/index.php?page=doc/doc_HistoricalIntradayData.html#DownloadingViewingMoreHistoricalIntradayData


It is best for us to focus just on one particular symbol and chart and if you still have trouble post a copy of the Message Log by following these instructions:
https://www.sierrachart.com/index.php?page=PostingInformation.php#MessageLog

And we must know the symbol of the chart and whether it is a Historical Daily chart or Intraday chart when you post the Message Log.
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
[2015-12-14 10:07:26]
User792240 - Posts: 6
Hi, I am trying to view the historical chart (larger than 1 day right?) for EUR.USD with IB. I tried your suggestions but didn't have success, here is the message log if it helps.


Software version: 1332 | 2015-12-14 02:04:17
Uses New Spreadsheets | 2015-12-14 02:04:17
Usage end date: 2015-12-17 | 2015-12-14 02:04:17
Allow Support for Sierra Chart Data Feeds is enabled. | 2015-12-14 02:04:17
Current selected Data/Trading service: Interactive Brokers | 2015-12-14 02:04:17
Chart Update Interval: 500 | 2015-12-14 02:04:17
Time Zone: -08:00:00 (PST-08PDT+01,M3.2.0/02:00,M11.1.0/02:00) | 2015-12-14 02:04:17
2015-12-14 02:04:17 Local computer time | 2015-12-14 02:04:17
2015-12-14 10:04:17 Local computer time in UTC | 2015-12-14 02:04:17
2015-12-14 02:04:17 Local computer time in SC Time Zone | 2015-12-14 02:04:17
2015-12-14 05:44:05 Server time in UTC | 2015-12-14 02:04:17
Local computer UTC time and Server UTC time difference: 1 seconds. | 2015-12-14 02:04:17
Program path: C:\SierraChart\ | 2015-12-14 02:04:17
Data Files path: C:\SierraChart\Data\ | 2015-12-14 02:04:17
OS Version Number: 6.1 | 2015-12-14 02:04:17
Locale Information: C | 2015-12-14 02:04:17

EUR.USD-CASH-IDEALPRO Weekly #2 | Reloading chart. | 2015-12-14 02:04:32
EUR.USD-CASH-IDEALPRO Weekly #2 | Reloading chart. | 2015-12-14 02:04:45
File >> Disconnect selected. | 2015-12-14 02:05:12
Socket (134) | Shutdown and closed. | 2015-12-14 02:05:12
Interactive Brokers | Disconnected. | 2015-12-14 02:05:12

Interactive Brokers: Connecting to 127.0.0.1:7496 | 2015-12-14 02:05:16
Socket (140) | Connected. | 2015-12-14 02:05:16
Socket connected to TWS. Sending client version: 62. Waiting for acceptance. | 2015-12-14 02:05:16
Interactive Brokers | TWS server version: 76 | 2015-12-14 02:05:16
Interactive Brokers | Connected. Waiting for account information. | 2015-12-14 02:05:16
IB Account information received. | 2015-12-14 02:05:16
Interactive Brokers | Received 1 Trade Accounts from TWS. | 2015-12-14 02:05:16
Interactive Brokers | Connected to Live account. | 2015-12-14 02:05:16
Interactive Brokers | Year-Month last connected to Live account: 2015-12 | 2015-12-14 02:05:16
Interactive Brokers | Requesting Trade Positions (IB account data updates) for account: U163* | 2015-12-14 02:05:16
Interactive Brokers | Connected to data and trading server. | 2015-12-14 02:05:16
Next valid order ID: 141 | 2015-12-14 02:05:16
Message from IB: Market data farm connection is OK:cashfarm. IB Error Code: 2104. Request ID: -1. | 2015-12-14 02:05:16
Message from IB: Market data farm connection is OK:usfarm. IB Error Code: 2104. Request ID: -1. | 2015-12-14 02:05:16
Message from IB: HMDS data farm connection is OK:cashhmds. IB Error Code: 2106. Request ID: -1. | 2015-12-14 02:05:16
Message from IB: HMDS data farm connection is OK:ushmds. IB Error Code: 2106. Request ID: -1. | 2015-12-14 02:05:16
Next valid order ID: 141 | 2015-12-14 02:05:16
IB Account information received. | 2015-12-14 02:05:16
Interactive Brokers | Received 1 Trade Accounts from TWS. | 2015-12-14 02:05:16
Interactive Brokers | Connected to Live account. | 2015-12-14 02:05:16
Interactive Brokers | Year-Month last connected to Live account: 2015-12 | 2015-12-14 02:05:16
Interactive Brokers | Sending request for contract details for contract ID 12087792 | 2015-12-14 02:05:16
Interactive Brokers | Received Trade Positions download end message for account U163* | 2015-12-14 02:05:16
Interactive Brokers | Stopping automatic Trade Position updates for account: U163* | 2015-12-14 02:05:16
Interactive Brokers | Received contract details for symbol EUR.USD-CASH-IDEALPRO | 2015-12-14 02:05:16
Message from IB: API client has been unsubscribed from account data. IB Error Code: 2100. Request ID: -1. | 2015-12-14 02:05:16
Interactive Brokers | Starting real-time market data updates for: EUR.USD-CASH-IDEALPRO. ID: 1 | 2015-12-14 02:05:16
Interactive Brokers | Subscribing to Symbol: EUR.USD, SecurityType: CASH, Expiration: , Exchange: IDEALPRO, Currency: USD, Multiplier: | 2015-12-14 02:05:16
Intraday data recording state for symbol EUR.USD-CASH-IDEALPRO is set to download 'Pending'. | 2015-12-14 02:05:16
HD Request # 9 | Downloading Intraday chart data for EUR.USD-CASH-IDEALPRO to the file EUR.USD-CASH-IDEALPRO.scid. Service: fxcm | 2015-12-14 02:05:16
HD Request # 9 | Download start Date-Time: 2015-12-14 02:05:10.000 | 2015-12-14 02:05:16
HD Request # 9 | Using server: ds3.sierracharts.com port 10149 | 2015-12-14 02:05:16
Socket (0) | Resolved address ds3.sierracharts.com to IP 65.182.172.164 | 2015-12-14 02:05:16
Socket (141) | Connected. | 2015-12-14 02:05:17
HD Request # 9 | Sending historical data logon request message. | 2015-12-14 02:05:17
EUR.USD-CASH-IDEALPRO Monthly #2 | Reloading chart. | 2015-12-14 02:05:17
HD Request # 9 | Requesting Intraday data. Start Date-Time: 2015-12-14 02:05:10. Record interval: 1. Symbol: EURUSD | 2015-12-14 02:05:17
HD Request # 9 | Decompressing data. | 2015-12-14 02:05:17
HD Request # 9 | Receiving Intraday data for EUR.USD-CASH-IDEALPRO starting at 2015-12-14 02:05:14 | 2015-12-14 02:05:17
HD Request # 9 | Timestamp of first Intraday data file record written: 2015-12-14 02:05:14 | 2015-12-14 02:05:17
Socket (141) | Shutdown and closed. | 2015-12-14 02:05:17
The network socket for historical data has been closed. | 2015-12-14 02:05:17
HD Request # 9 | Received 3 records from 2015-12-14 02:05:14 to 2015-12-14 02:05:16 (2.0 seconds) and wrote 3 records for EUR.USD-CASH-IDEALPRO | 2015-12-14 02:05:17
HD Request # 9 | Intraday download COMPLETE for EUR.USD-CASH-IDEALPRO. Completion time: 0s. Unique request ID: 8 | 2015-12-14 02:05:17
Removed historical data download ID 8 | 2015-12-14 02:05:17
Real-time Intraday chart data file updates started for EUR.USD-CASH-IDEALPRO | 2015-12-14 02:05:17

Interactive Brokers | Requesting Trade Positions (IB account data updates) for account: U163* | 2015-12-14 02:05:21
Interactive Brokers | Requesting historical order fills for account U163*. | 2015-12-14 02:05:21
Interactive Brokers | Received Trade Positions download end message for account U163* | 2015-12-14 02:05:21
Interactive Brokers | Stopping automatic Trade Position updates for account: U163* | 2015-12-14 02:05:21
Interactive Brokers | Received Open orders end message. | 2015-12-14 02:05:21
Message from IB: API client has been unsubscribed from account data. IB Error Code: 2100. Request ID: -1. | 2015-12-14 02:05:21
Interactive Brokers | All contract details received for symbols used for trading. Re-requesting trading data. | 2015-12-14 02:05:21
Interactive Brokers | Requesting Trade Positions (IB account data updates) for account: U163* | 2015-12-14 02:05:21
Interactive Brokers | Requesting historical order fills for account U163*. | 2015-12-14 02:05:21
Interactive Brokers | Received Trade Positions download end message for account U163* | 2015-12-14 02:05:21
Interactive Brokers | Stopping automatic Trade Position updates for account: U163* | 2015-12-14 02:05:21
Interactive Brokers | Received Open orders end message. | 2015-12-14 02:05:21
Message from IB: API client has been unsubscribed from account data. IB Error Code: 2100. Request ID: -1. | 2015-12-14 02:05:21
HD Request # 10 | Downloading Historical Daily chart data for EUR.USD-CASH-IDEALPRO. Starting date: 1965-12-13. Service: ib | 2015-12-14 02:05:35
HD Request # 10 | Requesting 365 days of historical Daily data for EUR.USD-CASH-IDEALPRO with end date 2015-12-14 | 2015-12-14 02:05:35
HD Request # 10 | Processing historical data message from TWS | 2015-12-14 02:05:36
HD Request # 10 | Receiving historical Daily data for EUR.USD-CASH-IDEALPRO starting at 2014-12-16 | 2015-12-14 02:05:36
Writing historical Daily data for EUR.USD-CASH-IDEALPRO to the file EUR.USD-CASH-IDEALPRO.dly | 2015-12-14 02:05:36
HD Request # 10 | Received 258 records and wrote 258 records from 2014-12-16 00:00:00 to 2015-12-14 00:00:00. | 2015-12-14 02:05:36
HD Request # 10 | Received 258 records from 2014-12-16 00:00:00 to 2015-12-14 00:00:00 (364.0 days) and wrote 258 records for EUR.USD-CASH-IDEALPRO | 2015-12-14 02:05:36
HD Request # 10 | Daily download COMPLETE for EUR.USD-CASH-IDEALPRO. Completion time: 0s. Unique request ID: 9 | 2015-12-14 02:05:36
Removed historical data download ID 9 | 2015-12-14 02:05:36

EUR.USD-CASH-IDEALPRO Monthly #2 | Reloading chart. | 2015-12-14 02:05:36
Message from IB: Error validating request:-'yd' : cause - Historical data query end date/time string [49] is invalid. Format is 'YYYYMMDD{SPACE}hh:mm:ss[{SPACE}TMZ]'. IB Error Code: 321. Request ID: 3. | 2015-12-14 02:05:56
Date Time Of Last Edit: 2015-12-14 10:08:26
[2015-12-14 12:01:24]
User792240 - Posts: 6
I found a little more information from IB : https://www.interactivebrokers.com/en/software/api/apiguide/tables/historical_data_limitations.htm

It seems TWS forex charts offer historical data of 10 years (can see back to 2005 on the monthly chart). How can that be transferred over to SC?

There are some limitations on how much data you can view from IB, based on 'market data lines' (what are these?) and/or monthly commission requirements. Perhaps that could be reasons why I can only view back the last year of data? But again TWS charts display back 10 years...
Date Time Of Last Edit: 2015-12-14 12:14:51
[2015-12-14 18:36:57]
Sierra Chart Engineering - Posts: 104368
In all of our experience it is only possible to receive 1 year of historical daily data from IB TWS API.

To receive at least 10 years of data for EUR.USD-CASH-IDEALPRO you will need to change your Sierra Chart Service Package to 3. In this way the Sierra Chart Historical Data Service will be used which will provide at least 10 years of data for the Forex markets.

To change your Sierra Chart service package, select "Help >> Account Control Panel" on the Sierra Chart program menu. On the displayed webpage, click on "Change Service Package".

The remaining service usage time on your account will be adjusted based upon the cost of the package you are changing to. If the new package is a higher-priced package, then the usage time will be reduced due to the higher price.

There is no charge for changing your Sierra Chart service package. Only your Sierra Chart account usage time ending date is adjusted.

After changing the Service Package restart Sierra Chart and go to the historical daily chart for that symbol and select Edit >>Delete All Data and Download.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-12-14 18:38:09

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

Login

Login Page - Create Account