Rolling apply fitted alpha/intcpt series of reg: ret~ret.mkt
1 | RollingAlpha(returns, winlen = 21, mktcol = "SPY")
|
returns |
xts df of returns, one column is the mkt return default daily, can be monthly |
winlen |
length rollapply window, default 21 trading days |
mktcol |
string colname of market, default 'SPY' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.