Interactive Brokers Strategy Automation Error  [SOLVED]

Questions about MultiCharts and user contributed studies.
shane1800
Posts: 84
Joined: 28 Feb 2014
Has thanked: 5 times
Been thanked: 5 times

Interactive Brokers Strategy Automation Error

Postby shane1800 » 30 Jul 2020

Hi,

I'm using IB Gateway with MC for data and for placing orders which works just fine. But on a chart with a strategy when I turn on SA I get the error "Source Intereactive Brokers" Message: Exception caught while reading socket - An established connection was aborted by the software in your host machine."

Any hints please?

In IB Gateway I see connected API's go from 1 to 2 to 1 over and over again. I turned the firewall off.

Thanks!

granitepeak
Posts: 25
Joined: 07 Jul 2020
Has thanked: 2 times
Been thanked: 4 times

Re: Interactive Brokers Strategy Automation Error

Postby granitepeak » 30 Jul 2020

Just tried mine. No issues.
1. Format Signals/Properties/Auto Trading - go to the bottom is your broker plugin set to IB?
2. Is the gateway port set proper? Do you have the API read only selected?

GP

shane1800
Posts: 84
Joined: 28 Feb 2014
Has thanked: 5 times
Been thanked: 5 times

Re: Interactive Brokers Strategy Automation Error

Postby shane1800 » 31 Jul 2020

Hi GP,

Yes plugin is set to IB. I did a reboot and still the same error. Attached are some pics of my settings. I did SA trading a few years ago and it was working then...

Read only is not selected, port 4001 is used in all settings as far as I can see. Data and manual trading work.
Screen Shot 2020-07-31 at 10.17.29 AM.png
(122.86 KiB) Not downloaded yet
Screen Shot 2020-07-31 at 10.15.25 AM.png
(135.85 KiB) Not downloaded yet

granitepeak
Posts: 25
Joined: 07 Jul 2020
Has thanked: 2 times
Been thanked: 4 times

Re: Interactive Brokers Strategy Automation Error

Postby granitepeak » 31 Jul 2020

Hi Shane,

If not the latest IB gateway, I would uninstall the gateway, download and install the latest.

Can't say if it is necessary or not, but the IB install video shows a different port number.
https://www.multicharts.com/tutorials/
On the right pane look for IB.

Might need to chat with support as this forum isn't very active.

shane1800
Posts: 84
Joined: 28 Feb 2014
Has thanked: 5 times
Been thanked: 5 times

Re: Interactive Brokers Strategy Automation Error

Postby shane1800 » 03 Aug 2020

Hi,

I tried updating the software and rebooting, will contact support thanks!

User avatar
Vlada MultiCharts
Posts: 293
Joined: 22 Apr 2020
Has thanked: 8 times
Been thanked: 76 times

Re: Interactive Brokers Strategy Automation Error

Postby Vlada MultiCharts » 04 Aug 2020

Hello shane1800,

We can recommend you to check symbol mapping settings as described in this article.

shane1800
Posts: 84
Joined: 28 Feb 2014
Has thanked: 5 times
Been thanked: 5 times

Re: Interactive Brokers Strategy Automation Error  [SOLVED]

Postby shane1800 » 05 Aug 2020

Thanks everyone I fixed it. I had created a custom broker profile for IB which I did not select correctly in the SA settings.


Return to “MultiCharts”