The settings by name, each one optional where the positional form's is.
https://screamer.readthedocs.io/en/latest/functions_fin/RollingSpread.html for the full reference.
Rolling hedge-adjusted residual x - beta * y, with beta the rolling regression slope.
OptionalwindowSize: number
Number of most recent (x, y) pairs used to estimate the hedge ratio.
OptionalstartPolicy: string
Output before the window is full: "strict" gives NaN, "expanding" computes from the samples seen so far, and "zero" treats the window as pre-filled with zeros.
https://screamer.readthedocs.io/en/latest/functions_fin/RollingSpread.html for the full reference.
Rolling hedge-adjusted residual x - beta * y, with beta the rolling regression slope.