Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 11:58:52 +0000



Trouble connecting to IB/TWS

View Count: 3259

[2018-02-07 01:28:40]
unset
Have a SC instance connected fine to IB via the IB Gateway API. When I try to connect the same SC instance to IB's TWS it fails to connect. TWS settings are the same as IB Gateway settings. Can't understand why the error.

Log says:

Interactive Brokers | Connecting to 127.0.0.1:7496 | 2018-02-06 20:27:14
Socket (1302) | Creating socket. | 2018-02-06 20:27:14
Socket (1302) | Connecting to IP: 127.0.0.1. | 2018-02-06 20:27:14
Socket (1302) | Connect event error. Windows error code 10061: No connection could be made because the target machine actively refused it. | 2018-02-06 20:27:15 *
Socket (1302) | Initiating close of socket by core. | 2018-02-06 20:27:15
Interactive Brokers | Failed to connect to the data and trade server. | 2018-02-06 20:27:15 *
Note: Is the Interactive Brokers TWS software running and is it enabled for socket clients? | 2018-02-06 20:27:15 *
Error connecting to Data or Trading service. For help with this issue, press the 'Send For Analysis' button on this window. | 2018-02-06 20:27:15

Can you help?
[2018-02-07 02:16:31]
Sierra Chart Engineering - Posts: 104368
Here are the step-by-step instructions for resolving a connection problem to TWS:
https://www.sierrachart.com/index.php?page=doc/InteractiveBrokers.php#IBResolvingConnectionIssue
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
[2018-02-07 02:56:17]
unset
Went through those steps before posting. At the end it says "If there still is an error connecting, then review help topic 1.5.". Topic 1.5 is Contacting Support for Connection Help. Hence my post.
[2018-02-07 18:53:17]
Sierra Chart Engineering - Posts: 104368
Therefore the only possibility left is for us to do a remote assistance session to help you with this.

We can call you in the afternoon.

Make sure your current telephone number is here:
https://www.sierrachart.com/UserControlPanel.php?page=ManageAccountInfo

It must be something very simple like the settings in TWS are not set correctly.
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-02-07 18:53:46
[2018-02-07 22:38:41]
unset
Problem resolved. Had to disable SSL connection at the time of logging into TWS. Thanks.
[2018-02-07 23:22:23]
Sierra Chart Engineering - Posts: 104368
OK this is interesting. We have never known that to cause any problem with the TWS socket API.
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
[2021-12-09 13:58:40]
Rick_bullish3 - Posts: 3
Hello ,
I've just purchased the real time data feed and the package 11.
I've also installed the interactive brokers getaway and followed all the steps, but it is not working.
Could be a problem the fact that i'm using sierra on parallels?

Can you help?

thanks in advance
Date Time Of Last Edit: 2021-12-10 13:36:50
imageScreenshot 2021-12-09 at 14.46.28.png / V - Attached On 2021-12-09 13:57:48 UTC - Size: 615.4 KB - 166 views
[2021-12-13 17:18:14]
Sierra Chart Engineering - Posts: 104368
Could be a problem the fact that i'm using sierra on parallels?
Possibly but we would not know how to troubleshoot this issue on parallels.

Here is the relevant documentation:
https://www.sierrachart.com/index.php?page=doc/InteractiveBrokers.php#IBResolvingConnectionIssue (Resolving Connection Issue)
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: 2021-12-20 06:17:33

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

Login

Login Page - Create Account