Correlation Analysis
Cross-asset correlation analysis including rolling correlation, hierarchical clustering, tail dependence, and regime-dependent correlation
Install
/plugin marketplace add agiprolabs/claude-trading-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add agiprolabs/claude-trading-skills --skill correlation-analysisgit clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git /tmp/claude-trading-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-trading-skills/skills/correlation-analysis ~/.claude/skills/correlation-analysisPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Correlation Analysis Cross-asset correlation analysis for diversification assessment, risk management, pairs trading signal generation, and portfolio construction. ## Why Correlation Matters Correlation measures how assets move together. In crypto markets this is critical for: - **Diversification**: holding correlated assets provides no diversification benefit — you are effectively holding one concentrated position - **Risk management**: portfolio risk depends on the correlation structure, not just individual asset volatility - **Pairs trading**: highly correlated assets that temporarily diverge create mean-reversion opportunities - **Portfolio construction**: optimal allocation requires accurate correlation estimates - **Crash protection**: understanding tail dependence reveals whether assets crash together ## Correlation Methods ### Pearson Correlation Linear correlation assuming normality. Most common but least robust for crypto. ```python import pandas as pd import numpy as np # Always compute on returns, never on prices returns_a = prices_a.pct_change().dropna() returns_b = prices_b.pct_change().dropna() pearson_corr = returns_a.corr(returns_b) # default is Pearson ``` - **Range**: -1 (perfect inverse) to +1 (perfect co-movement) - **Assumes**: linear relationship, normally distributed returns, no outliers - **Limitation**: crypto returns are heavy-tailed — Pearson underestimates extreme co-movement ### Spearman Rank Correlation
Details
- Skill name
correlation-analysis- Repository
- agiprolabs/claude-trading-skills
- Path
skills/correlation-analysis/SKILL.md- License
- MIT
- Repo updated
- 3 September 2026
FAQ
What does the Correlation Analysis skill do?
Cross-asset correlation analysis including rolling correlation, hierarchical clustering, tail dependence, and regime-dependent correlation
How do I install the Correlation Analysis skill?
Claude Code plugin: /plugin marketplace add agiprolabs/claude-trading-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Correlation Analysis popular?
It lives in agiprolabs/claude-trading-skills, which has 564 GitHub stars and 113 forks.
Related skills
Backtrader
564agiprolabs/claude-trading-skills
Event-driven backtesting with bar-by-bar execution, complex order types, multiple analyzers, and custom indicators
Birdeye API
564agiprolabs/claude-trading-skills
Solana token market data via Birdeye — prices, OHLCV, trades, token metadata, security checks, and trader activity
Coingecko API
564agiprolabs/claude-trading-skills
Broad crypto market data from CoinGecko covering 13,000+ tokens. Global market stats, historical price data going back years, exchange volumes, trending tokens, and category filters. Best for macro analysis and long-term historical data.
Cost Basis Engine
564agiprolabs/claude-trading-skills
Multi-method cost basis computation including specific identification, FIFO, LIFO, HIFO, and proportional average cost with partial sell handling
Dex Execution
564agiprolabs/claude-trading-skills
Solana DEX swap execution via Jupiter aggregator including quoting, transaction building, signing, and confirmation
Lazyweb Quick Search
469LazywebHQ/lazyweb-skill
Deprecated name for /lazyweb-quick-search. Use /lazyweb-search-screens instead.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.