Allow access to both public and private end points to Coinbase Pro (erstwhile GDAX) cryptocurrency exchange. For authenticated flow, users must have valid api, secret and passphrase to be able to connect.
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.
Complete List of Supported Public Functions & Coinbase Pro end point mapping:
|03||info||currencies & products|
Complete List of Supported Auth Functions & Coinbase Pro end point mapping:
|12||add_order||place a new order|
|13||cancel_order||cancel an order & cancel all|
|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:
|XX||pending||get an order|
|XX||pending||create a new report|
|XX||pending||list coinbase accounts|
Apart from the above listed pending functions, the current version does not support the following key capabilities:
This is same as installing
master branch from github.
From Github dev
library(devtools) install_github("DheerajAgarwal/rgdax", ref="dev")
DISCLAIMER Use at your own risk.
base_url to in
2. updated documentation in
cancel_order to take an
order_id as an optional parameter.
open_orders to list all open orders.
add_orderwas broken for
limitorder types after the
stop orderbuilt in. Now all orders can be successfully placed.
Only documentation updates like fixing typos and providing clarification on usage. No changes have been made to any code or functions.
fills()function has been enhanced to include
product_id. Now users can get the fills for a given product-currency pair.
add_order()function has been enhanced to include
stop_price. Users can now add either a stop-loss or a stop-entry order. The function was also enhanced for continue adding market orders without specifying the price which was original mandatory.