Error Connecting to IB using ibtws

Undefined function or method 'ib' for input arguments of type 'char'
ib = ibtws('',7496)
I have been tried to reinstall new Microsoft Visual C++ packages or upgrade the Microsoft Visual C++ package is still does't work. Is it I have to Create "IB Trader Workstation connection" first ?

1 Comment

This appears to require the Trading Toolbox and R2013b or later. Do you have that toolbox installed? Which MATLAB version are you using?

Sign in to comment.

Answers (1)

Yair Altman
Yair Altman on 7 Nov 2015
As Walter mentioned, you need to purchase the Trading Toolbox in order to use the ibtws function.
As an alternative, consider using the cross-platform Java-based approach (not ActiveX) of the IB-Matlab product: http://undocumentedmatlab.com/ib-matlab

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 6 Nov 2015

Answered:

on 7 Nov 2015

Community Treasure Hunt

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

Start Hunting!