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.

Fields

  • settings: Risk measure configuration.

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