get_price_details
is Like get_price
but provides a more
thorough summary of price data by including details like 24 volume and highs
and lows.
get_price_details(fsyms, tsyms, exchange = "CCCAGG", sign = FALSE, try_conversion = TRUE, app_name = NULL)
fsyms | character. 3 letter name(s) for coins to retreive price details for. |
---|---|
tsyms | character. 3 letter name(s) for how price should be reported for
|
exchange | character. Exchange to query. Defaults to 'CCCAGG'. |
sign | logical. Should the server sign the response? Defaults to FALSE. |
try_conversion | logical. Should BTC conversion be used if |
app_name | character. Name of app to be passed in API request. Defaults to NULL. |
A tibble containing comprehensive price details for fsyms
in
terms of tsyms
.
https://www.cryptocompare.com/api#-api-data-price-
# NOT RUN { # Get BTC price details in USD get_price_details("BTC", "USD") # Get BTC and ETH price details in USD and EUR get_price_details(c("BTC", "ETH"), c("USD", "EUR")) # }