Individual skill
kelly-criterion
Kelly criterion optimal sizing with fractional variants, edge estimation, and practical application for crypto trading
skills/agiprolabs__claude-trading-skills/skills/kelly-criterion/SKILL.md
Source commit ef0e1b4c68405c56ca3e2a48f7ca415c4c01dc47
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 46
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- a-share Repository topic
- value-investing Repository topic
- agent-skills Repository topic
- akshare Repository topic
- awesome-list Repository topic
- chinese-stock Repository topic
- claude-code Repository topic
- quantitative-finance Repository topic
- stock-analysis Repository topic
- technical-analysis Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 10,973 bytesSKILL.mdcore · 10,973 bytesSKILL.mdcore · 10,973 bytesSKILL.mdcore · 10,973 bytesSKILL.mdcore · 10,973 bytesSKILL.mdcore · 10,973 bytesreferences/kelly_derivation.mddoc · 6,688 bytesreferences/practical_kelly.mddoc · 9,129 bytesscripts/kelly_calculator.pyruns · 12,061 bytesscripts/kelly_from_trades.pyruns · 17,446 bytes
Read excerpt
# Kelly Criterion — Optimal Bet Sizing
The Kelly criterion is the mathematically optimal bet size that maximizes long-term geometric growth of capital. Developed by John Kelly at Bell Labs in 1956, it answers a precise question: given a known edge, what fraction of your bankroll should you risk to maximize the compounding rate?
**Core insight**: Betting too small leaves growth on the table. Betting too large increases ruin risk and actually *reduces* long-term growth. Kelly finds the exact optimum between these extremes.
**Practical insight**: You should almost never use full Kelly. Estimation error in your edge means full Kelly will overbets in practice. Use fractional Kelly (0.25x to 0.5x) for real trading.
---
## The Kelly Formula
For a binary outcome (win or lose):