Stock Correlation Analysis
Analyzes stock co-movements, calculates return correlations, and discovers sector peer clusters for quantitative equity research.
The Stock Correlation Analysis skill equips Claude with quantitative finance capabilities to fetch historical price data via yfinance and analyze relationships between equities. It automates dynamic peer universe discovery, computes return correlations, betas, R-squared values, and spread z-scores, builds hierarchical sector clustering matrices, and evaluates rolling or regime-conditional correlations during market drawdowns.
Key Features
01Automated Python quantitative library dependency management
023,324 GitHub stars
03Dynamic sector peer universe discovery using runtime industry screening
04Hierarchical sector clustering with full correlation matrices
05Return correlation, beta calculation, and spread z-score analysis for pair trading
06Multi-window rolling correlation tracking and market regime stress testing
Use Cases
01Identifying sympathy plays, correlated sector peers, and supply chain partners for single tickers
02Evaluating statistical pairs trading candidates, hedge ratios, and mean-reversion spreads
03Assessing asset co-movement stability and downside correlation spikes during market sell-offs