Learn R Programming

rgdax 1.2.1

Note:

The version less than 1.1.0 are now broken and unsupported. Coinbase had support for the old GDAX API's only till the end of 2018. Version 1.1 and above WILL break the previous implementations and hence, it is recommended that all users should test this extensively with their existing applications (bulit pre-March 2021) 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:

#functionpublic mapping
01candleshistoric rates
02daystats24hr stats
03infocurrencies & products
04orderbookproduct orderbook
05tickerproduct ticker
06timetime
07tradestrades

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

Accounts

#functionauth mapping
08accountslist accounts
09accountan account
10account_histaccount history
11holdsholds

Orders

#functionauth mapping
12add_orderplace a new order
13cancel_ordercancel an order & cancel all
14list_orderslist order

Others

#functionauth mapping
15fillslist fills
16pymt_methodslist 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

#functionauth mapping
XXpendingget an order

Deposits

#functionauth mapping
XXpendingpayment method
XXpendingcoinbase

Withdrawls

#functionauth mapping
XXpendingpayment method
XXpendingcoinbase
XXpendingcrypto

Reports

#functionauth mapping
XXpendingcreate a new report
XXpendingreport status

Others

#functionauth mapping
XXpendingcreate conversion
XXpendinglist coinbase accounts
XXpendingtrailing 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.

Copy Link

Version

Install

install.packages('rgdax')

Monthly Downloads

637

Version

1.2.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Dheeraj Agarwal

Last Published

August 3rd, 2021

Functions in rgdax (1.2.1)

pymt_methods

View All Linked payment Methods.
public_daystats

24 Hour Stats For A Given Product
parse_response

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

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

Cancel Pending Orders
auth

Parse Authenticated Calls To COINBASE PRO (erstwhile GDAX) API
public_time

Get GDAX API Server Time
list_orders

Get List of All Orders for the User
open_orders

Get List of All Orders the User
public_trades

Get Latest Buy & Sell Trades.
public_candles

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

Get Account Details For An Account
account_hist

Get Account History For An Account Using Currency
public_ticker

Get Latest Buy & Sell Trade.
public_orderbook

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

Get Account Details For All Accounts
add_order

Create a New Order For A Currency
holds

Get Hold Details for An Account Using Currency
fills

Get List of Most Recent Fills