IBrokers is an R package that provides native R access to Interactive Brokers Trader Workstation API.
Available as part of the Tidelift Subscription.
The maintainers of IBrokers
and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.
If you are interested in supporting this project, please consider sponsoring me.
The current release is available on CRAN, which you can install via:
install.packages("IBrokers")
To install the development version, you need to clone the repository and build from source, or run one of:
# lightweight
remotes::install_github("joshuaulrich/IBrokers")
# or
devtools::install_github("joshuaulrich/IBrokers")
Ask your question on Stack Overflow or the R-SIG-Finance mailing list (you must subscribe to post).
Please see the contributing guide.
Jeffrey Ryan, Joshua Ulrich
- ibilli/rib - R-native implementation that strives to preserve official C++/Java client programming paradigm. It implements a full decoder but a simplified client functionality.
- vspinu/rib - Fully featured implementation that wraps the official C++ tws-api client. It provides an interceptor style message handling for easier message processing and bot creation.