This software is in no way affiliated, endorsed, or
approved by Interactive Brokers or any of its affiliates.
It comes with absolutely no warranty and should
not be used in actual trading unless the user can
read and understand the source.
IBrokers is a pure R implementation of the TWS API. At present
it is only able pull data from the Interactive
Brokers servers via the TWS. Future additions will include more API
access, including live
order handling, and better management across R sessions.
Possible real-time charting via the quantmod
package may be incorporated into future
releases.
Changes to move to version 0.1-0
have made this API implementation much more
robust on all platforms.
Many new error-checking calls have been
incorporated, as well as a more reliable event-loop
to capture the data from the TWS.
The underlying socket connections are pure R. This was
a design decision to maximize cross-platform availability,
as well as a recognition that historical data
requests, or any requests while in a single threaded R
session, must be non-threaded.
Recent additions include reqMktData
to
handle live market data from one or more
symbols, reqMktDepth
to
capture market depth for one or more
symbols, and
reqRealTimeBars
to recieve 5 second
real time bars. Each of these functions
have been implemented with optional user
defined callback handlers
to allow for R code to interact with the API
while receiving data from the TWS.
Please report any
and all bugs/experiences to the maintainer so they can be
corrected or incorporated into future versions.
Additionally, beta testers are needed to make this
a viable alternative for IB-API interaction. Don't be shy.