
Risk Management
Apply competition-derived position sizing, stop-loss, and frequency caps when an autonomous or assisted trading agent places orders.
Overview
Risk-management is an agent skill for the Operate phase that applies learned sizing, stop-loss, and frequency rules when autonomous trading agents place positions.
Install
npx skills add https://github.com/0xhubed/agent-trading-arena --skill risk-managementWhat is this skill?
- Rule table sourced from profitable vs losing trade analysis with success rates and sample counts
- Core themes: 2% equity risk sizing, trade-frequency caps, multi-timeframe alignment, and validation-gate checks
- Documents 54 active patterns over 8500 samples with a stated 60% confidence threshold for rule use
- Includes market-regime heuristics such as uniform bearish alignment and correlated asset positivity signals
- Explicit stop-loss and pivot behaviors for closing LONG positions under competition-learned profiles
- 54 active patterns documented in the skill header
- 8500 total samples referenced for rule derivation
- 60% confidence threshold stated for applying patterns
Adoption & trust: 1.6k installs on skills.sh; 6 GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
Your trading agent over-trades or sizes positions without systematic guardrails tied to what actually won or lost in past competitions.
Who is it for?
Builders operating agent-trading-arena style bots who want procedural risk checks before each trade batch.
Skip if: Non-trading SaaS products, long-only buy-and-hold apps without agent order loops, or anyone seeking licensed investment advice.
When should I use this skill?
Sizing positions or setting stop-losses for competition-driven trading agents.
What do I get? / Deliverables
Orders follow prioritized, sample-backed risk rules with confidence thresholds so position management matches validated competition patterns.
- Applied risk rule selection for the current market context
- Documented sizing and stop parameters per active pattern
- Frequency and validation gate checks before order submission
Recommended Skills
Journey fit
Live trading discipline sits in Operate because rules govern ongoing position management after the bot is deployed. Iterate subphase matches continuously updated pattern tables learned from trade outcomes rather than one-time build configuration.
How it compares
Empirical rule tables for agent order loops—not a generic portfolio spreadsheet or consumer robo-advisor UI.
Common Questions / FAQ
Who is risk-management for?
Developers running competition or arena trading agents who need codified risk patterns at execution time.
When should I use risk-management?
Use it in Operate whenever sizing positions, setting stop-losses, or throttling trade frequency during live or paper agent sessions.
Is risk-management safe to install?
Rules are learned from historical arena data, not a guarantee of future performance; review Security Audits on this page and never deploy with unaudited API keys or unchecked leverage.
SKILL.md
READMESKILL.md - Risk Management
# Risk Management > Last updated: 2026-03-09 20:08 UTC > Active patterns: 54 > Total samples: 8500 > Confidence threshold: 60% ## Core Principles These rules are derived from analyzing profitable vs losing trades: | Rule | Success Rate | Samples | Confidence | Seen | |------|-------------|---------|------------|------| | Trade frequency inversely correlates wit... | 95% | 473 | 50% | 1x | | When ALL 5 tracked assets are positive o... | 95% | 58 | 45% | 1x | | Position sizing at 2% equity risk with 2... | 92% | 183 | 90% | 1x | | Position sizing at 2% equity risk with 2... | 92% | 200 | 95% | 1x | | Cap trade frequency at 10 trades/24h max... | 90% | 84 | 45% | 1x | | Closing LONG positions quickly to pivot ... | 88% | 50 | 95% | 1x | | Trade frequency must be inversely propor... | 88% | 109 | 45% | 1x | | Multi-timeframe bearish alignment (15m, ... | 88% | 383 | 99% | 2x | | In uniformly bearish markets, 'low-sever... | 85% | 49 | 85% | 1x | | Validation checks passing ('validation p... | 85% | 200 | 95% | 1x | | High trade frequency (189-200 trades/24h... | 85% | 389 | 95% | 1x | | When ALL 5 tracked assets are positive o... | 85% | 113 | 95% | 1x | | Position sizing at 2% equity risk with 2... | 80% | 49 | 85% | 1x | | Self-reflective position management (jou... | 80% | 48 | 80% | 1x | | Forum/social sentiment filtering provide... | 80% | 24 | 95% | 1x | | Closing SHORT positions 'to lock in gain... | 78% | 48 | 85% | 1x | | Low leverage (2x) on SHORT positions wit... | 75% | 48 | 85% | 1x | | Position sizing at 2% equity risk with 2... | 75% | 172 | 90% | 1x | | Low trade frequency (<40 trades/24h) pre... | 75% | 48 | 95% | 1x | | In uniformly bearish markets, SHORT-bias... | 75% | 3 | 41% | 1x | | Avoid momentum-following strategies in m... | 75% | 33 | 95% | 1x | | Self-reflective position management (rec... | 75% | 27 | 95% | 1x | | Contrarian strategies underperform in mi... | 70% | 16 | 82% | 1x | | Cap trade frequency at 15 trades/24h max... | 70% | 113 | 95% | 1x | | Cap trade frequency at 16 trades/24h max... | 67% | 86 | 65% | 1x | | In mixed/low-volatility markets (daily m... | 67% | 146 | 95% | 1x | | Self-reflective position management (jou... | 65% | 65 | 45% | 1x | | Multi-timeframe bearish alignment (15m, ... | 50% | 337 | 90% | 1x | | High trade frequency (165-172 trades/24h... | 50% | 337 | 90% | 1x | | High trade frequency (183 trades/24h) ca... | 50% | 366 | 90% | 1x | | In uniformly bearish markets with mild d... | 50% | 6 | 57% | 1x | | Validation checks passing ('all checks p... | 41% | 998 | 94% | 2x | | Closing positions due to 'conflicting ti... | 35% | 20 | 80% | 1x | | Trade frequency inversely correlates wit... | 33% | 86 | 65% | 1x | | Cutting small losses quickly (-$0.14 to ... | 30% | 131 | 90% | 1x | | Cutting small losses quickly (-$38 on SO... | 30% | 147 | 95% | 1x | | Contrarian LONG entries in bullish marke... | 30% | 6 | 62% | 1x | | Closing positions 'to reduce concentrati... | 30% | 708 | 99% | 3x | | Closing positions 'to reduce concentrati... | 25% | 165 | 90% | 1x | | Validation checks passing ('all checks p... | 25% | 501 | 95% | 1x | | High concentration warnings (127% of equ... | 25% | 166 | 95% | 1x | | Multi-timeframe alignment (15m, 1h, 4h) ... | 15% | 298 | 50% | 1x | | Low trade frequency (<20 trades/24h) in ... | 15% | 25 | 95% | 1x | | Position sizing at 2% equity risk with 2... | 15% | 166 | 95% | 1x | | 2% equity risk with 2:1 reward ratio con... | 15% | 58 | 45% | 1x | | 2% equity risk with 2:1 reward ratio FAI... | 10% | 31 | 95% | 1x | | Cutting small losses quickly (-$0.01 to ... | 5% | 152 | 90% | 1x | | Position sizing at 2% equity risk with 2... | 0% | 334 | 50% | 1x | | High leverage (4x-5x) with 'optimal' ris... | 0% | 132 | 50% | 1x | | Self-reflective position management (jou... | 0% | 62 | 65% | 1x | | Low