Trading toolbox not connecting to Interactive Broker TWS

2 views (last 30 days)
IBtws is not working in R2020a in Windows 10. I have the latest programs and TWS from Interactive Brokers. I requested support from Matlab and after many attempts to find the problem including direct control of my PC by support the error remains. The final advice was to get Interactive Brokers to fix the excel TwsActiveX.xls connection to TWS. Support says if Excel’s TwsActiveX.xls connection is not working the problem is outside of Matlab and IB should fix it. Interactive Brokers directed me to use the NewTwsDde.xls and had no interest in helping with the TwsActiveX.xls approach. IB_Matlab works with TWS and the NewTwsDde.xls also works any comments would be appreciated. The error is shown below
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');

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!