Turnover risk measure
PortfolioOptimisers.TurnoverRiskMeasure Type
struct TurnoverRiskMeasure{__T_settings, __T_w, __T_fixed} <: RiskMeasureRepresents the Turnover risk measure.
TurnoverRiskMeasure penalises portfolio rebalancing by measuring the
Mathematical Definition
Let
Fields
settings: Risk measure configuration.w: Reference weight vector (previous or benchmark portfolio weights).fixed: Iftrue, the reference weights are fixed and not updated between optimisations. Iffalse, the reference weights are updated to the previous optimisation result.
Constructors
TurnoverRiskMeasure(;
settings::RiskMeasureSettings = RiskMeasureSettings(),
w::VecNum,
fixed::Bool = false
) -> TurnoverRiskMeasureKeywords correspond to the struct's fields.
Validation
!isempty(w).
Functor
(r::TurnoverRiskMeasure)(w::VecNum)Computes the Turnover risk of a portfolio weight vector w.
Arguments
w::VecNum: New portfolio weights vector.
Examples
julia> TurnoverRiskMeasure(; w = [0.5, 0.5])
TurnoverRiskMeasure
settings ┼ RiskMeasureSettings
│ scale ┼ Float64: 1.0
│ ub ┼ nothing
│ rke ┴ Bool: true
w ┼ Vector{Float64}: [0.5, 0.5]
fixed ┴ Bool: falseRelated
source