What do historical VaR and expected shortfall measure on perps?

Historical value at risk, or VaR, summarizes a chosen quantile of observed crypto perpetual account losses over a stated horizon. Expected shortfall summarizes the loss in the remaining tail under a declared convention. Neither is a maximum possible loss. The sample, valuation horizon, confidence level and quantile method are part of the result, not optional footnotes.

Which finite-sample convention is used here?

Define loss as minus the net daily account return, so a positive loss number means the account fell. Sort n equally weighted losses from smallest to largest. For 0 < alpha < 1, this lesson uses the empirical inverse-CDF quantile: VaR at level alpha is loss number ceil(n × alpha), counting from one.

Define empirical expected shortfall as the average of the worst (1 - alpha) probability mass. With equally weighted observations and an integer tail count, average exactly that many largest losses. With a fractional tail count, include the next boundary observation only with the fractional weight required. For tied boundary values, that allocation gives the same weighted loss whichever tied observation supplies the fraction. Other software conventions may differ; identify the one actually used.

What does a ten-observation example show?

Illustration only; all losses are synthetic, not a track record.

Sorted daily loss percentages are -2, -1, 0, 0, 1, 1, 2, 3, 5, 9. At alpha=0.80, ceil(10 × 0.80)=8, so empirical VaR is 3%. The worst 20% consists of the 5% and 9% observations. Expected shortfall is (5 + 9) / 2 = 7%.

At alpha=0.85, the quantile is observation nine, or 5%. The worst 15% mass equals one full 9% observation plus half of the 5% observation. Tail average is (9 + 0.5 × 5) / 1.5, approximately 7.6667%. This explicitly defined tail average is not merely the mean of all observations greater than or equal to VaR.

Why are these not safety limits?

Ten observations provide only a tiny empirical tail. Missing incidents, changing exposure, dependence and liquidation can make future losses very different. Preserve open-position valuation and cashflow adjustments. Do not infer that losses exceed a historical quantile at a stable future frequency, or scale a one-day estimate to longer horizons without a justified model.

What are the short answers?

Is VaR the largest loss an account can suffer?

No. It is a quantile under a specified sample or model, not a cap on loss.

Why state the quantile convention?

Finite samples and software interpolation rules can produce different quantiles and tail averages from the same observations.

Does expected shortfall equal the mean of every loss at or above VaR?

Not necessarily. This lesson averages the worst specified probability mass, including fractional boundary weight when needed.

Past performance does not guarantee future results. Leveraged futures carry a high risk of loss.

Last reviewed by Ric Mescallado