The settings by name, each one optional where the positional form's is.
https://screamer.readthedocs.io/en/latest/functions_rolling/RollingPoly2.html for the full reference.
OLS fit y = a + bt + ct^2 over a trailing window.
OptionalwindowSize: number
Number of most recent samples in the window.
OptionalderivativeOrder: number
What to return from the fitted parabola at the newest sample: 0 gives the fitted value, 1 the first derivative (slope), 2 the second derivative (curvature).
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_rolling/RollingPoly2.html for the full reference.
OLS fit y = a + bt + ct^2 over a trailing window.