MathFin
Map / Statistics / MathFin.Choice.Performance.Ratios

Sharpe ratio and Kelly criterion

MathFin.Choice.Performance.RatiosMSC 91G10JEL G11 source

Two classical performance and money-management identities:

  • Sharpe ratio S(μ, r_f, σ) = (μ - r_f) / σ measures excess return per unit of risk. Under iid time aggregation, L_T ~ N(T·μ, T·σ²), so the Sharpe ratio scales as √T.
  • Kelly fraction f*(p, b) = (p·b - q) / b (with q = 1 - p) is the critical point (g'(f*) = 0, the first-order condition — what is proved here as kellyGrowth_deriv_at_kelly) of the expected log-growth g(f) = p · log(1 + f·b) + q · log(1 - f) under a binary bet with win-probability p and payoff ratio b. It is the maximizer because g is concave — concavity is not formalized here.

Main definitions

  • sharpeRatio: the Sharpe ratio (μ − r_f) / σ.
  • kellyFraction: the Kelly fraction f* = (p·b − (1 − p)) / b.
  • kellyGrowth: the expected log-growth of a binary bet at fraction f, p · log(1 + f·b) + (1 − p) · log(1 − f).

Main results

  • sharpeRatio_scale_invariant: S(λμ, λr_f, λσ) = S(μ, r_f, σ) for λ ≠ 0.
  • sharpeRatio_translation_invariant: shift cancels in the excess return.
  • sharpeRatio_affine_invariant: full affine invariance, scale + shift.
  • sharpeRatio_affine_signed: with |c|-volatility convention, the Sharpe ratio picks up sign(c) under X ↦ c·X + d.
  • sharpeRatio_scaleT: S_T = √T · S_1 for iid time aggregation.
  • kellyGrowth_deriv_at_kelly: first-order optimality g'(f*) = 0.

References

Tags

Sharpe ratio, Kelly criterion, excess return per risk, time aggregation, money management, log-growth, MSC 91G10, JEL G11

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-sharpe-scale-invariant · portfolio_and_performance.json · full statement
Sharpe Ratio Scale Invariance

The Sharpe ratio (μ - r_f)/σ is invariant under uniform scaling of mean, risk-free rate, and volatility: S(λμ, λr_f, λσ) = S(μ, r_f, σ).

mf-sharpe-sqrtT-scaling · portfolio_and_performance.json · full statement
Sharpe Ratio √T Time-Aggregation Scaling

Under iid time aggregation L_T ~ N(T·μ, T·σ²), the Sharpe ratio scales as √T: S_T = √T · S_1. Standard quant rule for annualizing.

mf-kelly-foc · portfolio_and_performance.json · full statement
Kelly Criterion First-Order Optimality

At the Kelly fraction f* = (p·b - q)/b with q = 1 - p, the derivative of the expected log-growth p·log(1 + f·b) + q·log(1 - f) vanishes.

Declarations 12

theoremMathFin.diff_div_scale_invariantsource
∀ {c : ℝ}, c ≠ 0 → ∀ (a b d : ℝ), (c * a - c * b) / (c * d) = (a - b) / d

The "ratio scale invariance" algebraic master: (c·a − c·b) / (c·d) = (a − b) / d for c ≠ 0.

The same identity drives the scale invariance of every "difference-over-stdev" performance ratio: Sharpe, Sortino, Treynor, Information ratio are all instances. Naming the algebraic fact factors the work — each ratio's *_scale_invariant lemma is a one-line application.

defMathFin.sharpeRatiosource
ℝ → ℝ → ℝ → ℝ

Sharpe ratio (μ - r_f) / σ.

theoremMathFin.sharpeRatio_scale_invariantsource
∀ {c : ℝ}, c ≠ 0 → ∀ (μ r_f σ : ℝ), sharpeRatio (c * μ) (c * r_f) (c * σ) = sharpeRatio μ r_f σ

Scale invariance: the Sharpe ratio is invariant under uniform scaling of mean, risk-free rate, and volatility. One-line consequence of the diff_div_scale_invariant master.

theoremMathFin.diff_div_affine_invariantsource
∀ {c : ℝ}, c ≠ 0 → ∀ (a b d e : ℝ), (c * a + d - (c * b + d)) / (c * e) = (a - b) / e

The "affine ratio invariance" algebraic master: the ratio (c·a + d − (c·b + d)) / (c·e) collapses to (a − b) / e for c ≠ 0. The shift d cancels in the numerator; the scale c cancels between numerator and denominator.

theoremMathFin.diff_div_affine_signedsource
∀ {c : ℝ}, c ≠ 0 → ∀ (a b d e : ℝ), (c * a + d - (c * b + d)) / (|c| * e) = c.sign * ((a - b) / e)

Signed affine invariance algebraic master: when the denominator scales as |c| (the natural scaling of a standard deviation under X ↦ c·X + d, since Var(cX + d) = c² · Var(X)), the ratio picks up sign(c).

theoremMathFin.sharpeRatio_translation_invariantsource
∀ (μ r_f σ b : ℝ), sharpeRatio (μ + b) (r_f + b) σ = sharpeRatio μ r_f σ

Translation invariance of the Sharpe ratio: shifting the mean and risk-free rate by the same additive constant preserves S = (μ − r_f)/σ, since the shift cancels in the excess return.

theoremMathFin.sharpeRatio_affine_invariantsource
∀ {c : ℝ}, c ≠ 0 → ∀ (μ r_f σ d : ℝ), sharpeRatio (c * μ + d) (c * r_f + d) (c * σ) = sharpeRatio μ r_f σ

Full affine invariance of the Sharpe ratio (signed-σ convention): under the joint substitution μ → c·μ + d, r_f → c·r_f + d, σ → c·σ, the Sharpe ratio is invariant for any c ≠ 0. The shift cancels in the excess, and the scale cancels in the ratio.

theoremMathFin.sharpeRatio_affine_signedsource
∀ {c : ℝ}, c ≠ 0 → ∀ (μ r_f σ d : ℝ), sharpeRatio (c * μ + d) (c * r_f + d) (|c| * σ) = c.sign * sharpeRatio μ r_f σ

Sign-aware affine invariance (natural |c|-volatility convention): since StDev(cX + d) = |c| · StDev(X), the Sharpe ratio under the joint substitution flips sign when c < 0.

theoremMathFin.sharpeRatio_scaleTsource
∀ {μ r_f σ T : ℝ}, 0 < T → σ ≠ 0 → sharpeRatio (T * μ) (T * r_f) (σ * √T) = √T * sharpeRatio μ r_f σ

Sharpe √T-scaling: under iid time aggregation, L_T ~ N(T·μ, T·σ²), so the Sharpe ratio at horizon T equals √T times the unit-horizon Sharpe ratio.

defMathFin.kellyFractionsource
ℝ → ℝ → ℝ

Kelly fraction f* = (p·b - q) / b, where q = 1 - p.

defMathFin.kellyGrowthsource
ℝ → ℝ → ℝ → ℝ

Expected log-growth of a binary bet at fraction f: p · log(1 + f·b) + (1 - p) · log(1 - f).

theoremMathFin.kellyGrowth_deriv_at_kellysource
∀ {p b : ℝ}, 0 < p → p < 1 → 0 < b → HasDerivAt (fun f => kellyGrowth p b f) 0 (kellyFraction p b)

Kelly first-order condition: at the Kelly fraction f* = (p·b − q)/b, the derivative of the expected log-growth vanishes.