rgdax 1.0.0

Build Status CRAN_Status_Badge

Note:

The previous version is now deprecated. Coinbase had support for the old GDAX API’s till end of 2018 only. This new version is likely to break the previous ones and hence, it is recommended that all users should test this out with their existing applications and make changes as necessary.

This package is inspired by official and unofficial wrappers for Coinbase Pro API. Please read through the api docs to gain a better understanding of how each end point is likely to work.

There are two main groups of api end points.

Public: All functions belonging to this group start with public_ and can be used without any authentication.

Auth: This category of functions will require API Key, API Secret and Passphrase to connect successfully to the account. To get your api keys, refer to how to create Coinbase Pro api keys. The behavior of the functions will also depend upon what kind of access (view, transfer or trade) the api keys have.

What is New in this version

News

Supported Functions

Complete List of Supported Public Functions & Coinbase Pro end point mapping:

# function public mapping
01 candles historic rates
02 daystats 24hr stats
03 info currencies & products
04 orderbook product orderbook
05 ticker product ticker
06 time time
07 trades trades

Complete List of Supported Auth Functions & Coinbase Pro end point mapping:

Accounts

# function auth mapping
08 accounts list accounts
09 account an account
10 account_hist account history
11 holds holds

Orders

# function auth mapping
12 add_order place a new order
13 cancel_order cancel an order & cancel all

Others

# function auth mapping
14 fills list fills
15 pymt_methods list payment methods

Apart from these two categories, the library also contains a few internal functions which are used across the public and the auth functions:

  1. parse_response
  2. auth

Currently Unsupported Functions

Orders

# function auth mapping
XX pending list order
XX pending get an order

Deposits

# function auth mapping
XX pending payment method
XX pending coinbase

Withdrawls

# function auth mapping
XX pending payment method
XX pending coinbase
XX pending crypto

Reports

# function auth mapping
XX pending create a new report
XX pending report status

Others

# function auth mapping
XX pending create conversion
XX pending list coinbase accounts
XX pending trailing volume

Apart from the above listed pending functions, the current version does not support the following key capabilities: 1. Pagination

How to install:

From CRAN

library(rgdax)

This is same as installing master branch from github.

From Github dev

library(devtools)
install_github("DheerajAgarwal/rgdax", ref="dev")

URLs

rgdax CRAN

CRAN codebase

DEV codebase

License:

MIT

DISCLAIMER Use at your own risk.