Description Usage Arguments Details Value Examples
Download time-series from Tiingo
1 | download_tiingo(ticker, tiingo_api, try_mode = TRUE)
|
ticker |
string representing ticker or symbol to download |
tiingo_api |
string containing your Tiingo API, see details |
try_mode |
boolean to use try-error handling |
https://www.tiingo.com/ is a free source for financial time-series,
you need to sign up to create an account to get an API. Use your API as a
string for the tiingo_api
parameter.
data.frame containing dates and returns
1 2 | tiingo_api <- 'YourTiingoAPI'
spy <- download_tiingo('spy', tiingo_api)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.