Configure InteractiveBrokers to run with tbg-Quant
tbg-Quant-v1.1beta5
IB API library cannot be distribute with the tbg-Quant due to license restriction, in order to access InteractiveBrokers services you need to follow these steps:
STEP 1 - Get the jtsclient.jar library
Be sure to download the version 9.68, do not download the beta version.
Once the file is downloaded open the jar and extract the jtsclient.jar
To open the jar:
1. On linux/Unix/Mac type:
jar -xf twsapi_unixmac_968.jar
it will extract the contect of the jar in the same directory.
STEP 2 - Add the jtsclient.jar to classpath
Copy the jtsclient.jar inside the tbg-quant/lib/ folder.
STEP 3 - Try the HelloIB example
The library has been added to your classpath, everything is ok, you should try to run the example HelloIB.
Open your TWS Client, log in and run the HelloIB.
NOTE: be sure to open API socket connection inside TWS preferences.
For production purpose, we suggest to use IBGateway instead of TWS Client.