目录
计算滚动日收益
df – pd.DataFrame, 日收益数据,columns=[‘dt’, ret_col]
ret_col – str, 收益列名
window – int, 滚动窗口, 自然天数
min_periods – int, 最小样本数
kwargs –