Filtered Historical VaR

The Filtered Historical VaR, from filtered historical simulation (FHS), combines the GARCH VaR with the Historical VaR: it takes the empirical quantile of the standardized residuals of the GARCH fit instead of a distribution’s quantile.

The formula for the Filtered Historical VaR starts from a GARCH-family model fitted to the returns, with a constant mean Mu and a fitted volatility \(\text{Volatility}_{s}\) for every period s. Dividing each return \(\text{Return}_{s}\) by the volatility of its own period filters out the volatility clusters and leaves the standardized residuals \(z_{s}\):

\[z_{s} = \frac{\text{Return}_{s} - \text{Mu}}{\text{Volatility}_{s}}\]

The VaR then takes the empirical quantile of these residuals at the tail probability alpha (0.05 for the 95% confidence level) and scales it back up with the model’s volatility forecast for the next period, \(\text{Volatility}_{t + 1}\):

\[\text{Filtered Historical VaR} = \text{Mu} + \text{Volatility}_{t+1} \cdot \text{Quantile}(z, \alpha)\]

The tail is that of the history, with its skewness and fat tails, scaled to today’s volatility: it keeps the strength of the Historical VaR, no assumed distribution, and adds the GARCH VaR’s response to the current market.

The Value at Risk (VaR) is a risk measure: the return that a period only falls below with a small probability alpha, so a 5% VaR of -0.03 means a loss of more than 3% in about one period out of twenty. It is the most widely used measure of downside risk in banking and asset management: risk managers set limits with it and the Basel rules built banks’ market-risk capital on it (their current framework uses the Expected Shortfall), because it sums up the risk of a position in one number in the unit that matters, the loss. The VaR is a return (negative for a loss). The methods differ in how they estimate the tail of the returns, from the plain history to fitted distributions and volatility models.

A VaR says how bad a period gets at the chosen confidence level, not how bad the periods beyond it are, so two assets with the same VaR can have very different tails (see the Conditional Value at Risk for that). Compare assets over the same period and confidence level. Scaling a daily VaR to a longer horizon with the square root of time assumes independent returns, which tends to understate risk when volatility clusters.

Also known as: filtered historical simulation, FHS.

In the Finance Toolkit this is get_value_at_risk with method="filtered_historic", the same function as Value at Risk (VaR).

Example · BTCUSD, ETHUSD, ^GSPC · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_value_at_risk:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["BTCUSD", "ETHUSD", "^GSPC"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.risk.get_value_at_risk(method="filtered_historic", period="yearly", within_period=True)

Which returns:

References

  • Paper Barone-Adesi, G., Giannopoulos, K. and Vosper, L. (1999). “VaR without Correlations for Portfolios of Derivative Securities.” Journal of Futures Markets, 19(5), 583-602.
  • Paper Hull, J. and White, A. (1998). “Incorporating Volatility Updating into the Historical Simulation Method for Value-at-Risk.” Journal of Risk, 1(1), 5-19.
Share