qis.compute_rolling_ra_returns

qis.compute_rolling_ra_returns(returns, span=1, ewm_lambda_eod=0.94, vol_target=None, weight_shift=1, is_log_returns_to_arithmetic=True)[source]

span = 1: daily ra returns otherwise compute sum of returns and then their vols interpretation: voltargeting for returns over span ewm_lambda is vol over the span too

Parameters:
Return type:

DataFrame