The settings by name, each one optional where the positional form's is.
https://screamer.readthedocs.io/en/latest/functions_rolling/RollingVarianceRatio.html for the full reference.
Lo-MacKinlay variance ratio of a window of returns, near 1 for a random walk, above 1 when returns trend and below 1 when they revert, or its robust z-statistic.
OptionalwindowSize: number
Number of most recent returns in the window. Must be more than 2 lag.
Optionallag: number
Number of returns summed into each long-horizon return (q).
Optionaloutput: string
"ratio" for the variance ratio VR(q), "zscore" for the heteroskedasticity-robust statistic z*(q).
OptionalstartPolicy: string
Output before the window is full: "strict" gives NaN, "expanding" uses the returns seen so far once there are more than 2 lag, and "zero" treats the window as pre-filled with zeros.
https://screamer.readthedocs.io/en/latest/functions_rolling/RollingVarianceRatio.html for the full reference.
Lo-MacKinlay variance ratio of a window of returns, near 1 for a random walk, above 1 when returns trend and below 1 when they revert, or its robust z-statistic.