Automated Trading with 'R' and Interactive Brokers
"Dear old Future, be so nice, let us know tomorrow's price"



QSIBLIVE Downloads:

- - Latest version
qsiblive-public-license-1.5-stable.tar.gz - 22. April 2012 - (README)

- - Earlier versions
qsiblive-public-1.0-stable.tar.gz
qsiblive-public-20110630-0.tar.gz
qsiblive-public-20110608-0.tar.gz
qsiblive-public-20110416-0.tar.gz
qsiblive-public-20110315-1.tar.gz



What is it?   'QSIBLIVE' is a collection of R scripts that will enable you to use a trading strategy developed in the backtesting evironment 'quantstrat' for live trading with Interactive Brokers. Only the free 'R' environment is required. 'QSIBLIVE' is built on top of two great R packages,'quantstrat' and 'IBrokers'. For details, see the README.

What can it do?   It can show you how to deploy a tested and hopefully robust and profitable trading strategy to the market, with R alone. The public version is limited to End-Of-Day trading based on daily Close prices. For now it only supports trading a single instrument, not a portfolio of instruments. But you can launch as many instances of it as you like and therefore effectively trade a portfolio of single instruments, using either the same strategy or a different one on each instrument. This public version should not be used for unsupervised trading. But I think it can give you an idea how to create your own solution. One that you feel comfortable with and trust.

Why is this useful?   Well, there are many nice pieces of software that connect to the IB Trader Workstation,some of which can be used for automated trading. Some are even freeware. None or very few of them however offer the power, simplicity and community support of the 'R' project. Besides, R has really an amazing repository of free and very adavanced statistical packages, something you will find very useful if you trade using quantitative methods. All I am trying to do here is bring R a bit closer to the market, without any middleware.


WARNING: This code is in constant development. The public version has not been optimized nor has it been cleaned of unnecessary comments and should NOT be used with a production IB account. I recommend that you use it for test-trading with an IB PAPER account only. Also note that the required 'quantstrat' package is itself,as stated by the authors, a development package and therefore not necessarily stable enough for untested deployment to a production environment.WARNING:



Variants of QSIBLIVE have been optimized for intraday trading and for the execution of particular strategy types. These are in various stages of development,testing or production and available under a proprietary license upon request.


Soren Wilkening (Dipl.Math.)
 
LinkedIn






Quote: "It's not pretty, but it works"