Posts

Showing posts from November, 2009

Here's a video guide to using the Interactive Brokers API with Matlab.

http://www.maxdama.com/2008/12/interactive-brokers-via-matlab.html As interesting as this method is, it has a limitation. That is it cannot run on other OS other than Windows. Because Max Dama used ActiveX to connect MATLAB and TWS. Inspired by Max's method, basically, writing his own Data adapter between Matlab and Interactive Broker, I took a look at IB API. IB API provides several ways for other softwares to make use of IB API( http://www.interactivebrokers.com.hk/en/p.php?f=programInterface&ib_entity=hk ): 1. DDE for Excel; 2. Java; 3. ActiveX; 4. C++. Out of these four, DDE and ActiveX is dedicated to Windows only; C++ and Java is possible ways to be cross-platform. Out of these two cross-platform interface, my personal preference is Java. One reason is Java is "more" cross-platform" than C++. For example, C++'s portability depends largely on the library that you choose. If you happen to choose a Windows-only library, e.g., .NET Framework, then your C++ ...