Interactive Broker and Matlab connection on a Mac
Mostrar comentarios más antiguos
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!
Respuestas (2)
Steven Lord
el 25 de En. de 2017
0 votos
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
el 6 de Dic. de 2017
0 votos
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
Categorías
Más información sobre Financial Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!