Description Usage Arguments Value Examples
Only returns full months. Dates are last business days of the month.
1 2 | get_monthly_returns(symbols, tiingo_token = Sys.getenv("TIINGO_TOKEN"),
start_date = NULL, end_date = NULL)
|
symbols |
Character vector of symbols |
tiingo_token |
The token for tiigo API |
start_date |
Start date |
end_date |
End date. |
Vector of monthly returns.
1 2 3 | get_monthly_returns(symbols="IVV",
start_date = as.Date("2014-12-31"),
end_date = as.Date("2018-12-31"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.