IB Matlab connection

Discussion in 'Trading Software' started by Siaberk, Dec 3, 2016.

  1. Siaberk

    Siaberk

    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.
     
  2. TD877

    TD877

  3. Siaberk

    Siaberk

    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?
     
  4. Siaberk

    Siaberk

  5. Did you ask Mathworks? The whole point of premium-priced software is... premium customer service.
     
  6. Siaberk

    Siaberk

    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.