Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 01:43:22 +0000



IB connection lost

View Count: 2316

[2019-04-21 23:22:58]
arruga - Posts: 249
Hi.
I am subscribed to SC real time data service, connected to IB Trading service. IB(TWS) keeps losing connection. It’s not internet connectivity dropout, as per modem logs. Someone suggested that IB has a download limit, but this shouldn’t be the issue as I’m not bringing data from IB to SC, right? Although there is some mixing of IB and SC data in how SC builds historical charts. Could this be a reason? Are you aware of this problem? Any suggestions to get around it?
I know this is to do with IB, but trying to weigh whether I can do anything at all on the SC side to help things... cheers
[2019-04-22 00:27:09]
Acro - Posts: 436
Hi, I've been experiencing this too last week but not that often before last week.
If it continues this week I will lodge a support ticket with IB.
[2019-04-23 07:16:37]
arruga - Posts: 249
anybody from Sierra?
[2019-04-25 00:26:00]
arruga - Posts: 249
Care to address issue please? It's causing me a lot of trouble and need to get to the bottom of it.
I am subscribed to SC real time data so SC shouldn't be pulling data from IB at all. However, the nature of the message I'm getting says that data is being pulled. What data SC brings to from IB to build historical and intraday charts? This is the message I got from IB support:

"
3. If yes, then how are you passing that data from the Sierra Charts application to TWS?
4. Are you using the data you are receiving in TWS for anything useful (Since you are trading primarily using Sierra Charts platform) ?

Ideally that voice message comes up for clients using IBKR data service when TWS fails to communicate with the data farms (similar to the trading connections). As per your description, this should not be the case with you.
"

Appreciatr guidance to get to the bottom of this.
Thanks
[2019-04-25 03:06:56]
Sierra Chart Engineering - Posts: 104368
Do you trade from Sierra Chart and have the orders being sent to Trader Workstation?
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
[2019-04-25 22:37:27]
arruga - Posts: 249
yes
[2019-04-25 23:32:34]
arruga - Posts: 249
can you please clarify:

1) When using SC real time, the historical data for intraday charts and historical charts comes from the SC data feed...nothing comes from IB, correct?

2) quotes do not travel from SC to TWS so the quotes and charts in IB are not to do with the SC data feed, correct?
[2019-04-26 04:14:10]
arruga - Posts: 249
to complement the issue... I looked into the logs while the system was unstable and found the i lost connection to IB data farms. Sierra logs show the same message:

This sis from Sierra log:

Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:02:15
Message from IB: HMDS data farm connection is broken:ushmds.nj. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:02:46
Message from IB: HMDS data farm connection is broken:ushmds.nj. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:03:06
Message from IB: HMDS data farm connection is broken:ushmds.nj. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:03:12
Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:03:19
Message from IB: HMDS data farm connection is broken:ushmds.nj. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:03:34
Message from IB: HMDS data farm connection is broken:ushmds.nj. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:03:54
Message from IB: HMDS data farm connection is OK:ushmds.nj. IB Error Code: 2106. Request ID: -1. | 2019-04-26 14:04:13
Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:04:24
Message from IB: HMDS data farm connection is broken:ushmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:04:46
Message from IB: HMDS data farm connection is broken:ushmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:04:52
Message from IB: HMDS data farm connection is broken:ushmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:05:12
Message from IB: HMDS data farm connection is broken:ushmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:05:13
Message from IB: HMDS data farm connection is OK:ushmds. IB Error Code: 2106. Request ID: -1. | 2019-04-26 14:05:22
Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:05:33
Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 14:06:53

Just to clarify... Sierra log is just making visible the issue happening on the IB side. Sierra indeed does not depend on this connection to do anything, correct? (as I'm using Sierra real time data service)
[2019-04-26 04:52:29]
Sierra Chart Engineering - Posts: 104368
If you are trading through Sierra Chart, then you do need to stay connected to Trader Workstation. But even when getting disconnected from TWS, the Sierra Chart Exchange Data Feed data will still continue to be received so long as you have enabled:
Data/Trade Service Settings: Reconnect on Failure (Global Settings >> Data/Trade Service Settings >> Common Settings >> Common Settings)

But this really is not relevant because Sierra Chart is not losing the connection to TWS. TWS is losing the connection to its own servers.

1) When using SC real time, the historical data for intraday charts and historical charts comes from the SC data feed...nothing comes from IB, correct?
Yes if the symbol is for one of the exchanges you have activated with the data feed.


2) quotes do not travel from SC to TWS so the quotes and charts in IB are not to do with the SC data feed, correct?
Yes.

Sierra indeed does not depend on this connection to do anything, correct?
Yes this is correct.
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
[2019-04-26 05:56:55]
User993113 - Posts: 71
I have SC datafeed and IB as trading service
SC version 1894
TWS version Build 974.4g, Dec 18, 2018 11:33:32 AM (TWS_Standalone_9.74.4.7)

I'm experiencing the same issue


from Sierra log

Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 06:23:41
Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 06:24:44
Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 06:25:50
...[cut]...
Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 07:31:53
Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 07:33:08
Message from IB: HMDS data farm connection is broken:euhmds. IB Error Code: 2105. Request ID: -1. | 2019-04-26 07:34:22

I can see that the charts did not miss the connection to SC datafeed, so there is nothing from the SC side
I expected to be not able to trade in this conditions, instead my orders are being routed from SC to IB flawlessly
My orders are accepted and executed in the CME and Eurex as well

The TWS did not miss the connection to it's own servers even though I can see that IB Error lines in the SC Log
I can say that without any doubts because
1) I did not heard the Alert: Connection Lost (in the TWS)
2) the TWS was not in disconnected state with magenta lines and the disconnected pop-up
3) orders are being executed

@IB customers: how are you handling that problem with IB support?
Date Time Of Last Edit: 2019-04-26 06:12:01
[2019-04-26 07:10:39]
arruga - Posts: 249
Thanks for replies.W/r to :
"But this really is not relevant because Sierra Chart is not losing the connection to TWS. TWS is losing the connection to its own servers."

This means even though TWS loses connection to their servers, I should still be able to trade from SC, and orders will be routed to IB for execution?

Ok, this was about "Market Data connection lost", which would be irrelevant as clarified above.
There is also a "Trading connection lost", which actually means I can not reach IB servers. IB support explains this may have to do with route congestion in my local network. What would be your understanding here?
[2019-04-27 00:58:27]
Sierra Chart Engineering - Posts: 104368
It sounds like you can still be able to trade. But really the all of this technical discussion in this area needs to be directed to interactive brokers.
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
[2019-04-29 01:01:23]
arruga - Posts: 249
IB advised that I could connect SC to the IB gateway application (much lighter and which will reduce connection problem messaging to their data farms, which I don't use), instead to TWS.
Are you at SC aware of certain risks or limitations that I should be aware of when connecting my SC to IB gateway instead of TWS, when using IB trading service?
I just did a test and managed to place and order routing from SC through the IB gateway. However, all SC mentions w/r to IB trading service is TWS.
Please advise
thanks
[2019-04-29 06:24:05]
Sierra Chart Engineering - Posts: 104368
Perfectly fine to use the IB Gateway. Many of our users use it based upon what we hear on this Support Board.

We will update the documentation in regards to this.
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