Reputation: 1
I am using MATLAB2017b version & Interactive brokers API version is 9.73 Windows 64bit version. I am unable to register the Tws.ocx
file & regsvr32.exe
file through command prompt. If I go to register the file, they show a binary error
While executing this command on MATLAB Command window
ib = ibtws('',7496)
.
They show the error....
Error using actxserver (line 90)
Server creation failed. Invalid ProgID 'TWS.TwsCtrl.1'.Error in ibtws
Upvotes: 0
Views: 387
Reputation: 5722
As I explained in detail here, this is due to an unhandled error in the Trading Toolbox, which relies on the IB ActiveX/COM connector, which changed it ProgID a while ago, thereby causing the toolbox to break.
Consider using the IB-Matlab connector instead.
Upvotes: 0