Hexa Scholar

What does historical simulation assume about tomorrow?

An archive box filled with blank cards, with one card propped against the box.
A card pulled from the archive stands for a past trading day.

The question

The same portfolio can be replayed against different sets of days.

  1. 1 SeeChoose a window and estimate VaR.
  2. 2 TryChange the weight of severe days.
  3. 3 ProveProve when the cutoff crosses a threshold.
  4. 4 ApplyReplay returns and compute loss ranks.
Before you start · 3 quick checks on loss signs, counts and same-date returns

Two ideas before you start

2 ideas

Put today's positions through a past day

Two position changes add up to the change in portfolio value.

Replay both returns from the chosen date on the same current positions. The bars show dollar changes in value.

Exact definition

Let \(V_A\) and \(V_B\) be today's signed dollar positions in assets A and B. For historical date \(i\), let \(r_{i,A}\) and \(r_{i,B}\) be simple one-day price returns in decimal form. With fixed holdings, no cash flows and no trading or financing costs over the replay day, the dollar loss is

\[L_i=-(V_A r_{i,A}+V_B r_{i,B}).\]

A positive position gains when its price rises. A negative position represents a short position and loses when its price rises. A negative loss means a gain. The chart uses invented returns and fixed dollar positions as given beside the result.

Choose how far back to look

A highlighted span marks the most recent dates in the archive.

A rolling window ends at the latest available date. It gives each included date the same weight in this lesson.

Exact definition

With \(n\) replay losses, the empirical cumulative distribution function \(F(x)\) is the fraction at or below the dollar loss \(x\). At confidence \(0\lt\alpha\lt1\), historical value at risk (VaR) is the smallest loss where \(F(x)\ge\alpha\). Sort the losses from smallest to largest and take rank \(k=\lceil n\alpha\rceil\), counting from the smallest. Keep every repeated loss in that list.

This uses the inverse-CDF convention. It selects an observed scenario loss without interpolating. The empirical quantiles lesson gives the general definition. The value at risk lesson explains what a cutoff leaves out.

What is being modeled?

The replay constructs a distribution for today's book even if its holdings differed on the dates in the archive. What comes from the archive is the joint move in prices. What comes from today is the exposure to each price. The lesson uses simple one-day price returns, fixed quantities within each replay, and no dividends, fees, financing costs or trades during the day.

Using the replay distribution as a forecast adds an assumption. The included dates, given equal weight, need to represent the joint moves that could occur over the next trading day. This is a real-world forecasting assumption about market moves. Equal weights describe how the estimate is made. They do not establish that any historical pattern will repeat tomorrow.

1 See

Forecast the cutoff after a crisis

2 Try

Keep the severe days in the archive

3 Prove

When does VaR cross a loss threshold?

Theorem for equally weighted replay losses

Let \(n\ge2\) be an integer and let the \(n\) finite losses have equal weight. Fix a finite dollar threshold \(t\) and a confidence level \(0\lt\alpha\lt1\). Suppose exactly \(b\) losses strictly exceed \(t\), with \(1\le b\lt n\). Put \(m=n-b\), the count at or below \(t\). Let \(k\) be the selected rank and \(q\) be the inverse-CDF VaR.

The cutoff \(q\) lies at or below \(t\) exactly when the severe fraction \(b/n\) is at most \(1-\alpha\). A loss equal to \(t\) belongs to the count \(m\).

Build the proof by counting observations on the two sides of the threshold.

What the archive can support as a forecast

The theorem counts rows in a specified window. It says nothing about the probability of the next real loss exceeding the cutoff. That would require the equal-weight replay distribution to model the next day's losses. If tomorrow's joint moves have a different distribution, strict exceedances can occur more or less often than the empirical fraction suggests.

A short window can lose an old stress observation quickly and can have very few rows near its cutoff. A long window uses more dates, which may include market conditions unlike today's. The window length sets the rank, and the included losses determine the value at that rank. Before using dates from another market or giving dates unequal weights, first specify which joint moves are plausible and how much weight each carries. Unequal weights require a cumulative weight calculation in place of counting ranks.

The bootstrap lesson shows how resampling can study an estimate's variability. An ordinary bootstrap resamples individual rows with replacement. If the rows are used as observations of joint moves, each draw keeps the assets paired. The ordinary row bootstrap uses an independent, identically distributed sampling model. When market moves cluster over time, that argument needs a dependence model or a resampling scheme suited to time series.

4 Apply

Reprice, rank and interpret

Enter exact numbers without currency symbols or units. Use the same one-day horizon for all returns and losses within each problem. Hints walk through the replay or the count.

Key point Report the horizon, confidence, current positions and window with a historical VaR estimate. Preserve the pairing of market moves before computing portfolio losses. The cutoff describes the replay distribution under those choices.
Level Undergraduate Prerequisites Value at risk and empirical quantiles Time About half an hour

Further reading