get_pairs {cryptowatchR} | R Documentation |
Get details on pairs of (crypto)currencies.
get_pairs(pair = NULL, api_key = NULL, allowance = FALSE)
pair |
A string containing a pair symbol, e.g. btcusd (optional argument). Run |
api_key |
A string containing the API key. See https://docs.cryptowat.ch/rest-api/rate-limit to learn how to create an account and how to generate an API key. |
allowance |
A logical (default is |
A list or data.frame containing data on pairs.
See https://docs.cryptowat.ch/rest-api for further information
get_markets
, get_assets
, get_exchanges
## Not run:
# Get all available pairs of currencies
df.pairs <- get_pairs()
# Get details on the pair Bitcoin-USD
pair.btcusd <- get_pairs("btcusd")
## End(Not run)