correlation-risk
Skill17 starsChanged 4 months agoApache-2.0View on GitHub
Manage correlated positions to prevent concentrated exposure. Use when holding multiple positions, diversifying portfolio, or assessing total account risk.
2 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- IngAs8/ClaudeSkilledited, first seen Sep 28, 2026
- brainbytes-dev/everything-claude-tradingtheir own version, first seen Mar 14, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- IngAs8/ClaudeSkill★ 032% same
Wrote their own version · 1
- brainbytes-dev/everything-claude-trading★ 16same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository56 other files it gives its agents.
- candlestick-patternsSkill
- channel-tradingSkill
- cup-and-handleSkill
- double-top-bottomSkill
- flag-pennantSkill
- head-and-shouldersSkill
- triangle-patternsSkill
- wedge-patternsSkill
- altcoin-rotationSkill
- arbitrage-tradingSkill
- dca-strategySkill
- funding-rate-tradingSkill
- on-chain-analysisSkill
- breakout-tradingSkill
- gap-tradingSkill
- momentum-tradingSkill
- news-tradingSkill
- pullback-tradingSkill
- range-tradingSkill
- scalping-strategySkill
- earnings-tradingSkill
- economic-calendar-tradingSkill
- insider-activity-tradingSkill
- market-correlation-tradingSkill
- sector-rotationSkill
- sentiment-analysisSkill
- breaker-blocksSkill
- fair-value-gapsSkill
- kill-zonesSkill
- liquidity-zonesSkill
- market-structure-shiftSkill
- optimal-trade-entrySkill
- order-blocksSkill
- premium-discountSkill
- drawdown-managementSkill
- leverage-managementSkill
- partial-profit-takingSkill
- position-sizingSkill
- risk-reward-ratioSkill
- stop-loss-strategiesSkill
- trailing-stopSkill
- bollinger-bandsSkill
- divergence-tradingSkill
- fibonacci-tradingSkill
- ichimoku-cloudSkill
- macd-tradingSkill
- market-regime-detectionSkill
- mean-reversionSkill
- moving-average-crossoverSkill
- multi-timeframe-analysisSkill
- rsi-divergenceSkill
- stochastic-tradingSkill
- supply-demand-zonesSkill
- volume-profile-tradingSkill
- vwap-tradingSkill
- skill-nameSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Use covariance to estimate portfolio return volatility: sigma_p = sqrt(w' Sigma w).
- Distinctive: line 48
Use inversely correlated positions as hedges when appropriate
- Distinctive: line 53
Treat the setup as a testable hypothesis, not a prediction.
- Distinctive: line 62
Do not assume correlations are static.
- Distinctive: line 63
Never rely on one covariance estimate—use scenarios and concentration limits too.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Correlation Risk Management
Managing correlated positions prevents oversized exposure to single market moves.
Correlation Basics
Correlation coefficient ranges from -1 to +1:
| Correlation | Meaning |
| +1.0 | Perfect positive (move together) |
| +0.5 | Moderate positive |
| 0 | No correlation |
| -0.5 | Moderate negative |
| -1.0 | Perfect negative (move opposite) |
Estimate correlation from aligned, same-currency returns over predeclared horizons. Report sample length, frequency, confidence interval, and current versus stress estimates; never use a permanent pair table.
Combined Risk
Use covariance to estimate portfolio return volatility: sigma_p = sqrt(w' Sigma w). Do not insert stop-loss dollars into that formula: stop losses are nonlinear, can gap, and are not standard deviations. For loss control, aggregate factor exposures and run joint gap, correlation-to-one, volatility-spike, and liquidity scenarios.
Exposure Limits
Apply portfolio-mandated limits by issuer, sector, country, currency, duration, beta, and common factor. Reduce or hedge positions until both normal covariance risk and stress loss fit the remaining risk budget. State the hedge basis and residual risk; a long and short are not diversified merely because signs differ.
Workflow
- List all open positions
- Align returns and estimate covariance/beta with uncertainty
- Map factor and scenario losses, including gaps past stops
- Reduce or hedge until mandate limits pass under normal and stress assumptions
- Monitor -- correlations shift over time, especially in stress events
Diversification Strategies
- Spread across uncorrelated asset classes (crypto, forex, equities, commodities)
- Mix long and short when possible to reduce directional exposure
- Use inversely correlated positions as hedges when appropriate
- Different timeframes diversify only if their realized return streams and stress losses demonstrate it
Evidence and Validation
- Treat the setup as a testable hypothesis, not a prediction. Define thresholds, entry, invalidation, and exit before evaluating outcomes.
- Calibrate on the same instrument, venue, session, and timeframe. Use closed candles and a held-out or walk-forward sample; record every variant tried.
- Include spread, fees, slippage, borrow or funding, partial fills, and latency. Reject the setup when net expectancy is not positive or depends on one narrow parameter.
- Return observed inputs, missing data, cost assumptions, entry, invalidation, exit, and a valid, watch, or no-trade status.
- Research basis: Ang & Bekaert documents time-varying correlations and higher-correlation stress regimes; estimate recent covariance and run stress scenarios instead of using permanent pair values.
Key Rules
- Aggregate shared factor, collateral, venue, liquidity, and gap risk across positions.
- Do not assume correlations are static; show rolling estimates and adverse stress matrices.
- Never rely on one covariance estimate—use scenarios and concentration limits too.
- Take limits from the portfolio mandate rather than universal percentages.
- Report assumptions, missing exposures, and the largest normal and stressed risk contributors.
Related Skills
- position-sizing -- correlated positions require reduced per-position sizing
- drawdown-management -- correlated positions amplify drawdowns
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

