unable to connect to interactive brokers

i'm using MATLAB 2020b, i get this error message:
>> ib = ibtws('',7497);
Error using actxserver (line 93)
Server creation failed. Invalid ProgID 'TWS.TwsCtrl.1'.
Error in ibtws (line 37)
x.Handle = actxserver('TWS.TwsCtrl.1');
Any solutions?

1 Comment

please note: i have enabled Active X and Socket Clients in the TWS settings, and have the most up to date API and TWS for interactve brokers.

Sign in to comment.

Answers (1)

Akash
Akash on 18 Apr 2024
Hi Philip,
For a solution to this issue, the MATLAB Central discussions in the links provided below will be helpful.
These resources will provide you with insights and potential solutions to resolve the error you're experiencing.

Categories

Find more on Financial Toolbox in Help Center and File Exchange

Products

Release

R2020b

Asked:

on 23 Nov 2021

Answered:

on 18 Apr 2024

Community Treasure Hunt

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

Start Hunting!