Description Usage Arguments Value References Examples
get_price_avg returns the current trading details
(price, vol, open, high, low, etc) of a given coin pair as a volume weighted
average based on provided exchanges.
1 2  | get_price_avg(fsym, tsym, exchanges, sign = FALSE, try_conversion = TRUE,
  app_name = NULL)
 | 
fsym | 
 character. 3 letter name for coin to retreive price history for.  | 
tsym | 
 character. 3 letter name for how price should be reported for
  | 
exchanges | 
 character. Exchanges to build weighted average from. Defaults to 'CCCAGG'.  | 
sign | 
 logical. Should the server sign the response? Defaults to FALSE  | 
try_conversion | 
 logical. Should BTC conversion be used fsym is not trading in tsym on specified exchange? Defaults to TRUE.  | 
app_name | 
 character. Name of app to be passed in API request. Defaults to NULL.  | 
A tibble containing price details as a volume weighted average of the provided exchanges.
https://min-api.cryptocompare.com
1 2 3 4  | ## Not run: 
get_price_avg("BTC", "USD", c("Coinbase", "Kraken", "Bitfinex"))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.