Description Usage Arguments Value Examples
easily get stock return data
1 | getReturns(tickers, look_back, start, end, rolling = FALSE)
|
vector |
string formatted stock tickers |
number |
return period (1->daily returns, 21->monthly, 252->annual) |
string |
data collection start date |
string |
data collection end date |
boolean |
get rolling returns? defaults FALSE |
list of matrices with return data
1 | getReturns(c("FB","GS"),21,"2012-01-01","2015-01-01")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.