Error in ibtws connecting (Trading Toolbox)

2 views (last 30 days)
Mf
Mf on 6 Jan 2015
Answered: Andy on 1 Jun 2020
Hi guys, Im trying to connect to interactive brokers. But sadly i get this error in return:
ib = ibtws('',7496)
Error using feval
Server Creation Failed: The application has failed to start
because its side-by-side configuration is incorrect. Please
see the application event log or use the command-line
sxstrace.exe tool for more detail.
Error in actxserver (line 86)
h=feval(['COM.' convertedProgID], 'server',
machinename, interface);
Error in ibtws (line 38)
Does anyone know what is happening here.
Much appreciated!!

Answers (4)

Walter Roberson
Walter Roberson on 4 May 2015
You have incompatible library files installed.
https://support.microsoft.com/en-us/kb/2525435
https://www.youtube.com/watch?v=uRLznz_wI-k
  1 Comment
Fiction
Fiction on 2 Aug 2015
Great, works for me. Installing all versions of MS Visual C++ redistributable fixes the problem

Sign in to comment.


Yair Altman
Yair Altman on 22 Mar 2015
This problem is due to using the ActiveX connector to IB.
You might wish to try the cross-platform Java-based approach (not ActiveX) of the IB-Matlab product: http://undocumentedmatlab.com/ib-matlab/

Sergiu TICU
Sergiu TICU on 9 Feb 2016
I have managed to solved this by installing the 32 bit Version of “ Microsoft Visual C++ 2005 Redistributable ”. Here more information on how to link Matlab to IB TWS.

Andy
Andy on 1 Jun 2020
Guys, one question ...
Why do you still have Interactive Brokers as a supported broker and data source in the DOCs ... if it doesn't work?
I've installed latest production IB Trader Workstation ... tried all the gotcha's in various links ... and still doesn't work, getting the below error in 2020a:
Error using feval
Server Creation Failed: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
Error in actxserver (line 89)
h=feval(['COM.' convertedProgID], 'server', machinename, interface);
Error in ibtws (line 37)
x.Handle = actxserver('TWS.TwsCtrl.1');
I believe it's simple: you either support it ... or you remove support, there is no middle ground. so, what is it?
thanks

Products

Community Treasure Hunt

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

Start Hunting!