Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 13:51:26 +0000



Connecting to IB

View Count: 772

[2015-09-13 14:04:59]
Richard Reyes - Posts: 98
I am having trouble connecting to IB through tgheir API. Please see log below.

Software version: 1282 | 2015-09-13 08:42:07
Uses Old Spreadsheets | 2015-09-13 08:42:07
Usage end date: 2016-09-17 | 2015-09-13 08:42:07
Enabled for: Advanced Features. | 2015-09-13 08:42:07
Enabled for: Sierra Chart Historical Data Service. | 2015-09-13 08:42:07
Allow Support for Sierra Chart Data Feeds is enabled. | 2015-09-13 08:42:07
Current selected Data/Trading service: SC Forex Data (FXCM) | 2015-09-13 08:42:07
Chart Update Interval: 500 | 2015-09-13 08:42:07
Time Zone: -05:00:00 (CST-06CDT+01,M3.2.0/02:00,M11.1.0/02:00) | 2015-09-13 08:42:07
2015-09-13 08:42:07 Local computer clock time | 2015-09-13 08:42:07
2015-09-13 13:42:07 GMT time | 2015-09-13 08:42:07
2015-09-13 08:42:07 Time zone adjusted time | 2015-09-13 08:42:07
Time difference to server time: 0 seconds. | 2015-09-13 08:42:07
Program path: G:\SierraChart 2\ | 2015-09-13 08:42:07
Data Files path: G:\SierraChart 2\Data\ | 2015-09-13 08:42:07
OS Version Number: 6.2 | 2015-09-13 08:42:07
Locale Information: C | 2015-09-13 08:42:07

Checking for new symbol settings for fxcm | 2015-09-13 08:42:07
HTTP connection to www.sierrachart.com:80 (0) | Resolved address sierrachart.com to IP 5.9.8.236 | 2015-09-13 08:42:07
HTTP connection to www.sierrachart.com:80 (1) | Connected. | 2015-09-13 08:42:07
Symbol settings are up-to-date for fxcm | 2015-09-13 08:42:08
Intraday data recording state for symbol USDJPY is set to download pending. | 2015-09-13 08:42:11
HD Request # 2 | Downloading Intraday chart data for USDJPY to the file USDJPY.scid. Service: fxcm | 2015-09-13 08:42:11
HD Request # 2 | Download start Date-Time: 2015-09-11 15:59:00.000 | 2015-09-13 08:42:11
HD Request # 2 | Using server: ds4.sierracharts.com port 10149 | 2015-09-13 08:42:11
Socket (0) | Resolved address ds4.sierracharts.com to IP 204.11.49.26 | 2015-09-13 08:42:11
Socket (2) | Connected. | 2015-09-13 08:42:11
HD Request # 2 | Sending historical data logon request message. | 2015-09-13 08:42:11

SC Forex Data (FXCM) | Connecting to the server ds3.sierracharts.com. Port 443 | 2015-09-13 08:42:12
Socket (0) | Resolved address ds3.sierracharts.com to IP 65.182.172.164 | 2015-09-13 08:42:12
Socket (3) | Connected. | 2015-09-13 08:42:12
SC Forex Data (FXCM) | Connected to server. | 2015-09-13 08:42:12
SC Forex Data (FXCM) | Sending logon request message. | 2015-09-13 08:42:12
HD Request # 2 | Requesting Intraday data. Start Date-Time: 2015-09-11 15:59:00. Record interval: 1. Symbol: USDJPY | 2015-09-13 08:42:12
HD Request # 2 | Decompressing data. | 2015-09-13 08:42:12
HD Request # 2 | Receiving Intraday data for USDJPY starting at 2015-09-11 15:59:00 | 2015-09-13 08:42:12
HD Request # 2 | Timestamp of first Intraday data file record written: 2015-09-11 15:59:00 | 2015-09-13 08:42:12
HD Request # 2 | Historical data for USDJPY is delayed because connection to main data feed is not present. Current data will be received upon connection. | 2015-09-13 08:42:12
Socket (2) | Shutdown and closed. | 2015-09-13 08:42:12
The network socket for historical data has been closed. | 2015-09-13 08:42:12
HD Request # 2 | Received 1 record from 2015-09-11 15:59:00 to 2015-09-11 15:59:00 (0.0 seconds) and wrote 1 record for USDJPY | 2015-09-13 08:42:12
HD Request # 2 | Intraday download COMPLETE for USDJPY. Completion time: 1s. Unique request ID: 1 | 2015-09-13 08:42:12
Removed historical data download ID 1 | 2015-09-13 08:42:12

