Learn R Programming

⚠️There's a newer version (1.2.1) of this package.Take me there.

rgdax 0.4.0

This package is inspired by official and unofficial wrappers for GDAX 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 GDAX api keys. The behavior of the functions will also depend upon what kind of access (view, trade or manage) the api keys have.

What is New in this version

News

Supported Functions

Complete List of Supported Public Functions:

  1. candles
  2. daystats
  3. info
  4. orderbook
  5. ticker
  6. time
  7. trades

Complete List of Supported Auth Functions:

  1. account_hist
  2. account
  3. accounts
  4. add_order
  5. cancel_order
  6. fills
  7. holds
  8. profile
  9. pymt_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

Limitations:

The current version does not support the following key capabilities:

  1. Pagination
  2. Make deposits or withdrawls

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")

Some Inspirations

Unofficial Python GDAX Wrapper #The real reason I started this project.

coinbaseexchangeenterorder-r #Helped me break the auth calls.

MTDO's Shiny App #For the data cleaning of most public functions.

URLs

github CRAN

bitbucket DEV

github DEV

License:

MIT

DISCLAIMER Use at your own risk.

Copy Link

Version

Install

install.packages('rgdax')

Monthly Downloads

535

Version

0.4.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Dheeraj Agarwal

Last Published

February 19th, 2018

Functions in rgdax (0.4.0)

parse_response

Utility Function To Parse Message From GDAX API For Public Functions
fills

Get List of Most Recent Fills
cancel_order

Cancel Pending Orders
auth

Parse Authenticated Calls To GDAX API
add_order

Create a New Order For A Currency
profile

Overview of User's System Profile
account

Get Account Details For An Account
account_hist

Get Account History For An Account Using Currency
accounts

Get Account Details For All Accounts
holds

Get Hold Details for An Account Using Currency
public_candles

Get bids and asks for provided currency-pair (products) by GDAX.
public_info

Get all supported products (currency - pairs) by GDAX.
public_daystats

24 Hour Stats For A Given Product
public_orderbook

Get bids and asks for provided currency-pair (products) by GDAX.
public_ticker

Get Latest Buy & Sell Trade.
public_time

Get GDAX API Server Time
public_trades

Get Latest Buy & Sell Trades.
pymt_methods

View All Linked payment Methods.