How to connect and retrieve data from Interactive Brokers
3 views (last 30 days)
Show older comments
I am facing the following error when i type this function:
>> data = IBMatlab('action','account, 'AccountName','DU12345');
data = IBMatlab('action','account, 'AccountName','DU12345');
|
Error: Unexpected MATLAB expression.
I was reading through some undocumented matlab manuals and official IB manuals indicating that i would need some jar. failes namely: IBMatlab.jar
I couldnt find these files on the internet neither could Matlab provide me these files and neither Interactive Brokers.
Would someone be so kind and lead me through the process of connecting Matlab to IB or Trading Working Station which is the interface of IB?
Thanks in Advance
8 Comments
Geoff Hayes
on 4 Sep 2014
Unfortunately, I don't have the Trading Toolbox so have never tried to retrieve my own trades.
Answers (2)
Sean de Wolski
on 4 Sep 2014
Have you copied that entire example into a MATLAB file and called it?
I would expect the example to work and if it doesn't Tech Support should surely be able to help.
0 Comments
Yair Altman
on 4 Sep 2014
The IBMatlab function is part of the IB-Matlab product, sold separately from the MathWorks Trading Toolbox. You can see more information about it here: http://undocumentedmatlab.com/ib-matlab
Feel free to contact me to get a free trial of IB-Matlab. You could then compare it to your Trading Toolbox if you wish. I will be happy to assist you with such a comparison.
See Also
Categories
Find more on Transaction Cost Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!