Aliases

This page lists short names for long type names, and for a few functions.

PortfolioOptimisers.SCM — Function
SCM(; settings::RiskMeasureSettings = RiskMeasureSettings(),
      w::Option{<:ObsWeights} = nothing,
      mu::Option{<:Num_VecNum_VecScalar} = nothing,
      ve::AbstractVarianceEstimator = SimpleVariance(; me = nothing),
      alg::SecondMomentFormulation = SquaredSOCRiskExpr()) -> LowOrderMoment

Alias for the Second Central Moment (SCM) risk measure, a LowOrderMoment with SecondMoment and FullMoment. It reports the variance of the portfolio returns over the scenarios, and their standard deviation when alg is SOCRiskExpr.

source
PortfolioOptimisers.SLM — Function
SLM(; settings::RiskMeasureSettings = RiskMeasureSettings(),
      w::Option{<:ObsWeights} = nothing,
      mu::Option{<:Num_VecNum_VecScalar} = nothing,
      ve::AbstractVarianceEstimator = SimpleVariance(; me = nothing),
      alg::SecondMomentFormulation = SquaredSOCRiskExpr()) -> LowOrderMoment

Alias for the Second Lower Moment (SLM) risk measure, a LowOrderMoment with SecondMoment and SemiMoment. It reports the semi-variance of the portfolio returns over the scenarios, and their semi-standard deviation when alg is SOCRiskExpr.

source
PortfolioOptimisers.OWA_CVaR_RG — Function
OWA_CVaR_RG(; settings::RiskMeasureSettings = RiskMeasureSettings(),
              alpha::Number = 0.05,
              beta::Number = alpha,
              alg::OrderedWeightsArrayFormulation = ApproxOrderedWeightsArray()) -> OrderedWeightsArrayRange

Alias for the Conditional Value at Risk Range (CVaR RG) OrderedWeightsArrayRange risk measure, with OrderedWeightsArrayConditionalValueatRisk weights at alpha in the loss tail and the reversed weights at beta in the gain tail. Its value is that of owa_cvarrg.

source
PortfolioOptimisers.OWA_TG_RG — Function
OWA_TG_RG(; settings::RiskMeasureSettings = RiskMeasureSettings(),
            alpha_i::Number = 1e-4,
            alpha::Number = 0.05,
            a_sim::Integer = 100,
            beta_i::Number = alpha_i,
            beta::Number = alpha,
            b_sim::Integer = a_sim,
            alg::OrderedWeightsArrayFormulation = ApproxOrderedWeightsArray()) -> OrderedWeightsArrayRange

Alias for the Tail Gini Range (TG RG) OrderedWeightsArrayRange risk measure, with OrderedWeightsArrayTailGini weights at alpha_i, alpha and a_sim in the loss tail and the reversed weights at beta_i, beta and b_sim in the gain tail. Its value is that of owa_tgrg.

source
PortfolioOptimisers.ZeroVarianceFilter — Function
ZeroVarianceFilter(; tol::Number = 1e-12) -> ScoreSelector

Alias for the zero-variance asset selector, a ScoreSelector that scores with SCM and selects with a ThresholdRule.

It keeps the assets whose second central moment strictly exceeds tol, so it drops constant and near-constant columns before they reach a prior or an optimiser. The bound is exclusive, so tol = 0 still drops an exactly-constant asset.

It scores with SCM() and not with Variance. Variance is a WeightsInput risk measure whose functor takes portfolio weights, so it cannot score the return series of one asset.

Validation

  • tol >= 0.
source