skfolio.measures.cdar#

skfolio.measures.cdar(drawdowns, beta=0.95)[source]#

Compute the historical CDaR (conditional drawdown at risk).

Parameters:
drawdownsndarray of shape (n_observations,)

Vector of drawdowns.

betafloat, default = 0.95

The CDaR confidence level (expected drawdown on the worst (1-beta)% observations).

Returns:
valuefloat

CDaR.