See which stocks move together and when relationships shift.
stock correlation
Finds correlated stocks and analyzes pairwise, grouped, rolling, and regime-dependent relationships using historical prices.
When to use it
Use for questions about correlated stocks, peers, trading or hedging pairs, beta, co-movement, and rolling correlation.
Give it one or more stock tickers or a named stock group; it returns the corresponding correlation analysis.
What you provide
This skill
Yahoo Finance
Reads Yahoo Finance market data
yfinance
Installs yfinance when missing
pandas
Installs pandas when missing
numpy
Installs numpy when missing
Requires Python 3.8 or newer.
Optionally enables hierarchical clustering; without it, the skill falls back to correlation-based sorting.