Interactive Broker and Matlab connection on a Mac

On my Mac I get the error message "Error using actxserver (line 90) Server creation failed. Invalid ProgID 'TWS.TwsCtrl.1'. Error in ibtws" when typing the command ibtws('',7496); is this a Mac issue? (used API beta 9.73. Thank you for your support!

답변 (2개)

Steven Lord
Steven Lord 2017년 1월 25일

0 개 추천

The product system requirements for Trading Toolbox says that this product is only available for Windows. From the error it's trying to use the Microsoft® COM framework to create the IB Trader Workstation connection, and as the name (Microsoft COM) implies that's only available on Windows.
Yair Altman
Yair Altman 2017년 12월 6일

0 개 추천

As Steve noted, Trading Toolbox support for Interactive Brokers is limited to Windows only. This is clearly mentioned in the documented system requirements. On Mac & Linux you will see the error that you mentioned because these OSes don't support COM, on which the Trading Toolbox connector to IB is based.
If you need a Matlab-IB connector on Mac or Linux, then try using my IB-Matlab toolbox instead: http://undocumentedmatlab.com/ib-matlab. IB-Matlab is based on IB's Java (not COM) API, so it runs well on all platforms that support Matlab: Windows, Mac and Linux.
Yair Altman

카테고리

도움말 센터File Exchange에서 Financial Toolbox에 대해 자세히 알아보기

질문:

2017년 1월 24일

답변:

2017년 12월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by