Pearson's Correlation Coefficient (r)
CORREL calculates the correlation between two sets of data.
Method
Inputs
Parameter | Argument type | Description | Default Value |
---|---|---|---|
source_high | pd.Series | High prices series | - |
source_low | pd.Series | Low prices series | - |
timeperiod | int | Number of periods for the indicator | 30 |
Outputs
Output | Type |
---|---|
correl | np.ndarray |