risk-of-ruin
CommunityRuin-aware sizing for safer trading.
Authormahmoud20138
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides quantitative risk analytics for traders by computing risk of ruin, the Kelly framework for sizing, and Monte Carlo survival estimates to inform bankroll management.
Core Features & Use Cases
- Classical risk-of-ruin calculations for various win rates and payoff structures.
- Kelly sizing guidance (full and fractional) to optimize growth while limiting drawdowns.
- Monte Carlo survival analysis to simulate equity paths and determine ruin probabilities.
- Practical sizing rules and thresholds to control risk and allocate capital.
- Scenario planning with adjustable inputs like win_rate, average_win, average_loss, and risk_per_trade.
Quick Start
Run a quick analysis by providing your win_rate, average win, average loss, and risk per trade to obtain ruin probability and sizing recommendations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: risk-of-ruin Download link: https://github.com/mahmoud20138/Tradecraft/archive/main.zip#risk-of-ruin Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.