Problems connecting Interactive Brokers to Matlab
조회 수: 2 (최근 30일)
이전 댓글 표시
I've been trying to connect Matlab to interactive brokers using the ib = ibtws('',7496) command but i keep running into this error:
---------------------------------------------------
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)_ _
---------------------------------------------------
I have checked these threads and applied the various solutions presented but without success: - http://www.mathworks.com/matlabcentral/answers/184399-error-connecting-to-ib-using-ibtws - http://uk.mathworks.com/matlabcentral/answers/111625-trading-toolbox-connecting-to-interactive-broker - http://www.mathworks.com/matlabcentral/answers/169013-error-in-ibtws-connecting-trading-toolbox
I am running windows 7 x64, Matlab 2015a. I have uninstalled and re-installed both the Microsoft Visual C++ packages as well as the Microsoft .Net framework 4.5.2
댓글 수: 0
답변 (2개)
Yair Altman
2015년 11월 7일
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
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 ActiveX에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!