Skip to content
13

Worst Realisation

PortfolioOptimisers.WorstRealisation Type
julia
struct WorstRealisation{__T_settings} <: RiskMeasure

Represents the Worst Realisation risk measure.

WorstRealisation returns the maximum loss (i.e., the negative minimum return) over all observed scenarios. It is the most conservative risk measure, capturing the single worst outcome in the sample.

Mathematical definition

WR(x)=min1tTxt.

Where:

  • WR(x): Worst realisation of portfolio returns.

  • x: Portfolio returns vector T×1.

  • T: Number of observations.

Fields

  • settings: Risk measure settings.

Constructors

julia
WorstRealisation(;
    settings::RiskMeasureSettings = RiskMeasureSettings()
) -> WorstRealisation

Keywords correspond to the struct's fields.

Functor

julia
(r::WorstRealisation)(x::VecNum)

Computes the Worst Realisation of a portfolio returns vector x.

Arguments

  • x::VecNum: Portfolio returns vector.

Examples

julia
julia> WorstRealisation()
WorstRealisation
  settings ┼ RiskMeasureSettings
           │   scale ┼ Float64: 1.0
           │      ub ┼ nothing
           │     rke ┴ Bool: true

Related

source