Position sizing matters more than signal quality for long-term survival. Three frameworks dominate: risk-percent sizing (fixed loss per trade), Kelly sizing (edge-weighted bets), and volatility-targeting (constant portfolio vol). Combined, they give you both downside protection and edge-aware aggression.
Position sizing is the most under-respected skill in active trading. Strategy selection gets all the attention; sizing decides whether the strategy survives long enough to compound. Even a profitable system can ruin an account if positions are sized too aggressively.
The math is unforgiving. A 50% drawdown requires a 100% return to recover. A 70% drawdown requires 233%. Few strategies recover from those levels in any reasonable time. The right position size keeps drawdowns survivable; the wrong size turns even a profitable edge into a blow-up.
The simplest and most robust framework: risk a fixed percentage of account on each trade. Typical values: 0.5% for conservative, 1% for standard, 2% for aggressive. The math:
stop_distance = |entry − stop_loss|
position_usd = account × (risk_pct / 100) × (entry / stop_distance)To lose exactly risk_pct of the account when the stop hits, hold a position scaled by the inverse of stop-distance-as-a-fraction-of-entry. Tight stop → big position; wide stop → small position. The dollar amount at risk stays fixed.
Example. $10,000 account, 1% risk per trade, $50,000 BTC entry, $48,000 stop. Stop distance = 4%. Risk dollars = $100. Position = $100 / 0.04 = $2,500. If BTC drops to your stop, you lose $100 — exactly 1% of the account.
Why this works in the long run: 100 consecutive losing trades at 1% risk per trade compound to ~63% drawdown — bad, but recoverable. Same 100 losses at 5% risk compound to a 99.4% drawdown — unrecoverable. Position sizing determines the survivability of any losing streak, not just the average performance.
The position size calculator implements this directly. Input account, risk %, entry, and stop loss; get the right size.
Risk-percent sizing keeps dollar-risk constant per trade. Kelly criterion sizes by the edge of the trade: bigger positions when edge is bigger.
f* = (b × p − q) / b
p = probability of winning
q = 1 − p
b = avg_win / avg_lossThe output is the fraction of bankroll to bet on each trade. In practice, full Kelly is almost always too aggressive — it assumes you know p and b exactly, which you don't. Half-Kelly captures most of the growth at a fraction of the variance; quarter-Kelly is even safer. See /learn/kelly-criterion.
Best-practice combination: use risk-percent as the default sizing rule (1% per trade is a good starting point), with half-Kelly as a ceiling. Whichever number is smaller wins. This catches cases where edge is uncertain (Kelly would be a low number anyway) without leaving signal-aware sizing on the table when edge is clear.
The third framework operates at the portfolio level rather than per-trade. Volatility-targeted sizing adjusts position sizes inversely to recent realized volatility: bigger positions when an asset is quiet, smaller when it's swinging.
The goal: keep the portfolio's overall volatility steady regardless of market regime. In low-vol periods, the strategy puts more capital to work because the same dollar-position carries less risk. In high-vol periods, it pulls back to keep risk bounded.
Common in trend-following systems. The Keel pipeline supports inverse-ATR sizing directly — a position sized as notional = target_vol / current_atr automatically reduces during volatility spikes and expands during calm. The trend following template uses this pattern.
Trade-off: vol-targeting can mute returns in strong directional regimes (you size down right when the trend is most profitable). It's a smoothing technique — better Sharpe, lower variance, sometimes lower absolute returns. Most professional trend systems use it anyway because consistent returns are easier to hold through than lumpy ones.
For a real-world strategy, the typical stack is:
The three layers serve different purposes: risk-percent for per-trade survival, Kelly for edge-awareness, vol-target for portfolio-level smoothness. None replaces the others; all three matter.
Keel is a Strategy OS for AI-assisted systematic trading on Hyperliquid. Backtest, optimize, and run live strategies across single-stock perps, indices, and crypto majors — realistic fees, slippage, and funding modeled.
Free to start — connect a Hyperliquid wallet when you’re ready to go live.
Risk a fixed % of account per trade (typical: 0.5-1%). Pick a stop loss based on volatility or structure. Position size flexes inversely with stop distance — tighter stop = bigger position, wider stop = smaller position. The dollar amount risked stays constant; the rest falls out.
A 60% win-rate strategy can blow up an account if any single trade is sized too aggressively. Survival is path-dependent — string of losses can ruin you before edge has time to compound. Most professional traders focus more on position sizing than on signal quality, because no edge survives bad sizing.
Kelly sizes by edge: bigger bets when edge is bigger. Fixed-percent sizes by bankroll preservation: same risk per trade regardless of edge. Best practice: use fixed-percent as the default (0.5-1% risk), with half-Kelly as a ceiling. The Kelly ceiling protects against over-risking trades where edge is uncertain.
Size positions inversely to recent realized volatility — bigger positions when an asset is quiet, smaller when it's swinging. Keeps overall portfolio volatility steady regardless of regime. Common in trend-following strategies; reduces drawdowns at the cost of leaving some upside on the table in low-vol regimes.
Three common methods. (1) ATR-based — set the stop 1.5-2x the asset's recent average true range. Catches normal noise without giving back too much on a reversal. (2) Structural — set the stop just beyond recent support/resistance levels. Captures the technical-trader herd behavior. (3) Backtest-derived — pick the stop level that historically had the best risk-adjusted outcome on similar setups. The right method depends on strategy style.
The position size calculator implements risk-percent sizing — input account, risk %, entry, and stop loss; get the right position. Kelly is computed separately in the Kelly criterion calculator. Vol-targeting is more typically expressed as a strategy-level constraint than a per-trade calculator; Keel strategies can include a vol-target component in the pipeline.
Implements risk-percent sizing. Input account, risk %, entry, stop loss; get the right size.
Edge-aware sizing with full / three-quarter / half / quarter-Kelly options.
Portfolio-level vol-scaling — how to keep total risk steady across regimes.