
This will retrieve the current market prices from CoinMarketCap. Data gets refreshed every 5 minutes.
getPrices(coin = NULL, limit = 0, currency = NULL)crypto_prices(coin = NULL, limit = 0, currency = NULL)
Token name, default is all, Default: NULL
Return top n coins, default is all, Default: 0
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
Will provide data frame of current prices
Updated every 5 minutes
# NOT RUN {
{
kin_price <- getPrices("kin")
}
# }
Run the code above in your browser using DataLab