Calcady
Home / Financial / Optimal f (Kelly Fractional Sizing)

Optimal f (Kelly Fractional Sizing)

Execute the Kelly Criterion mathematical formula to size exact equity bets to maximize geometric bankroll compounding while blocking absolute portfolio ruin.

Historical Backtest Statistics

%
Your historical hit rate on this specific trading setup.

Payoff Asymmetry

$
$

Volatility Smoothing

Optimal Bet Size

16.25%
Percentage of entire portfolio to risk.
Reward / Risk (R)
2.00:1
Full Kelly Limit
32.50%

Edge Verification

Validation: The formula confirms a positive statistical edge. By risking exactly 16.25% of your capital on each trade, you harmonize the mathematical relationship between the 2.00:1 asymmetric payoff and the 55.0% expected hit rate.

Email LinkText/SMSWhatsApp

Quick Answer: How does the Optimal f Kelly formula work?

The Kelly Criterion (Optimal f) calculates the exact percentage of your bankroll to risk on a single trade to maximize long-term geometric compounding. The formula divides your theoretical failure probability (1 - Win Rate) by your Reward-to-Risk Ratio, then subtracts that figure from your primary Win Rate. The resulting decimal is the absolute maximum structural limit you can risk before experiencing negative mathematical variance (volatility drag) that mathematically guarantees long-term ruin.

Optimal f Allocation Engine Formula

Step 1 — The Kelly Fraction

K = W - ((1 - W) ÷ R)

Step 2 — The Half-Kelly Risk Damper

Safe Allocation = K × 0.50

  • W (Win Rate)— The empirical, backtested hit-rate of your strategy (e.g., 0.55 for a 55% win rate).
  • R (Reward/Risk)— Your average monetary win divided securely by your average monetary loss (e.g., 2.0 if you make $200 and lose $100).
  • Half-Kelly Factor— Professional quantitative funds deploy a strict 0.5x multiplier to perfectly suppress catastrophic multi-string drawdown sequences.

Velocity Variance Models

✓ Model A: Asymmetrical Geometric Dominance

Low Win-Rate but Exceptional Asymmetric Payoff

  1. 1. Context: An elite quantitative protocol captures a low 35% win rate (W).
  2. 2. Asymmetry: Winners achieve $14,000 versus strict $2,000 losses. (R = 7.0).
  3. 3. Full Kelly Math: K = 0.35 - (0.65 ÷ 7.0) = 25.7% Maximum Size.
  4. 4. Half-Kelly De-Risk: 25.7% × 0.5 = 12.85% Optimal Target.

→ Despite losing 65% of all executions, the extreme R-Ratio allows the strategy to confidently risk ~13% per trade securely to compound massive returns cleanly.

✗ Model B: The Pure Variance Wipeout

High Win-Rate Scalping with Hubris Sizing Overrides

  1. 1. Context: An HFT scalable model wins 80% (W) of occurrences.
  2. 2. Asymmetry: Scalp gains are $100 against heavy $200 drawdown stops. (R = 0.5).
  3. 3. Full Kelly Math: K = 0.80 - (0.20 ÷ 0.5) = 40.0% Structural Limit.
  4. 4. The Human Override: Ignoring the 40% absolute limit, a greedy trader sizes up to 55.0% allocation per position.

→ Because the 55% position size exceeded the 40% mathematical threshold limit, inevitable statistical drawdown variance bankrupts the fund.

Kelly Output Trajectory — Quick Reference

Win Rate (W) Full Kelly Limit Half-Kelly (Pro)
50.0% 0.0% Do Not Trade
55.0% 10.0% 5.0%
40.0% 10.0% 5.0%
40.0% 20.0% 10.0%
75.0% 25.0% 12.5%
*Simulated Matrix: If the Full Kelly output computes to 0.0% or less, you physically possess zero statistical edge and should unconditionally halt execution.

Pro Tips & Terminal Execution Rules

Do This

  • Enforce Strict Half-Kelly Multipliers. Full-Kelly maximizes geometric return perfectly only assuming infinite time and mathematically exact metrics. But humans live in the real world of chaotic slippage. Scaling back to Half-Kelly yields ~75% of max possible theoretical performance but eradicates ~90% of extreme catastrophic drawdown volatility variance.
  • Implement Systemic Dilution Scaling. Whenever your edge logic correlates identical bets (like buying two highly correlated solar companies), you must heavily dilute the Kelly fraction proportionately downward across all correlated assets to suppress variance tail-risks smoothly.

Avoid This

  • Never Hubristically Override the Limit. The absolute core law dictates you never bet more than the Full-Kelly formula integer. Sizing up beyond Full-Kelly mathematically guarantees geometric decay.
  • Flawed Logic Injection. You must compute your Average Target Loss rigorously from real backtested logs. If you emotionally estimate $500 max losses but hold losers deeply underwater to $1,800, the Kelly algorithm will output inflated allocations.

Frequently Asked Questions

Why do elite investors never utilize the exact "Full Kelly" allocation?

Because the Full-Kelly engine mandates operating strictly under the assumption that historical win-rates and empirical payoff asymmetries are flawless. In live chaotic markets, execution reality guarantees slippage and estimation error. Therefore, top institutional quantitative funds deploy "Half-Kelly" structures to hedge against psychological variance limits and estimation failures.

How does optimal parameter execution fundamentally protect against ruin?

By computing specific continuous allocations based on current fractional equity levels, your physical bet sizes mathematically decrease proportionally as your entire account experiences consecutive temporary drawdown streaks. This geometric size reduction establishes a mathematical floor, preventing a zero-bankroll wipeout.

What does it indicate if my Kelly output evaluates to a negative integer?

If the Kelly Criterion algorithm computes a strictly negative fraction, it serves as mathematical proof that your physical trade infrastructure lacks any expected long-term edge. Attempting this allocation string over thousands of executions will guarantee portfolio decay.

How does Optimal f differ from traditional fixed fractional risk sizing?

Traditional fixed fractional sizing (e.g., risking exactly 1% or 2% per trade) is arbitrary and ignores the underlying mathematical asymmetry of the specific strategy. Optimal f dynamically scales according to the precise, empirically measured statistical edge (Win Rate and Reward-to-Risk ratio) of your current trading system, maximizing geometric compounding precisely where arbitrary fractions fail.

Related Quantitative Analytics