Risk Measure Tools

PortfolioOptimisers.unit_scale_risk_measureFunction
unit_scale_risk_measure(r)

Return a copy of risk measure r with its scale set to one(scale), preserving its upper bound and its rke flag. A measure that already carries a unit scale is returned unchanged, so the common path allocates nothing.

scale is a combination weight: it says how much this measure contributes to an aggregate built from several measures. One measure is not an aggregate, so the weight has nothing to weigh and the model drops it before it can reach the risk expression. Hierarchical risk measures are returned unchanged.

Arguments

  • r: Risk measure.

Returns

  • Risk measure carrying a unit scale.

Related

source