IB disconnection issue

Questions about MultiCharts and user contributed studies.
Fattyflathead
Posts: 21
Joined: 22 Mar 2019
Has thanked: 10 times
Been thanked: 1 time

IB disconnection issue

Postby Fattyflathead » 24 May 2019

Hello Traders,

I have just setup MC on autotrading nd have a problem with MC/IB connection at night , when i check the logs it seems that Multicharts tries to connect IB gateway at 5.31am every night

5.31AM Information "Connecting to TWS"
and then it shows
5.31AM Error "Connectivity between IB and trader workstation has been lost"

Does anyone know of a way to resolve this , there was some older threads regarding alerts but i couldnt find anything specific on this

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: IB disconnection issue

Postby TJ » 24 May 2019

Hello Traders,

I have just setup MC on autotrading nd have a problem with MC/IB connection at night , when i check the logs it seems that Multicharts tries to connect IB gateway at 5.31am every night

5.31AM Information "Connecting to TWS"
and then it shows
5.31AM Error "Connectivity between IB and trader workstation has been lost"

Does anyone know of a way to resolve this , there was some older threads regarding alerts but i couldnt find anything specific on this
There are two events that can cause this problem:

1. TWS disconnects itself every 24 hours. You can google for work around.

2. IB reboots its servers every night.
MC is notorious on having difficulty reconnecting to it.
You can use the API instead. Again, this is a widely discussed topic. Lots of info on the web and in this forum.

Fattyflathead
Posts: 21
Joined: 22 Mar 2019
Has thanked: 10 times
Been thanked: 1 time

Re: IB disconnection issue

Postby Fattyflathead » 24 May 2019

Thanks a lot TJ for the reply , as some of the discussion i looked at earlier were from 2012 i was hoping that it was something that was resolved already.

i will google the workaround.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: IB disconnection issue

Postby TJ » 24 May 2019

Thanks a lot TJ for the reply , as some of the discussion i looked at earlier were from 2012 i was hoping that it was something that was resolved already.

i will google the workaround.

Since the API came out, virtually nobody is asking about the reconnection problem again.

Fattyflathead
Posts: 21
Joined: 22 Mar 2019
Has thanked: 10 times
Been thanked: 1 time

Re: IB disconnection issue

Postby Fattyflathead » 24 May 2019

TJ when you mention the API are you referring to the IB gateway (Which im using) or something else

thanks again

User avatar
FinanceStrategy
Posts: 7
Joined: 05 Jun 2019
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: IB disconnection issue

Postby FinanceStrategy » 05 Jun 2019

I had the same problem many years ago.

If your problem is the automatic disconnection, you can solve with "IBCONTROLLER", it's a free tool and you can find it online.

Fattyflathead
Posts: 21
Joined: 22 Mar 2019
Has thanked: 10 times
Been thanked: 1 time

Re: IB disconnection issue

Postby Fattyflathead » 05 Jun 2019

Thanks @FinanceStategy ,

the problem is when the gateway disconnects at 5.30am (When IB says performs a maintence reboot) it will not reconnect automatically so autotrading is not going to work , IB support are currently looking at it and if they dont come up with a workable solution then i might give IB controller a try ,


Return to “MultiCharts”