Description Usage Arguments Value Author(s) Examples
Returns actual volume-weighted price, total 24h volume and the price change from Cryptonator.
1 | Cryptonator.simple(ticker = "btc-usd")
|
ticker |
a vector of tickers. Tickers are hyphen-separated currency pairs (e.g. btc-usd, xmr-btc). Note that if you provide more than one ticker, a separate request will be made for each ticker. |
data.frame with
ticker
base base currency code
target counter currency code
price volume-weighted price
volume total trade volume for the last 24 hours (Volume is displayed only for the cryptocurrencies that are actually traded on online exchanges.)
change past hour price change
timestamp POSIXct timestamp in local timezone
gsee
1 2 3 4 5 | ## Not run:
Cryptonator.simple("btc-usd")
Cryptonator.simple(c("btc-usd", "xmr-btc", "xmr-usd"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.