I have a question and problem connecting matlab to IB TWS using ibtws function inside matlab. It seems it doesn't open the port of 7496. Is there any thing I should do before? It gives server error. Or could direct t the right page and people here to ask them! It's so lame that there is no standard API system or routine to connect any application with no problem to the broker's platforms. Thanks in advance.
Thnaks for the help. Mine is 64bit windows. I installed vis C++ 2005, and still get the error: ib = ibtws('',7496); Error in actxserver (line 86) h=feval(['COM.' convertedProgID], 'server', machinename, interface); Error in ibtws Do I need to do something else which I am missing here?
I did all the right things and I still get the same error as here: https://www.mathworks.com/matlabcentral/answers/184399-error-connecting-to-ib-using-ibtws I have no clue why I still cannot get it work! It's just frustrating
No, but I bet they have no idea. It's not the problem with Matlab I think. I think only 32 bit versions which have trading toolbox to run the ibtws function and its library can work with TWS platform. That's just for getting the real time data from IB. sending back the signals is another challenge. It's ridiculous, such a firm doesn't have a good system and API or standardized tool in place.