HTTP connection to www.sierrachart.com:80 (1) | Closed. No error. | 2015-09-13 08:42:12
HTTP connection to www.sierrachart.com:80 (1) | Shutdown and closed. | 2015-09-13 08:42:12
SC Forex Data (FXCM) | Server Name: SC Realtime Server. | 2015-09-13 08:42:13
SC Forex Data (FXCM) | Server protocol version: 7. Client protocol version: 6. There is a protocol mismatch! | 2015-09-13 08:42:13
SC Forex Data (FXCM) | Successfully connected. | 2015-09-13 08:42:13
SC Forex Data (FXCM) | Starting real-time market data updates for: USDJPY. ID: 1 | 2015-09-13 08:42:13
Intraday data recording state for symbol USDJPY is set to download pending. | 2015-09-13 08:42:15
HD Request # 3 | Downloading Intraday chart data for USDJPY to the file USDJPY.scid. Service: fxcm | 2015-09-13 08:42:15
HD Request # 3 | Download start Date-Time: 2015-09-11 15:59:00.000 | 2015-09-13 08:42:15
HD Request # 3 | Using server: ds5.sierracharts.com port 10149 | 2015-09-13 08:42:15
Socket (0) | Resolved address ds5.sierracharts.com to IP 204.15.192.106 | 2015-09-13 08:42:15
Socket (4) | Connected. | 2015-09-13 08:42:15
HD Request # 3 | Sending historical data logon request message. | 2015-09-13 08:42:15
HD Request # 3 | Requesting Intraday data. Start Date-Time: 2015-09-11 15:59:00. Record interval: 1. Symbol: USDJPY | 2015-09-13 08:42:16
HD Request # 3 | Decompressing data. | 2015-09-13 08:42:16
HD Request # 3 | Receiving Intraday data for USDJPY starting at 2015-09-11 15:59:00 | 2015-09-13 08:42:16
HD Request # 3 | Timestamp of first Intraday data file record written: 2015-09-11 15:59:00 | 2015-09-13 08:42:16
Socket (4) | Shutdown and closed. | 2015-09-13 08:42:16
The network socket for historical data has been closed. | 2015-09-13 08:42:16
HD Request # 3 | Received 1 record from 2015-09-11 15:59:00 to 2015-09-11 15:59:00 (0.0 seconds) and wrote 1 record for USDJPY | 2015-09-13 08:42:16
HD Request # 3 | Intraday download COMPLETE for USDJPY. Completion time: 0s. Unique request ID: 2 | 2015-09-13 08:42:16
Removed historical data download ID 2 | 2015-09-13 08:42:16
Real-time Intraday chart data file updates started for USDJPY | 2015-09-13 08:42:16

Current selected Data/Trading service: Interactive Brokers | 2015-09-13 09:02:40
Checking for new symbol settings for ib | 2015-09-13 09:02:40
Socket (3) | Shutdown and closed. | 2015-09-13 09:02:40
SC Forex Data (FXCM) | Disconnected from the server. | 2015-09-13 09:02:40

Interactive Brokers: Connecting to 7496:7496 | 2015-09-13 09:02:40
HTTP connection to www.sierrachart.com:80 (0) | Resolved address sierrachart.com to IP 5.9.8.236 | 2015-09-13 09:02:41
HTTP connection to www.sierrachart.com:80 (5) | Connected. | 2015-09-13 09:02:41
Requesting symbol settings for ib. Overwrite = off. | 2015-09-13 09:02:41
Symbol settings received. | 2015-09-13 09:02:41
Processed received symbol settings | 2015-09-13 09:02:41
Socket (0) | Error on address resolution. Windows error code 11001: No such host is known. | 2015-09-13 09:02:43
Interactive Brokers | Failed to connect to the data and trade server. | 2015-09-13 09:02:43 *
Note: Is the Interactive Brokers TWS software running and is it enabled for socket clients? | 2015-09-13 09:02:43 *
Error connecting to Data or Trading service. For help with this issue, press the 'Send For Analysis' button on this window. | 2015-09-13 09:02:43
To prevent further connection attempts, select 'File >> Disconnect'. | 2015-09-13 09:02:43
Interactive Brokers | Disconnected. | 2015-09-13 09:02:43
Will reconnect to the server in 5.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. | 2015-09-13 09:02:43
Starting TWS auto-login thread. | 2015-09-13 09:02:44
HTTP connection to www.sierrachart.com:80 (5) | Closed. No error. | 2015-09-13 09:02:46
HTTP connection to www.sierrachart.com:80 (5) | Shutdown and closed. | 2015-09-13 09:02:46
TWS auto-login thread ending. | 2015-09-13 09:02:47

