gdaxr provides an R interface for making requests to the GDAX API. This package is still under development and not all endpoints have been implemented yet.
Please see the official GDAX API reference for more information on the web API.
library(gdaxr)
accounts <- get_accounts()
# look at first account
accounts[[1]]
Installation can be done via devtools.
devtools::install_github("zamorarr/gdaxr")
API key authentication requires each request to be signed. You can create and activate new API keys in your GDAX API settings.
This package assumes you have set your GDAX_KEY
, GDAX_SECRET
, and
GDAX_PASSPHRASE
environment variables to the values provided when you created
a new API key. Please ensure these are set in your ~/.Renviron file and check with
Sys.getenv("GDAX_KEY")
Sys.getenv("GDAX_SECRET")
Sys.getenv("GDAX_PASSPHRASE")