Statistic Functions

Pearson's Correlation Coefficient (CORREL)

Pearson's Correlation Coefficient (r)

Deep Dive

Everything You Need to Know

Under the Hood

How It Works

CORREL calculates Pearson's correlation coefficient (r) between two price series over a specified period (default 30), measuring the strength and direction of their linear relationship. The coefficient ranges from -1 to +1: +1 indicates perfect positive correlation (move together), -1 indicates perfect negative correlation (move oppositely), and 0 indicates no linear relationship. CORREL uses statistical covariance divided by the product of standard deviations. This is the standard correlation measure used across quantitative finance.

In Practice

How Traders Use It

Cryptocurrency traders use CORREL to identify pairs for spread trading, diversification, or correlation-based strategies. When two crypto assets have high positive correlation (CORREL > 0.8), they move together, making them poor diversification but good for relative strength trading. Low or negative correlation (CORREL < 0.3) indicates diversification benefits. CORREL is essential for pairs trading (finding divergences in correlated pairs), portfolio construction (avoiding correlated positions), and market regime analysis (how altcoins correlate with Bitcoin). It's heavily used by quantitative traders, statistical arbitrageurs, and portfolio managers.

Highlights

CORREL at a Glance

Measures linear relationship strength between two assets
Range: -1 (inverse) to +1 (perfect correlation)
0 indicates no linear relationship
High correlation (>0.8): assets move together
Low correlation (<0.3): diversification benefits
Pearson's coefficient using covariance method
Default 30-period calculation
Essential for pairs trading and portfolio construction
Popular among quantitative and statistical arbitrage traders

Get Started

Automate CORREL with cryptorobot.ai

Build automated strategies using Pearson's Correlation Coefficient and hundreds of other indicators. Connect to your favourite exchange and let the bot execute trades 24/7 — no code required.