crypto_prices

0th

Percentile

Get current crypto currency prices

This will retrieve the current market prices from CoinMarketCap. Data gets refreshed every 5 minutes but will only return 100 at a time.

Usage
crypto_prices(coin = NULL, limit = 0, currency = "USD", offset = 1)
Arguments
coin

Token name, default is all, Default: NULL

limit

Return top n coins, default is all, Default: 0

currency

Convert into local currency. Must be one of 'AUD', 'BRL', 'CAD', 'CHF', 'CLP', 'CNY', 'CZK', 'DKK', 'EUR', 'GBP', 'HKD', 'HUF', 'IDR', 'ILS', 'INR', 'JPY', 'KRW', 'MXN', 'MYR', 'NOK', 'NZD', 'PHP', 'PKR', 'PLN', 'RUB', 'SEK', 'SGD', 'THB', 'TRY', 'TWD', 'ZAR', Default: NULL

offset

Optional number to offset the initial index of listings

Details

Updated every 5 minutes

Value

Will provide data frame of current prices

Note

The 'offset' parameter can be used to return the next 100 prices

Aliases
  • crypto_prices
Examples
# NOT RUN {
{
kin_price <- crypto_prices('kin')
}
# }
Documentation reproduced from package crypto, version 1.1.3, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.