Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 18:15:31 +0000



Can't connect to TWS

View Count: 1013

[2018-12-11 21:18:32]
Michele - Posts: 3
I just installed Sierra Chart 1420. I have TWS 972.1p and the latest API. I think I've got my SC configuration right. I have my IB username and password set and the host set to 127.0.0.1:7496. TWS is running and I have the API settings enabled there. I can start SC fine but when I try to connect to TWS I get this:

Interactive Brokers: Connecting to 127.0.0.1:7496 | 2018-12-11 21:04:25
Socket (8) | Connected. | 2018-12-11 21:04:25
Socket connected to TWS. Sending client version: 62. Waiting for acceptance. | 2018-12-11 21:04:25
Starting TWS auto-login thread. | 2018-12-11 21:04:27
TWS auto-login thread ending. | 2018-12-11 21:04:27
Starting TWS auto-login thread. | 2018-12-11 21:04:31
TWS auto-login thread ending. | 2018-12-11 21:04:31
Starting TWS auto-login thread. | 2018-12-11 21:04:35
TWS auto-login thread ending. | 2018-12-11 21:04:35
Starting TWS auto-login thread. | 2018-12-11 21:04:39
TWS auto-login thread ending. | 2018-12-11 21:04:39
Starting TWS auto-login thread. | 2018-12-11 21:04:43
TWS auto-login thread ending. | 2018-12-11 21:04:43
Starting TWS auto-login thread. | 2018-12-11 21:04:47
TWS auto-login thread ending. | 2018-12-11 21:04:47
Starting TWS auto-login thread. | 2018-12-11 21:04:51
TWS auto-login thread ending. | 2018-12-11 21:04:51
Starting TWS auto-login thread. | 2018-12-11 21:04:55
TWS auto-login thread ending. | 2018-12-11 21:04:55
File >> Disconnect selected. | 2018-12-11 21:04:58
Socket (8) | Shutdown and closed. | 2018-12-11 21:04:58
Interactive Brokers | Failed to connect to the data and trade server. | 2018-12-11 21:04:58 *
Note: Is the Interactive Brokers TWS software running and is it enabled for socket clients? | 2018-12-11 21:04:58 *
Interactive Brokers | Disconnected. | 2018-12-11 21:04:58

Any idea what's wrong here? Thanks.
[2018-12-11 21:53:14]
Sierra Chart Engineering - Posts: 104368
Refer to step 26 here:
https://www.sierrachart.com/index.php?page=doc/InteractiveBrokers.php#IBResolvingConnectionIssue

Also why are you running version 1420? That is years old. You need to use the current version which is 1850:
Software Download: Fast Update

We cannot provide support for a version that old.
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: 2018-12-11 21:53:34
[2018-12-11 22:30:37]
Michele - Posts: 3
"Also why are you running version 1420? That is years old. You need to use the current version which is 1850:"

Because when I downloaded the latest version it was 64 bit. I have a 32 bit PC. Also, I'm running XP (yes, I know but there are reasons for that too). The documentation said something about downgrading to an earlier version but did not say what the latest version that would run on 32 bit XP was. It said the earliest version you could get was 1408. That wouldn't even start for me so I just pulled the number 1420 out of my hat.

What is the last version that will run on 32 bit XP so I can try that? I searched for this but could not find it. That might be the first place to start. I know IB keeps changing their API UI in incompatible manners so it's possible this is what the problem is.
Date Time Of Last Edit: 2018-12-12 00:55:18
[2018-12-11 22:35:51]
Sierra Chart - Max - Posts: 5554
The latest/current version of Sierra Chart can be run in either 64 or 32 bit modes. Refer to the Difference Between 32 and 64-bit Versions section here:

Software Download: Difference Between 32 and 64-bit Versions
Sierra Chart Support
[2018-12-12 00:54:36]
Michele - Posts: 3
The latest/current version of Sierra Chart can be run in either 64 or 32 bit modes. Refer to the Difference Between 32 and 64-bit Versions section here:
OK, thank you. I ran the installer again and got one icon on my desktop named "C:\SierraChart\SierraChart_64.exe" This is the only icon I got.

But following the directions in your link, I see:

Within the C:\SierraChart\ folder (default installation folder) you will have the following two executable files: SierraChart.exe and SierraChart_64.exe. There are shortcuts for these executables on your desktop. Running the SierraChart.exe file, will start the 32 bit version of Sierra Chart.

I do find a file named SierraChart.exe there but when I run it, I get a pop-up "C:\SierraChart\SierraChart.exe is not a valid Win32 application."

???

UPDATE:

I reran the installer and this time specified version 1790. This time it started up automatically and immediately connected to IB no problem. So thank you for suggesting the problem might be a version issue.

I've been playing around with it a bit and I have to say that so far I am very impressed. It compares quite favorably to eSignal.
Date Time Of Last Edit: 2018-12-12 17:41:25
[2018-12-12 18:55:22]
Sierra Chart Engineering - Posts: 104368
Okay good. We are happy you were able to get Sierra Chart running on Windows XP and found a reasonable version. We were going to look at approximately what the latest version is which is supported on Windows XP.

It is a little difficult because basically there is compatibility up until the point where we use a function which is not compatible on Windows XP and that is not obvious to us. But we can make a general estimation. 1790 sounds fine though.
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