MathFin
Map / Statistics / MathFin.Choice.Performance.DownsideMetrics

Downside performance metrics

MathFin.Choice.Performance.DownsideMetricsMSC 91G10JEL G11 source

Finite-state Omega ratio, maximum drawdown of a finite price path, and the positive-scaling invariance of the Calmar ratio.

Main definitions

  • FiniteReturnModel: a finite return model, nonnegative probability weights of total mass one.
  • finiteExpectedReturn: the expected return of a finite return model.
  • omegaUpside, omegaDownside: the expected gain above and the expected shortfall below a threshold.
  • omegaRatio: the Omega ratio at a threshold in a finite state space.
  • maximumDrawdown: the largest decline of a finite price path below its running peak.
  • calmarRatio: the annual return divided by the maximum drawdown.

Main results

  • omega_upside_sub_downside: expected upside minus expected downside is the mean excess return.
  • omegaRatio_nonneg: the finite-state Omega ratio is nonnegative.
  • omegaRatio_threshold_identity: when the expected downside is nonzero, omegaRatio − 1 = (𝔼[R] − threshold) / omegaDownside.
  • sub_le_maximumDrawdown: every chronological peak-to-trough decline E s − E t, s ≤ t, is at most maximumDrawdown E.
  • maximumDrawdown_nonneg, maximumDrawdown_scale: nonnegativity, and positive homogeneity for scaling by c ≥ 0.
  • calmarRatio_scale_invariant: the Calmar ratio is unchanged by a common scaling c > 0.
  • downsideMetrics_bundle: one conjunction collecting the Omega, drawdown and Calmar facts.

References

Tags

Omega ratio, maximum drawdown, Calmar ratio, downside risk, performance measurement, MSC 91G10, JEL G11

Import neighbourhood

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

Corpus entries

mf-downside-performance-metrics · portfolio_and_performance.json · full statement
Omega, Maximum Drawdown, and Calmar

Finite-state Omega is nonnegative and satisfies its threshold identity; finite-path maximum drawdown is nonnegative and positively homogeneous; the Calmar ratio is invariant under positive common scaling.

Declarations 21

structureMathFin.FiniteReturnModelsource
(ι : Type u_1) → [Fintype ι] → Type u_1

A finite return model with nonnegative probability weights of total mass one.

defMathFin.FiniteReturnModel.weightsource
{ι : Type u_1} → [Fintype ι] → FiniteReturnModel ι → ι → ℝ

Probability weight assigned to a state.

defMathFin.FiniteReturnModel.outcomesource
{ι : Type u_1} → [Fintype ι] → FiniteReturnModel ι → ι → ℝ

Return realized in a state.

theoremMathFin.FiniteReturnModel.weight_nonnegsource
∀ {ι : Type u_1} [Fintype ι] (self : FiniteReturnModel ι) (i : ι), 0 ≤ self.weight i
theoremMathFin.FiniteReturnModel.weight_sum_onesource
∀ {ι : Type u_1} [Fintype ι] (self : FiniteReturnModel ι), ∑ i, self.weight i = 1
defMathFin.finiteExpectedReturnsource
{ι : Type u_1} → [Fintype ι] → FiniteReturnModel ι → ℝ

Expected return of a finite return model.

defMathFin.omegaUpsidesource
{ι : Type u_1} → [Fintype ι] → FiniteReturnModel ι → ℝ → ℝ

Expected gain above a threshold.

defMathFin.omegaDownsidesource
{ι : Type u_1} → [Fintype ι] → FiniteReturnModel ι → ℝ → ℝ

Expected shortfall below a threshold.

defMathFin.omegaRatiosource
{ι : Type u_1} → [Fintype ι] → FiniteReturnModel ι → ℝ → ℝ

Omega ratio at a threshold in a finite state space.

theoremMathFin.omega_upside_sub_downsidesource
∀ {ι : Type u_1} [Fintype ι] (m : FiniteReturnModel ι) (threshold : ℝ), omegaUpside m threshold - omegaDownside m threshold = finiteExpectedReturn m - threshold

Expected upside minus expected downside equals mean excess return.

