Best path for IBKR with Matlab in 2022

11 Ansichten (letzte 30 Tage)
Peter
Peter am 25 Okt. 2022
Kommentiert: Shahram am 23 Nov. 2022
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.

Antworten (1)

MarKf
MarKf am 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 Kommentar
Shahram
Shahram am 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');

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Transaction Cost Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by