Position Sizing & Leverage: Kelly Criterion Strategy › Leverage Limits and Margin Requirements
Quantitative FinanceAll chapters Position Sizing & Leverage: Kelly Criterion Strategy › Leverage Limits and Margin RequirementsOne section · Sections in this chapter4 / 9 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Leverage amplifies both gains and losses. While optimal sizing theory suggests an ideal leverage level, practical constraints impose hard limits on how much leverage can be employed. Understanding these constraints is essential for translating theoretical optimal positions into executable trades.
Understanding Margin and Leverage
When trading on margin, you borrow funds from your broker to increase position size beyond your capital. The key concepts are:
- Initial margin: The minimum equity required to open a position, typically 25-50% for stocks.
- Maintenance margin: The minimum equity required to keep a position open, typically 25-30%.
- Margin call: When equity falls below maintenance margin, requiring additional funds or position reduction.
- Leverage ratio: The ratio of total position size to equity. With 50% initial margin, maximum leverage is 2x.
For derivatives, margin works differently. Futures require "performance bond" margin representing a small percentage of notional value, enabling leverage of 10x-20x or more. Options require margin based on potential loss scenarios.
Regulation T established by the Federal Reserve, sets the initial margin requirement for most U.S. securities at 50%, implying maximum leverage of 2x. Portfolio margin accounts may receive more favorable treatment based on hedged positions and overall portfolio risk.
The Mathematics of Leverage and Drawdown
Leverage has a nonlinear relationship with drawdown risk, making high leverage more dangerous than intuition suggests. Consider a strategy with return volatility . At leverage , the leveraged volatility is . This linear scaling of volatility translates into highly nonlinear effects on drawdown probability.
Under geometric Brownian motion assumptions, the expected maximum drawdown over time horizon for a strategy with Sharpe ratio and leveraged volatility is approximately:
where:
- : expected maximum drawdown
- : leverage ratio
- : strategy volatility
- : time horizon
- : Sharpe ratio
- : inverse cumulative standard normal distribution function
The formula combines two components: a baseline volatility scaling term () and a risk-adjusted multiplier (the inverse normal term) that accounts for how the strategy's Sharpe ratio and leverage interact to determine tail risk depth. The baseline term grows with the square root of time, while the multiplier depends on the interaction between leverage and strategy quality.
A simpler approximation for the probability of experiencing a drawdown of at least follows from the reflection principle for Brownian motion:
where:
- : probability of a drawdown exceeding
- : drawdown threshold
- : leverage ratio
- : volatility
- : time horizon
This shows that drawdown probability is highly sensitive to leverage. Doubling leverage quadruples the exponent's denominator, dramatically increasing the probability of severe drawdowns. A drawdown that is virtually impossible at 1x leverage may be almost certain at 4x leverage.
import numpy as np
def simulate_drawdowns(n_sims, n_days, daily_return, daily_vol, leverage):
"""Simulate maximum drawdowns for a leveraged strategy."""
np.random.seed(42)
max_drawdowns = []
for _ in range(n_sims):
# Generate daily returns
returns = np.random.normal(
leverage * daily_return, leverage * daily_vol, n_days
)
# Calculate cumulative wealth (starting at 1)
wealth = np.cumprod(1 + returns)
# Calculate running maximum
running_max = np.maximum.accumulate(wealth)
# Calculate drawdown
drawdown = (running_max - wealth) / running_max
max_drawdowns.append(np.max(drawdown))
return np.array(max_drawdowns)
# Strategy parameters
daily_return = 0.0004 # ~10% annual
daily_vol = 0.01 # ~16% annual
n_days = 252 # One year
n_sims = 5000
# Test different leverage levels
leverage_levels = [1, 2, 3, 4, 5]
drawdown_results = {}
for lev in leverage_levels:
dd = simulate_drawdowns(n_sims, n_days, daily_return, daily_vol, lev)
drawdown_results[lev] = {
"mean": np.mean(dd),
"median": np.median(dd),
"p95": np.percentile(dd, 95),
"p99": np.percentile(dd, 99),
"prob_50pct": np.mean(dd > 0.5),
}
# Calculate base strategy statistics for display
annual_return = daily_return * 252
annual_vol = daily_vol * np.sqrt(252)
base_sharpe = annual_return / annual_volImpact of Leverage on Maximum Drawdown (1-year simulation) ====================================================================== Base strategy: 10.1% annual return, 15.9% annual vol Sharpe ratio: 0.63 ---------------------------------------------------------------------- Leverage Mean DD Median DD 95th %ile 99th %ile P(DD>50%) ---------------------------------------------------------------------- 1x 14.3% 13.2% 25.0% 30.6% 0.0% 2x 26.8% 25.2% 44.8% 52.7% 1.9% 3x 37.7% 36.1% 60.0% 68.4% 16.6% 4x 47.2% 45.8% 71.5% 79.3% 39.0% 5x 55.4% 54.4% 80.2% 86.7% 61.1%

The simulation illustrates how leverage turns a reasonable strategy into a dangerous one. At 1x leverage, this strategy with a Sharpe ratio around 0.63 has modest drawdowns. At 5x leverage, the probability of a 50%+ drawdown in a single year exceeds 50%. Recovery from a 50% drawdown requires a 100% gain, which at 10% annual returns (before the drawdown) would take nearly 7 years.
Leverage and the Risk of Ruin
Beyond drawdowns, excessive leverage creates a risk of ruin: losing so much capital that continuing to trade becomes impossible. Several mechanisms create this risk:
Margin calls and forced liquidation: When losses erode equity below maintenance margin, positions are forcibly closed at unfavorable prices. This "stop out" crystallizes losses that might otherwise recover.
Gap risk: Markets can move discontinuously, especially over weekends or during crises. A 3x leveraged position in an asset that gaps down 35% overnight faces a 105% loss, exceeding total capital.
Volatility expansion: Leverage is often sized based on historical volatility, but volatility can spike dramatically during crises precisely when you're already losing money.
Correlation breakdown: Strategies that appear diversified in normal conditions often become highly correlated during market stress, magnifying portfolio-level losses.
Case Studies: Leverage Disasters
History provides examples of leverage-induced failures:
Long-Term Capital Management (1998): LTCM's strategies had estimated Sharpe ratios of 1-2, but they applied leverage of 25x or more. When the Russian debt crisis triggered a flight to quality, correlations spiked and spreads widened dramatically. LTCM lost $4.6 billion and required a $3.6 billion bailout coordinated by the Federal Reserve to prevent systemic contagion.
Amaranth Advisors (2006): This multi-strategy fund concentrated heavily in natural gas futures. When positions moved against them, leverage of approximately 8x transformed a significant loss into a $6 billion catastrophe wiping out the fund entirely.
XIV and Volatility ETNs (2018): Leveraged inverse volatility products lost nearly all their value in a single day during the "Volmageddon" event. A 115% spike in the VIX caused products designed to profit from calm markets to collapse.
The common thread: strategies that worked well in normal conditions failed when leverage combined with adverse market moves.