Learn R Programming

cryptowatchR (version 0.1.0)

get_pairs: Get pair of currencies

Description

Get details on pairs of (crypto)currencies.

Usage

get_pairs(pair = NULL)

Arguments

pair

A string containing a pair symbol, e.g. btcusd. Optional argument.

Value

data A list or data.frame containing pair data.

References

See https://docs.cryptowat.ch/rest-api for further information

See Also

get_markets, get_assets, get_exchanges

Examples

Run this code
# NOT RUN {
btcusd.data <- get_pairs("btcusd")
df.pairs <- get_pairs()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab