Learn R Programming

cryptowatchR (version 0.2.0)

get_exchanges: Get exchange details

Description

Get information on exchanges.

Usage

get_exchanges(exchange = NULL, api_key = NULL, allowance = FALSE)

Arguments

exchange

A string containing an exchange symbol, e.g. kraken (optional argument). Run get_exchanges() to get a list of exchanges.

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 FALSE). If TRUE the function returns a list which includes allowance information, i.e. cost of the request, remaining credits and your account name.

Value

A list or data.frame containing data on exchanges.

References

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

See Also

get_markets, get_assets, get_pairs

Examples

Run this code
# NOT RUN {
# Get all available exchanges
df.exchanges <- get_exchanges()
# Get information on the exchange Kraken
exchange.kraken <- get_exchanges("kraken")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab