Error in ibtws connecting (Trading Toolbox)

2 次查看(过去 30 天)
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!!

回答(4 个)

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

请先登录,再进行评论。


Yair Altman
Yair Altman 2015-3-22
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 2016-2-9
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 2020-6-1
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

类别

Help CenterFile Exchange 中查找有关 Transaction Cost Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by