Description Usage Arguments Examples
Get cryptocurrency prices aggregated through Tiingo
1 2 3 4 5 6 7 8 9 10 |
ticker |
One or more cryptocurrency tickers.
Specified as |
start_date |
The first date to download data for.
A character in the form YYYY-MM-DD, or a |
end_date |
The last date to download data for.
A character in the form YYYY-MM-DD, or a |
resample_frequency |
For Tiingo data, a character specified as one of:
For IEX data, a character specified at the For Crypto data, a character specified at the |
base_currency |
Instead of |
exchanges |
If you would like to limit the query to a subset of exchanges,
pass a comma-separated list of exchanges to select. Example) |
convert_currency |
This parameter will convert the return data into another
fx rate. For example if querying |
raw |
If |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
# Bitcoin prices
riingo_crypto_prices("btcusd")
# Bitcoin in USD and EUR
riingo_crypto_prices(c("btcusd", "btceur"), start_date = "2018-01-01", resample_frequency = "5min")
# Bitcoin raw data
riingo_crypto_prices("btcusd", raw = TRUE)
# Only use the POLONIEX exchange
riingo_crypto_prices("btcusd", raw = TRUE, exchanges = "POLONIEX")
# All btc___ crypotcurrency pairs
riingo_crypto_prices(base_currency = "btc")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.