The settings by name, each one optional where the positional form's is.
https://screamer.readthedocs.io/en/latest/functions_fin/KalmanRegression.html for the full reference.
Regression with a random-walk intercept and slope, estimated by a Kalman filter: the dynamic hedge ratio of a pairs trade, its spread, and the spread's predicted deviation.
Optionaldelta: number
How fast the intercept and slope may move. The state noise variance is delta / (1 - delta) per step; smaller values give steadier estimates and a spread that keeps its mean reversion. The right value scales with the bar frequency, from about 1e-10 on one-minute log prices to 1e-8 to 1e-6 on daily ones. Must be in (0, 1).
OptionalobsVar: number
Variance of the spread (the regression error), in squared units of the first input. Must be positive.
OptionalpriorVar: number
Starting variance of the intercept and slope, which both start at zero.
Optionalhuber: number
Outlier threshold, in standard deviations of the spread. A step whose spread is further out than this updates the intercept and slope with a weight that falls with its distance, so one bad print cannot jerk the hedge ratio. 2 to 3 is typical. inf, the default, is the ordinary Kalman update. The spread and spread_std outputs are not changed by it. Must be positive.
https://screamer.readthedocs.io/en/latest/functions_fin/KalmanRegression.html for the full reference.
Regression with a random-walk intercept and slope, estimated by a Kalman filter: the dynamic hedge ratio of a pairs trade, its spread, and the spread's predicted deviation.