R & bitcoin integration

Utilities related to Bitcoin. Unified markets API interface (bitstamp, kraken, btce, bitmarket). Both public and private API calls. Integration of data structures for all markets. Support SSL. Read Rbitcoin documentation (command: ?btc) for more information.

Utilities related to Bitcoin. Unified markets API interface (bitstamp, kraken, btce, bitmarket). Both public and private API calls.

Current version: 0.9.2 NEWS


# Rbitcoin 0.9 from CRAN
# Rbitcoin 0.9.2 from github
devtools::install_github("Rbitcoin", "jangorecki")




MIT license


[email protected]


Rbitcoin 0.9.2

  • added packageStartupMessage about future changes
  • ssl.verifyhost curl option update
  • fix in api.dict for bitmarket place_limit_order
  • minor fixes to wallet_manager and its Rbitcoin.plot
  • minor doc fixes

Rbitcoin 0.9

  • blockchain.api.process - blockchain.api.query with postprocessing of results
  • market.api.* support for new market: bitmarket
  • api.dict: minor fixes, some new currency pairs.
  • new utility functions:
    • Rbitcoin.plot - plot of Rbitcoin results
    • wallet manager - track assets on multiple wallet sources over time
    • available wallet - wallet amounts subtract open orders amounts

Rbitcoin 0.8.5

  • some technical params (curl.verbose, ssl.verify, debug) removed from FUNs args. They are available as 'options'.
  • documentation update
  • workaround for data.table setkeyv issue (v1.8.11 - v1.9.2) added
  • timezone of POSIX objects used by package changed from GMT to UTC
  • api.dict update/fixes:
    • added kraken BTCLTC and btce NMCBTC to api.dict
    • some business exceptions handled
    • kraken ticker ask-bid swap fixed
    • incorrect base-quote headers swap fixed on some entries

Rbitcoin 0.8

  • market.api.process: added currency_pair param (non backwards compatible!)
  • market specific market.api.query functions optimization
  • market.api.process: added optional (user customized) api.dict param
  • error handling rewritten
  • market.api.process: api.dict: actions extended (note the market.api.query already handle all actions/methods): ticker, wallet, open_orders, order_book, place_limit_order, cancel_order, trades
  • market.api.process: api.dict: market currency pairs extended (note the market.api.query already handle all currency pairs), currently supported:
    • mtgox: BTCUSD
    • bitstamp: BTCUSD
    • btce: LTCUSD, LTCBTC
    • kraken: BTCEUR, LTCEUR
  • btce param 'method' moved to 'req' list object (non backwards compatible!)
  • blockchain.api.query rewritten to use extended API in JSON, fixed missing @export

Rbitcoin 0.6

  • Added api dictionary for pre & post processing, market error handling
  • Added market.api.process: ticker, wallet, order_book actions available
  • Documentation updates, better examples

Rbitcoin 0.5.1

  • Documentation extended

Rbitcoin 0.5

  • First version to publish
  • API public/private calls on mtgox, bitstamp, btce, kraken
  • blockchain account balance

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.9.2 by Jan Gorecki, 7 years ago


Report a bug at https://github.com/jangorecki/Rbitcoin/issues

Browse source code at https://github.com/cran/Rbitcoin

Authors: Jan Gorecki

Documentation:   PDF Manual  

Task views: Empirical Finance

MIT + file LICENSE license

Imports RCurl, digest, RJSONIO

Depends on data.table

See at CRAN