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
IB disconnection issue
-
- Posts: 21
- Joined: 22 Mar 2019
- Has thanked: 10 times
- Been thanked: 1 time
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: IB disconnection issue
There are two events that can cause this problem: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
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.
-
- Posts: 21
- Joined: 22 Mar 2019
- Has thanked: 10 times
- Been thanked: 1 time
Re: IB disconnection issue
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.
i will google the workaround.
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: IB disconnection issue
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.
-
- Posts: 21
- Joined: 22 Mar 2019
- Has thanked: 10 times
- Been thanked: 1 time
Re: IB disconnection issue
TJ when you mention the API are you referring to the IB gateway (Which im using) or something else
thanks again
thanks again
- FinanceStrategy
- Posts: 7
- Joined: 05 Jun 2019
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
Re: IB disconnection issue
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.
If your problem is the automatic disconnection, you can solve with "IBCONTROLLER", it's a free tool and you can find it online.
-
- Posts: 21
- Joined: 22 Mar 2019
- Has thanked: 10 times
- Been thanked: 1 time
Re: IB disconnection issue
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 ,
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 ,