Interactive Broker and Matlab connection on a Mac

조회 수: 3 (최근 30일)
Thomas Müller
Thomas Müller 2017년 1월 24일
답변: Yair Altman 2017년 12월 6일
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일
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일
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

카테고리

Help CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by