Description Usage Arguments Value Examples
Retrieves prices from web and calculates monthly returns.
1 | GetFundReturns(symbols, sdate, edate)
|
symbols |
vector of character strings |
sdate |
start date. Should be the last day of the month before the first month of the return series. Example: use 2015-12-31 to generate the first monthly return for January 2016. |
edate |
end date. Last day of the month of the return series. |
3 column tibble with Symbol, Month-End Date, and Ra, the monthly return
1 | GetFundReturns(symbols = c("IVV", "SPY"), sdate=as.Date("2015-12-31"), edate=as.Date("2018-12-31"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.