AmiBroker / IB Plugin

AmiBroker is a great Software for Charting and developing Trading Systems and supports a number of Datasources - but unfortunately not InteractiveBrokers (IB).

I have completed a framework which allows to access IB TWS from simple C/C++ Code - much like the IB Socket Client Code.

The code is being used in a Plugin for Amibroker, which currently only provides Quotes from IB to AmiBroker - but unfortunately , while already working fine, the plugin is still some way from being ready to be released.

Well, someone was quicker, get the official Data Plugin here:

www.amibroker.com/ib.html

The trading plugin is still ‘vapor-ware’ - just the supporting functions exist and are being tested - but no plugin exists at this time.

*UPDATE 03/03/2005*

www.amibroker.com/download.html has all the features already - so my project

is officially cancelled.

Using IB TWS on FreeBSD ( or Linux )

Here are the steps how you can get IB-TWS running on FreeBSD,

provided you have the jdk4 port installed alrady.

Get the following Files :

www.interactivebrokers.com/java/classes/jts.jar

www.interactivebrokers.com/java/classes/jfreechart-0.9.15.jar

www.interactivebrokers.com/java/classes/jcommon-0.9.0.jar

( copy to /usr/local/ib-tws/ )

copy the following script to /usr/local/bin/tws

---——————————————————–

#!/bin/sh

CLASSPATH=/usr/local/ib-tws/jts.jar:\

/usr/local/ib-tws/jcommon-0.9.0.jar:\

/usr/local/ib-tws/jfreechart-0.9.15.jar:\

$CLASSPATH

export CLASSPATH

if [ ! -f $HOME/.ib/jts.ini ];then

mkdir -p $HOME/.ib

cp /usr/local/ib-tws/jts.ini $HOME/.ib

fi

# We’re not interested in java coredumps

ulimit -c 0

javavm -Djava.net.preferIPv4Stack=true jclient/LoginFrame $HOME/.ib

---——————————————————–

now typing /usr/local/bin/tws should start IB TWS and give you

a login - from now on everything should work just like on Windows.