Interactive Brokers: Connecting to 7496:7496 | 2015-09-13 09:02:48
Starting TWS auto-login thread. | 2015-09-13 09:02:48
TWS auto-login thread ending. | 2015-09-13 09:02:49
Socket (0) | Error on address resolution. Windows error code 11001: No such host is known. | 2015-09-13 09:02:50
Interactive Brokers | Failed to connect to the data and trade server. | 2015-09-13 09:02:50 *
Note: Is the Interactive Brokers TWS software running and is it enabled for socket clients? | 2015-09-13 09:02:50 *
Error connecting to Data or Trading service. For help with this issue, press the 'Send For Analysis' button on this window. | 2015-09-13 09:02:50
To prevent further connection attempts, select 'File >> Disconnect'. | 2015-09-13 09:02:50
Interactive Brokers | Disconnected. | 2015-09-13 09:02:50
Will reconnect to the server in 5.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. | 2015-09-13 09:02:50
Starting TWS auto-login thread. | 2015-09-13 09:02:52
TWS auto-login thread ending. | 2015-09-13 09:02:53

Interactive Brokers: Connecting to 7496:7496 | 2015-09-13 09:02:55
Starting TWS auto-login thread. | 2015-09-13 09:02:56
TWS auto-login thread ending. | 2015-09-13 09:02:57
Socket (0) | Error on address resolution. Windows error code 11001: No such host is known. | 2015-09-13 09:02:57
Interactive Brokers | Failed to connect to the data and trade server. | 2015-09-13 09:02:57 *
Note: Is the Interactive Brokers TWS software running and is it enabled for socket clients? | 2015-09-13 09:02:57 *
Error connecting to Data or Trading service. For help with this issue, press the 'Send For Analysis' button on this window. | 2015-09-13 09:02:57
To prevent further connection attempts, select 'File >> Disconnect'. | 2015-09-13 09:02:57
Interactive Brokers | Disconnected. | 2015-09-13 09:02:57
Will reconnect to the server in 5.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. | 2015-09-13 09:02:57
Starting TWS auto-login thread. | 2015-09-13 09:03:00
TWS auto-login thread ending. | 2015-09-13 09:03:01

Interactive Brokers: Connecting to 7496:7496 | 2015-09-13 09:03:02
Starting TWS auto-login thread. | 2015-09-13 09:03:04
Socket (0) | Error on address resolution. Windows error code 11001: No such host is known. | 2015-09-13 09:03:05
Interactive Brokers | Failed to connect to the data and trade server. | 2015-09-13 09:03:05 *
Note: Is the Interactive Brokers TWS software running and is it enabled for socket clients? | 2015-09-13 09:03:05 *
Error connecting to Data or Trading service. For help with this issue, press the 'Send For Analysis' button on this window. | 2015-09-13 09:03:05
To prevent further connection attempts, select 'File >> Disconnect'. | 2015-09-13 09:03:05
Interactive Brokers | Disconnected. | 2015-09-13 09:03:05
Will reconnect to the server in 5.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. | 2015-09-13 09:03:05
TWS auto-login thread ending. | 2015-09-13 09:03:05
Starting TWS auto-login thread. | 2015-09-13 09:03:08
TWS auto-login thread ending. | 2015-09-13 09:03:09
File >> Disconnect selected. | 2015-09-13 09:03:09
Interactive Brokers | Disconnected. | 2015-09-13 09:03:09
[2015-09-13 21:58:35]
Sierra Chart Engineering - Posts: 104368
This is the problem:

Interactive Brokers: Connecting to 7496:7496 | 2015-09-13 09:03:02

Socket (0) | Error on address resolution. Windows error code 11001: No such host is known. | 2015-09-13 09:03:05

Set Global Settings >> Data/Trade Service Settings >> Connection Details >> Server to localhost:7496.

And try connecting again.
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-09-13 21:58:52

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

Login

Login Page - Create Account