Error in ibtws connecting (Trading Toolbox)
1 view (last 30 days)
Show older comments
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!!
0 Comments
Answers (4)
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
on 2 Aug 2015
Great, works for me. Installing all versions of MS Visual C++ redistributable fixes the problem
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/
0 Comments
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.
0 Comments
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.
h=feval(['COM.' convertedProgID], 'server', machinename, interface);
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
0 Comments
See Also
Categories
Find more on Transaction Cost Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!