Skip to content

Ruby interface to Interactive Brokers' TWS API

License

Notifications You must be signed in to change notification settings

rswaminathan/ib-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IB-Ruby: Ruby implementation of the Interactive Brokers' TWS API.
Copyright (C) 2006-2009 Paul Legato
By Paul Legato (pjlegato at gmail dot com)


== License
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA

== Use At Your Own Risk

As the license indicates, this code is provided AS IS, WITH NO
WARRANTY WHATSOEVER, not even an implied warranty of merchantability
or fitness for a particular purpose.

*ANY USE YOU MAKE OF THIS CODE IS ENTIRELY AT YOUR OWN RISK.*

This code may contain any number of errors or bugs, both known and
unknown. Use of this code may result in monetary loss due to known or
unknown bugs and errors. In no event shall the author be liable or
responsible for any loss whatsoever, direct or indirect, that may
occur as a result of your use of this code.


== Overview

This provides a Ruby interface to the Interactive Brokers' Trader
Workstation API (http://www.interactivebrokers.com/). This code is not
sanctioned or endorsed by IB.

== Status of this release

This is an alpha test quality release. I specifically DO NOT recommend
that it be used for live trading under any circumstances. It has not
been tested. I am releasing it in the hopes that the many eyes of the
community will help with enhancing it, so that we all will have a
robust and reliable library to use.



== Use
First, start up TWS and set it to allow connections from localhost.

Then:

   require 'ib'

   ib = IB::IB.new()

You should see messages flash by displaying the startup messages
received from TWS.

See also the code in examples/ directory.


== Revision history
11/23/06 - 0.1 - alpha release
02/14/07 - 0.2 - alpha release

About

Ruby interface to Interactive Brokers' TWS API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published