theoremMathFin.omegaRatio_nonnegsource
∀ {ι : Type u_1} [Fintype ι] (m : FiniteReturnModel ι) (threshold : ℝ), 0 ≤ omegaRatio m threshold

The finite-state Omega ratio is nonnegative.

theoremMathFin.omegaRatio_threshold_identitysource
∀ {ι : Type u_1} [Fintype ι] (m : FiniteReturnModel ι) (threshold : ℝ), omegaDownside m threshold ≠ 0 → omegaRatio m threshold - 1 = (finiteExpectedReturn m - threshold) / omegaDownside m threshold

Threshold identity for the Omega ratio when expected downside is nonzero.

theoremMathFin.partialSups_const_mul₀source
∀ {ι : Type u_1} [Preorder ι] [LocallyFiniteOrderBot ι] {G₀ : Type u_2} [GroupWithZero G₀] [SemilatticeSup G₀] [PosMulReflectLT G₀] {c : G₀}, 0 < c → ∀ (E : ι → G₀) (t : ι), (partialSups fun s => c * E s) t = c * (partialSups E) t

The running peak is positively homogeneous: multiplication by c > 0 is an order isomorphism, so it commutes with the finite suprema defining partialSups. This is the group-with-zero version of Mathlib's [Group α] lemma partialSups_const_mul.

defMathFin.maximumDrawdownsource
{n : ℕ} → (Fin n → ℝ) → ℝ

Maximum drawdown of a finite price path: the largest decline max_{s ≤ t} E s − E t of the path below its running peak (Mathlib's partialSups), which is the largest chronological peak-to-trough loss E s − E t, s ≤ t (sub_le_maximumDrawdown). The empty path has drawdown 0.

theoremMathFin.partialSups_sub_le_maximumDrawdownsource
∀ {n : ℕ} (price : Fin n → ℝ) (t : Fin n), (partialSups price) t - price t ≤ maximumDrawdown price

The decline below the running peak at any date is at most the maximum drawdown.

theoremMathFin.sub_le_maximumDrawdownsource
∀ {n : ℕ} (E : Fin n → ℝ) {s t : Fin n}, s ≤ t → E s - E t ≤ maximumDrawdown E

Every chronological peak-to-trough decline E s − E t (s ≤ t) of a finite path is at most its maximumDrawdown.

theoremMathFin.maximumDrawdown_nonnegsource
∀ {n : ℕ} (price : Fin n → ℝ), 0 ≤ maximumDrawdown price

Maximum drawdown is nonnegative, including for an empty path.

theoremMathFin.maximumDrawdown_scalesource
∀ {n : ℕ} (price : Fin n → ℝ) (c : ℝ), 0 ≤ c → (maximumDrawdown fun i => c * price i) = c * maximumDrawdown price

Maximum drawdown is positively homogeneous for nonnegative scaling.

defMathFin.calmarRatiosource
ℝ → ℝ → ℝ

Calmar ratio: annual return divided by maximum drawdown.

theoremMathFin.calmarRatio_scale_invariantsource
∀ (annualReturn maxDrawdown c : ℝ), 0 < c → calmarRatio (c * annualReturn) (c * maxDrawdown) = calmarRatio annualReturn maxDrawdown

Calmar ratio is invariant under strictly positive common scaling.

theoremMathFin.downsideMetrics_bundlesource
∀ {ι : Type u_1} [Fintype ι] (m : FiniteReturnModel ι) (threshold : ℝ), omegaDownside m threshold ≠ 0 → ∀ {n : ℕ} (price : Fin n → ℝ) (annualReturn c : ℝ), 0 < c → (0 ≤ omegaRatio m threshold ∧ omegaRatio m threshold - 1 = (finiteExpectedReturn m - threshold) / omegaDownside m threshold) ∧ (0 ≤ maximumDrawdown price ∧ (maximumDrawdown fun i => c * price i) = c * maximumDrawdown price) ∧ calmarRatio (c * annualReturn) (c * maximumDrawdown price) = calmarRatio annualReturn (maximumDrawdown price)

One acceptance bundle covering Omega, maximum drawdown, and Calmar.