The comparison column — required, and a column on this same series. Join the benchmark in first; see the study's docstring.
Optional
Source column. Default 'close'.
'close'
Name of the appended column. Default 'corr'.
'corr'
Window in bars. Default 30 (TA-Lib CORREL's). Must be at least 2 — a one-bar window has no variance, so every reading would be 0/0.
30
CORREL
2
0/0
The comparison column — required, and a column on this same series. Join the benchmark in first; see the study's docstring.