OptionalcolumnSource column — a price, not a return; the returns are taken
inside. Default 'close'.
OptionaloutputName of the appended column. Default 'beta'.
OptionalperiodWindow in bars — the number of one-bar RETURNS regressed, so the
first reading needs period + 1 prices. Default 5 (TA-Lib
BETA's). Must be at least 2.
The comparison (market / index) column — required, and a column on this same series. Its return variance is the denominator.