Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 08:18:30 +0000



Cannot connect to TWS

View Count: 3425

[2015-04-28 17:23:54]
User971526 - Posts: 2
I just got Sierra and when I try to connect to TWS I get this message "Technical Notice: To be able to connect to Interactive Brokers Trader Workstation from this version of Sierra Chart, requires TWS version 9392 or higher. It can be downloaded from here". But I have the latest TWS version 949.3c April 22.
I contacted Interactive Brokers and the chat copy is below. I then tried port 7497 instead of 7496 but got the same Sierra message.

ChatSys: This chat is associated with ticket #431364. Please record this number for use in future inquiries. You are currently in room 'Technical Assistance'.
Angel P: Hello, this is 'Angel P'. How may I help you?
tomjp183: I'm trying to connect Sierra Charts to TWS for the first time. Sierra gives me the error message "Technical Notice: To be able to connect to Interactive Brokers Trader Workstation from this version of Sierra Chart, requires TWS version 9392 or higher. It can be downloaded from here. But I have the latest TWS 949.3c April 22. I think I have the right things checked off in API settings.
Angel P: in TWS go to Edit > Global Configurations > API > Settings, do you have "Enable ActiveX and Socket Clients" checked?
tomjp183: yes
Angel P: where it states "Socket Port" what is specified? is it set to 7496?
tomjp183: yes
Angel P: and below "Trusted IP Address" do you have anything specified?
tomjp183: 127.0.0.1
Angel P: it seems you are all set within TWS. Besides Sierra Charts, do you use any other third party software to connect to TWS? Like Ninja Trader, MultiCharts, enSign... etc?
tomjp183: No.
Angel P: it seems like your all set from IB's end. In this case we would have to advise to contact Sierra Charts for additional assistance. They can further investigate it on there end. Just note, it is feasible you could have another program using port 7496, as a test we would advise clients to try changing the port, say to 7497. If you change it in TWS then make sure in Sierra Charts you change it to the same 7497 and try connecting again.
tomjp183: ok I'll try that. thanks, bye

[2015-04-28 17:27:01]
Sierra Chart - Max - Posts: 5598
Provide a copy of the Message Log, by following these instructions:
http://www.sierrachart.com/index.php?l=PostingInformation.php#log
Sierra Chart Support
Date Time Of Last Edit: 2015-04-28 18:40:39
[2015-04-28 17:42:56]
User971526 - Posts: 2
Software version: 1241 | 2015-04-28 12:37:23
Uses New Spreadsheets | 2015-04-28 12:37:23
Usage end date: 2015-05-07 | 2015-04-28 12:37:23
Enabled for: Advanced Features. | 2015-04-28 12:37:23
Enabled for: Advanced Features 2. | 2015-04-28 12:37:23
Enabled for: Sierra Chart Historical Data Service. | 2015-04-28 12:37:23
Allow Support for Sierra Chart Data Feeds is disabled. | 2015-04-28 12:37:23
Active service: Interactive Brokers | 2015-04-28 12:37:23
Time Zone: -05:00:00 (CST-06CDT+01,M3.2.0/02:00,M11.1.0/02:00) | 2015-04-28 12:37:23
2015-04-28 12:37:23 Local computer clock time | 2015-04-28 12:37:23
2015-04-28 17:37:23 GMT time | 2015-04-28 12:37:23
2015-04-28 12:37:23 Time zone adjusted time | 2015-04-28 12:37:23
Time difference to server time: 20 seconds. | 2015-04-28 12:37:23
Program path: C:\SierraChart\ | 2015-04-28 12:37:23
Data Files path: C:\SierraChart\Data\ | 2015-04-28 12:37:23
OS Version Number: 6.1 | 2015-04-28 12:37:23
Locale Information: C | 2015-04-28 12:37:23

Checking for new symbol settings for ib | 2015-04-28 12:37:23
HTTP connection to www.sierrachart.com:80 (0) | Resolved address sierrachart.com to IP 5.9.8.236 | 2015-04-28 12:37:23
HTTP connection to www.sierrachart.com:80 (1) | Connected. | 2015-04-28 12:37:23
Symbol settings are up-to-date for ib | 2015-04-28 12:37:24

Interactive Brokers: Connecting to 127.0.0.1:7496 | 2015-04-28 12:37:28
Socket (2) | Connected. | 2015-04-28 12:37:28
Socket connected to TWS. Sending client version: 62. Waiting for acceptance. | 2015-04-28 12:37:28
Interactive Brokers | TWS server version: 76 | 2015-04-28 12:37:28
Interactive Brokers | Connected. Waiting for account information. | 2015-04-28 12:37:28
IB Account information received. | 2015-04-28 12:37:28
Interactive Brokers | Received 1 Trade Accounts from TWS. | 2015-04-28 12:37:28
Interactive Brokers | Connected to Demo or Simulated account. | 2015-04-28 12:37:28
Interactive Brokers | Year-Month last connected to Live account: 2015-04 | 2015-04-28 12:37:28
Interactive Brokers | Requesting Trade Positions for account: DU25651 | 2015-04-28 12:37:28
Next valid order ID: 1 | 2015-04-28 12:37:28
Message from IB: Market data farm connection is OK:usfuture. IB Error Code: 2104. Request ID: -1. | 2015-04-28 12:37:28
Message from IB: Market data farm connection is OK:cashfarm. IB Error Code: 2104. Request ID: -1. | 2015-04-28 12:37:28
Message from IB: Market data farm connection is OK:usfarm.us. IB Error Code: 2104. Request ID: -1. | 2015-04-28 12:37:28
Message from IB: Market data farm connection is OK:usfarm. IB Error Code: 2104. Request ID: -1. | 2015-04-28 12:37:28
Message from IB: HMDS data farm connection is OK:ilhmds. IB Error Code: 2106. Request ID: -1. | 2015-04-28 12:37:28
Message from IB: HMDS data farm connection is OK:ushmds. IB Error Code: 2106. Request ID: -1. | 2015-04-28 12:37:28
Next valid order ID: 1 | 2015-04-28 12:37:28
IB Account information received. | 2015-04-28 12:37:28
Interactive Brokers | Received 1 Trade Accounts from TWS. | 2015-04-28 12:37:28
Interactive Brokers | Connected to Demo or Simulated account. | 2015-04-28 12:37:28
Interactive Brokers | Year-Month last connected to Live account: 2015-04 | 2015-04-28 12:37:28
Interactive Brokers | Received Trade Positions download end message for account DU25651 | 2015-04-28 12:37:28
HTTP connection to www.sierrachart.com:80 (1) | Closed. No error. | 2015-04-28 12:37:30
HTTP connection to www.sierrachart.com:80 (1) | Shutdown and closed. | 2015-04-28 12:37:30
Interactive Brokers | Requesting historical order fills for account DU2*. | 2015-04-28 12:37:33
Interactive Brokers | Received Open orders end message. | 2015-04-28 12:37:33
Message from IB: Market data farm connection is inactive but should be available upon demand.cashfarm. IB Error Code: 2108. Request ID: -1. | 2015-04-28 12:38:27
Message from IB: Market data farm connection is inactive but should be available upon demand.cashfarm. IB Error Code: 2108. Request ID: -1. | 2015-04-28 12:38:27

[2015-04-28 18:43:00]
Sierra Chart Engineering - Posts: 104368
You do have a successful connection to Trader Workstation. The next step is to follow the instructions here to open a chart:
https://www.sierrachart.com/index.php?page=doc/doc_GettingStarted.php#ConnectingtoData
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

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

Login

Login Page - Create Account