getCryptoCurrency | R Documentation |
Download cryptocurrency daily time series from Alpha vantage using either a free or premium API key. Includes open high low close, volume and market cap.
getCryptoCurrency( symbol = "BTC", market = "USD", datatype = "json", key = "premium" )
symbol |
cryptocurrency symbol, i.e. "BTC" (string) |
market |
physical currency symbol for quoting i.e. "USD", "CNY", etc. |
datatype |
"json" or "csv" for return type to be parsed |
key |
string for the API key to use Alpha Vantage |
xts object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.