Trading Toolbox - functions missing (most notably ibtws)

5 views (last 30 days)
Hi there,
I have a student license.
I downloaded the trading toolbox as it is needed to connect to interactive brokers TWS.
Following the example, I try to establish a local connection with tws using the "ibtws" function, and MATLAB responds with function not found.
I tried reinstalling the toolbox, followed by reinstalling matlab and nothing solved the problem.
Looking at the package contents, it seems many of the functions listed in the toolbox online are not present.
Any ideas? (Code below)
>> help ibtws
ibtws not found.
Use the Help browser search field to search the documentation, or
type "help help" for help command options, such as help for methods.
>> CreateAnOrderUsingIBTWSExample
Unrecognized function or variable 'ibtws'.
Error in CreateAnOrderUsingIBTWSExample (line 27)
ib = ibtws('',7496);
>> which -all ibtws
'ibtws' not found.
>> license('test','trading_toolbox')
ans =
1
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.8.0.1380330 (R2020a) Update 2
MATLAB License Number:
Operating System: Mac OS X Version: 10.15.4 Build: 19E287
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.8 (R2020a)
Simulink Version 10.1 (R2020a)
Control System Toolbox Version 10.8 (R2020a)
RF Toolbox Version 3.8 (R2020a)
Statistics and Machine Learning Toolbox Version 11.7 (R2020a)
Symbolic Math Toolbox Version 8.5 (R2020a)
Trading Toolbox Version 3.6.1 (R2020a)
>> which ibtws -all
'ibtws' not found.
>>

Answers (1)

Ameer Hamza
Ameer Hamza on 14 Jun 2020
Edited: Ameer Hamza on 14 Jun 2020
The license information shows that you are using a Mac. The Product requirement page for the trading toolbox: https://www.mathworks.com/support/requirements/trading-toolbox.html mentions that the interactive broker is currently only supported on Windows. Refer to Yair's answer here: https://www.mathworks.com/matlabcentral/answers/321763-interactive-broker-and-matlab-connection-on-a-mac for an alternate solution from undocumented MATLAB.

Categories

Find more on Downloads in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!