skfolio.measures
.drawdown_at_risk#
- skfolio.measures.drawdown_at_risk(drawdowns, beta=0.95)[source]#
Compute the Drawdown at risk.
The Drawdown at risk is the maximum drawdown at a given confidence level (beta).
- Parameters:
- drawdownsndarray of shape (n_observations,)
Vector of drawdowns.
- betafloat, default = 0.95
The DaR confidence level (drawdown on the worst (1-beta)% observations).
- Returns:
- valuefloat
Drawdown at risk.