Learn R Programming

cryptowatchR (version 0.1.0)

get_assets: Get asset details

Description

Get asset information for cryptocurrencies.

Usage

get_assets(asset = NULL)

Arguments

asset

A string containing an asset symbol, e.g. btc. Optional argument.

Value

data A list or data.frame containing asset data.

References

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

See Also

get_markets, get_exchanges, get_pairs

Examples

Run this code
# NOT RUN {
asset.data <- get_assets("btc")
df.assets <- get_assets()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab