qis.compute_rolling_perf_stat¶ qis.compute_rolling_perf_stat(prices, rolling_perf_stat=RollingPerfStat.TOTAL_RETURNS, roll_freq='B', roll_periods=260)[source]¶ compute rolling performance default stats is 1y rolling for prices with roll_freq = ‘B’ for monthly returns anf 5y rolling use roll_freq=’ME’ and roll_periods=5*12 Parameters: prices (DataFrame | Series) rolling_perf_stat (RollingPerfStat) roll_freq (str | None) roll_periods (int) Return type: Tuple[DataFrame | Series, str]