Error when connecting to ib trader workstation

1 view (last 30 days)
Will
Will on 17 Dec 2018
Answered: Yair Altman on 18 Dec 2018
Hi guys, I was looking at the Create IB Trader Workstation connection page and I was testing it out.
I tried to connect with:
ib = ibtws('',7496)
but it showed an error:
Undefined function or variable 'ibtws'.
Then I tried:
which -all ibtws
and this error came up:
'ibtws' not found.
I have the trading toolbox installed.
Any ideas?
Thanks in advance.

Answers (1)

Yair Altman
Yair Altman on 18 Dec 2018
The Trading Toolbox's IB connector is based on ActiveX and is therefore only available on Windows, not Mac or Linux. So if you happen to run Matlab on Mac or Linux you'll need to use a different connector (for example, my IB-Matlab connector which uses Java instead of ActiveX, and runs on all platforms that run Matlab).

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!