Best path for IBKR with Matlab in 2022
9 views (last 30 days)
Show older comments
DataFeed is the replacement of Trading Toolbox and in that move they also removed support for IBKR. Super disappointing. The search results that I saw state ways that were possible in older versions of Matlab and toolboxes. I see nothing mentioned in a recent thread. I desire to use the latest versions of Matlab and the toolboxes. With that, is anyone successful with using the latest of everything and able to connect to IBKR's TWS API? If yes, can you explicitly state the details of your matlab setup so that I can mimick what you are doing? Please and thank you. Enjoy your day.
Crossing my fingers that this is possible.
0 Comments
Answers (1)
MarKf
on 2 Nov 2022
When Trading Toolbox became Datafeed Toolbox in R2021a, Interactive Brokers toolbox "ibtws" (and some other stuff) was removed but you can still find it around File Exchange and MATLAB Answers.
You can simply download ibtws (or the other tollboxes and submissions that wrap around the API) and extract the contents on your MATLAB path to use it the same way.
1 Comment
Shahram
on 23 Nov 2022
I have done this but when I run this code, I get the followiing error.
>> ib = ibtws('',7496);
Error using actxserver (line 93)
Server creation failed. Invalid ProgID 'TWS.TwsCtrl.1'.
Error in ibtws (line 37)
x.Handle = actxserver('TWS.TwsCtrl.1');
See Also
Categories
Find more on Transaction Cost Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!