Worst Realisation
PortfolioOptimisers.WorstRealisation — Type
struct WorstRealisation{__T_settings} <: RiskMeasureMeasures the Worst Realisation, the largest loss of the sample, which is the negated minimum return.
It is the limit of ValueatRisk and of ConditionalValueatRisk as alpha falls to zero, and the OrderedWeightsArray with the weights of owa_wr gives the same value. When every return is positive, the measure is negative: the worst outcome is then the smallest gain. MaximumDrawdown is the Worst Realisation of the drawdown series.
Mathematical definition
\[\begin{align} \mathrm{WR}(\boldsymbol{x}) &= -\min_{1 \leq t \leq T} x_t\,. \end{align}\]
Where:
- $\mathrm{WR}(\boldsymbol{x})$: Worst realisation of portfolio returns.
- $\boldsymbol{x}$: Portfolio returns vector $T \times 1$.
- $T$: Number of observations.
Fields
settings: Risk measure settings.
Constructors
WorstRealisation(; settings::RiskMeasureSettings = RiskMeasureSettings()) -> WorstRealisationKeywords correspond to the struct's fields.
Functor
(r::WorstRealisation)(x::VecNum)Computes the Worst Realisation of a portfolio returns vector x.
Arguments
x::VecNum: Portfolio returns vector.
Examples
julia> WorstRealisation()WorstRealisation settings ┼ RiskMeasureSettings │ scale ┼ Float64: 1.0 │ ub ┼ nothing │ rke ┴ Bool: trueOn the path of AverageDrawdown, the worst return is $-0.25$.
julia> WorstRealisation()([0.125, -0.25, 0.0625, -0.125, 0.375])0.25julia> WorstRealisation()([0.1, 0.2])-0.1Related
References
- [216] M. R. Young. A minimax portfolio selection rule with linear programming solution. Management Science 44, 673–683 (1998).
- [12] D. Cajas. Advanced Portfolio Optimization: A Cutting-edge Quantitative Approach (Springer Nature Switzerland, 2025). Section 7.2.2.8, Equation 7.71. The original source of this formulation was not found. The formulation follows this work and is not checked against the original.
References
- [12]
- D. Cajas. Advanced Portfolio Optimization: A Cutting-edge Quantitative Approach (Springer Nature Switzerland, 2025).
- [216]
- M. R. Young. A minimax portfolio selection rule with linear programming solution. Management Science 44, 673–683 (1998).