Relativistic X at Risk
PortfolioOptimisers.RelativisticValueatRisk Type
struct RelativisticValueatRisk{__T_settings, __T_slv, __T_alpha, __T_kappa, __T_w} <: RiskMeasureRepresents the Relativistic Value-at-Risk (RVaR) risk measure.
RelativisticValueatRisk is a coherent risk measure generalising EVaR via the Tsallis (
Mathematical Definition
Define the
subject to the power-cone constraints:
where
Fields
settings: Risk measure configuration.slv: Solver or vector of solvers for the conic optimisation.alpha: Significance level for the lower tail.kappa: Deformation parameter. w: Optional observation weights.
Constructors
RelativisticValueatRisk(;
settings::RiskMeasureSettings = RiskMeasureSettings(),
slv::Option{<:Slv_VecSlv} = nothing,
alpha::Number = 0.05,
kappa::Number = 0.3,
w::Option{<:ObsWeights} = nothing
) -> RelativisticValueatRiskKeywords correspond to the struct's fields.
Validation
0 < alpha < 1.0 < kappa < 1.If
slvis aVecSlv:!isempty(slv).If
wis notnothing:!isempty(w).
Functor
(r::RelativisticValueatRisk)(x::VecNum)Computes the RVaR of a portfolio returns vector x.
Arguments
x::VecNum: Portfolio returns vector.
Examples
julia> RelativisticValueatRisk()
RelativisticValueatRisk
settings ┼ RiskMeasureSettings
│ scale ┼ Float64: 1.0
│ ub ┼ nothing
│ rke ┴ Bool: true
slv ┼ nothing
alpha ┼ Float64: 0.05
kappa ┼ Float64: 0.3
w ┴ nothingRelated
PortfolioOptimisers.RelativisticValueatRiskRange Type
struct RelativisticValueatRiskRange{__T_settings, __T_slv, __T_alpha, __T_kappa_a, __T_beta, __T_kappa_b, __T_w} <: RiskMeasureRepresents the Relativistic Value-at-Risk Range (RVaR Range) risk measure.
RelativisticValueatRiskRange computes the sum of the lower-tail RVaR (at level alpha with deformation kappa_a) and the upper-tail RVaR (at level beta with deformation kappa_b).
Mathematical Definition
Fields
settings: Risk measure configuration.slv: Solver or vector of solvers for the conic optimisation.alpha: Significance level for the lower tail.kappa_a: Deformation parameter for the lower-tail RVaR.beta: Significance level for the upper tail.kappa_b: Deformation parameter for the upper-tail RVaR.w: Optional observation weights.
Constructors
RelativisticValueatRiskRange(;
settings::RiskMeasureSettings = RiskMeasureSettings(),
slv::Option{<:Slv_VecSlv} = nothing,
alpha::Number = 0.05,
kappa_a::Number = 0.3,
beta::Number = 0.05,
kappa_b::Number = 0.3,
w::Option{<:ObsWeights} = nothing
) -> RelativisticValueatRiskRangeKeywords correspond to the struct's fields.
Validation
0 < alpha < 1,0 < kappa_a < 1.0 < beta < 1,0 < kappa_b < 1.If
slvis aVecSlv:!isempty(slv).If
wis notnothing:!isempty(w).
Functor
(r::RelativisticValueatRiskRange)(x::VecNum)Computes the RVaR Range of a portfolio returns vector x.
Arguments
x::VecNum: Portfolio returns vector.
Examples
julia> RelativisticValueatRiskRange()
RelativisticValueatRiskRange
settings ┼ RiskMeasureSettings
│ scale ┼ Float64: 1.0
│ ub ┼ nothing
│ rke ┴ Bool: true
slv ┼ nothing
alpha ┼ Float64: 0.05
kappa_a ┼ Float64: 0.3
beta ┼ Float64: 0.05
kappa_b ┼ Float64: 0.3
w ┴ nothingRelated
sourcePortfolioOptimisers.RelativisticDrawdownatRisk Type
struct RelativisticDrawdownatRisk{__T_settings, __T_slv, __T_alpha, __T_kappa, __T_w} <: RiskMeasureRepresents the Relativistic Drawdown-at-Risk (RDDaR) risk measure.
RelativisticDrawdownatRisk applies the Relativistic Value-at-Risk framework to the absolute drawdown series of portfolio returns.
Mathematical Definition
Define the absolute drawdown series:
The Relativistic Drawdown-at-Risk is the RVaR of the drawdown series:
Fields
settings: Risk measure configuration.slv: Solver or vector of solvers for the conic optimisation.alpha: Significance level for the lower tail.kappa: Deformation parameter. w: Optional observation weights.
Constructors
RelativisticDrawdownatRisk(;
settings::RiskMeasureSettings = RiskMeasureSettings(),
slv::Option{<:Slv_VecSlv} = nothing,
alpha::Number = 0.05,
kappa::Number = 0.3,
w::Option{<:ObsWeights} = nothing
) -> RelativisticDrawdownatRiskKeywords correspond to the struct's fields.
Validation
0 < alpha < 1.0 < kappa < 1.If
slvis aVecSlv:!isempty(slv).If
wis notnothing:!isempty(w).
Functor
(r::RelativisticDrawdownatRisk)(x::VecNum)Computes the Relativistic Drawdown-at-Risk of a portfolio returns vector x.
Arguments
x::VecNum: Portfolio returns vector.
Examples
julia> RelativisticDrawdownatRisk()
RelativisticDrawdownatRisk
settings ┼ RiskMeasureSettings
│ scale ┼ Float64: 1.0
│ ub ┼ nothing
│ rke ┴ Bool: true
slv ┼ nothing
alpha ┼ Float64: 0.05
kappa ┼ Float64: 0.3
w ┴ nothingRelated
PortfolioOptimisers.RelativeRelativisticDrawdownatRisk Type
struct RelativeRelativisticDrawdownatRisk{__T_settings, __T_slv, __T_alpha, __T_kappa, __T_w} <: HierarchicalRiskMeasureRepresents the Relative Relativistic Drawdown-at-Risk (Relative RDDaR) risk measure for hierarchical optimisation.
RelativeRelativisticDrawdownatRisk applies the Relativistic Value-at-Risk framework to the relative (compounded) drawdown series of portfolio returns.
Mathematical Definition
Define the compounded wealth process and relative drawdown series:
The Relative Relativistic Drawdown-at-Risk is the RVaR of the relative drawdown series:
Fields
settings: Hierarchical risk measure configuration.slv: Solver or vector of solvers for the conic optimisation.alpha: Significance level for the lower tail.kappa: Deformation parameter. w: Optional observation weights.
Constructors
RelativeRelativisticDrawdownatRisk(;
settings::HierarchicalRiskMeasureSettings = HierarchicalRiskMeasureSettings(),
slv::Option{<:Slv_VecSlv} = nothing,
alpha::Number = 0.05,
kappa::Number = 0.3,
w::Option{<:ObsWeights} = nothing
) -> RelativeRelativisticDrawdownatRiskKeywords correspond to the struct's fields.
Validation
0 < alpha < 1.0 < kappa < 1.If
slvis aVecSlv:!isempty(slv).If
wis notnothing:!isempty(w).
Functor
(r::RelativeRelativisticDrawdownatRisk)(x::VecNum)Computes the Relative Relativistic Drawdown-at-Risk of a portfolio returns vector x.
Arguments
x::VecNum: Portfolio returns vector.
Examples
julia> RelativeRelativisticDrawdownatRisk()
RelativeRelativisticDrawdownatRisk
settings ┼ HierarchicalRiskMeasureSettings
│ scale ┴ Float64: 1.0
slv ┼ nothing
alpha ┼ Float64: 0.05
kappa ┼ Float64: 0.3
w ┴ nothingRelated