Learning Outcome Statement
Describe and contrast steps and procedures in backtesting an investment strategy.
On the exam: A vignette gives the mandate, benchmark, data history, rebalance rule, constraints, and alternative designs, then asks you to sequence or contrast procedures in a best-choice, matching, or matrix question.
Backtesting is a rehearsal of the portfolio decision, not a contest to find the prettiest historical return. You first freeze the mandate and the information available at each decision date. You then let the strategy act on the next period, record the portfolio and trades, and repeat. This matters because a result built with future information or an untradeable portfolio cannot support a recommendation.
| Decision | Choice recorded | Portfolio effect |
|---|---|---|
| Strategy | Signal and portfolio rule | Fixes the tested decision |
| Client | Pension or endowment | Sets spending and liquidity context |
| Objective | Benefit funding or spending support | Shapes suitable outcome |
| Benchmark | Broad equity or policy benchmark | Sets relative comparison |
| Universe | Investable securities | Excludes unavailable holdings |
| Constraints | Long-only, limits, liquidity | Blocks untradeable holdings |
| Rebalance | Dates and turnover rule | Creates trades and costs |
| Information set | Data available then | Prevents future information |
The objective tells you what the client needs. The benchmark supplies the comparison return. A public pension and an endowment can test the same signal and still need different portfolio consequences.
The window notation captures the history used to make each decision. The decision date is $t$. A rolling window keeps $L$ recent observations. An expanding window begins at the fixed date $s$ and keeps adding observations through $t$.
$$ \mathcal{W}^{\mathrm{rolling}}_t = \operatorname{Recent}(L,t) \qquad \mathcal{W}^{\mathrm{expanding}}_t = \operatorname{From}(s,t) $$
The argument $L$ controls how much recent history enters the rolling design. The date $s$ fixes the earliest observation in the expanding design. A larger $L$ makes old information leave more slowly, while a fixed $s$ gives older observations a lasting influence. Neither design permits information dated after $t$ to influence the decision at $t$.
| Procedure | History and refit | Regime and implementation |
|---|---|---|
| Full sample | Entire history, select once | Future leakage, tradeability overstated |
| Rolling window | Fixed recent history, refit as window advances | Recent regimes, turnover and costs rise |
| Expanding window | Fixed start, add observations, refit | Longer memory, slower response, costs still apply |
Full-sample selection feels efficient because it uses every observation, but the same history can choose and judge the rule. Rolling and expanding designs make the next-period application a separate test. The window choice is a model decision because it changes regime responsiveness and trading pressure.
The loop below keeps the information boundary visible.
Loading diagram…
Read the loop as a sequence of dated decisions. The mandate fixes what the strategy is allowed to do, and the information date limits what it can know. The selected rule is then frozen before the next period begins. Recording trades, turnover, and costs alongside returns shows whether the portfolio could actually have been held. Advancing the window starts a new decision with updated history, not a rewrite of the prior test.
| Process step | Information set and action | Output and implementation consequence |
|---|---|---|
| Set mandate | Data available at date, fix strategy and constraints | Testable rule, investable universe |
| Select rule | Historical window, estimate or select | Frozen rule, position limits retained |
| Test next period | No future data, apply fixed rule | Outcome, trades, turnover, costs |
| Advance window | Updated history, repeat and recheck liquidity | Out-of-sample record, next refit |
Every advance produces a portfolio record, not just a strategy label. If the holdings fail liquidity or position limits, the result cannot become a recommendation even when historical selection looks superior.
Worked example
You are handed a public pension mandate for a long-only value strategy. The strategy is judged against a broad equity benchmark, and the portfolio must meet liquidity and position limits. The research team selected parameters after viewing the entire data history and reports a strong result. The exam asks you to compare that full-sample design with a walk-forward rolling-window design.
| Fact | Stated condition |
|---|---|
| Client | Public pension |
| Objective | Support long-term benefit payments |
| Strategy | Long-only value |
| Benchmark | Broad equity benchmark |
| Universe | Investable equities |
| Constraints | Liquidity and position limits |
| Rebalance | Scheduled rebalancing |
| Proposed design | Full-sample selection |
| Information set | Data available at each decision date |
This fact pattern separates the client's needs from the research method. The pension objective, benchmark, universe, and constraints define the portfolio that must be tested. Full-sample selection creates a specific concern: the reported parameters saw the entire history. The rolling-window cycle below shows how to keep each selection inside the information available at its decision date, then judge the frozen rule on a later period.
-
At each decision date, fix the mandate and the information set. Keep the pension objective, broad equity benchmark, investable universe, long-only rule, liquidity, and position limits unchanged because future data or an unavailable holding must not enter the rule. The result is one date-specific set of permitted inputs.
-
Within the historical window available at that date, select the value rule and then freeze it. Separate this in-sample design stage from the untouched next-period evaluation because the rule must not learn from the period it will be tested on. The result is one fixed decision for the next period.
-
Apply that fixed decision to the next period and record holdings, portfolio outcome, trades, turnover, and transaction costs. This shows what the pension would have owned and paid during that period. The result is one implementable period record.
-
Advance the rolling window and repeat the cycle. Refit with recent information, then recheck liquidity, position limits, investability, and turnover before applying the rule because each new decision must remain implementable. The result is one out-of-sample decision for each rolled-forward period, forming a sequence over the test horizon.
Recommend the walk-forward rolling-window design because it respects information availability and tests whether the value portfolio remains tradeable after constraints and trading costs.
Changed condition
The case changes one input, the client mandate. It moves from a pension making benefit payments to an endowment with a spending objective because the cash-flow need changes from funding benefits to supporting spending. That direction puts a trend strategy against a policy benchmark and makes regime relevance, turnover, spending needs, and investability part of the window choice.
| Mandate detail | Before | After |
|---|---|---|
| Client, objective, strategy, benchmark | Pension, benefit payments, long-only value, broad equity | Endowment, spending support, trend, policy benchmark |
| Resulting constraints and design | Long-only, liquidity, rolling walk-forward | Liquidity, turnover, investability, rolling or expanding |
| Resulting portfolio consequence | Tradeable value exposure after limits | Regime and spending fit after trading checks |
The remaining rows show design and portfolio consequences of the mandate change, not additional changed inputs. Rolling fits when changing regimes matter and the endowment can absorb added turnover. Expanding is preferable when a long historical memory supports the spending objective and slower regime response is acceptable. Either choice must pass liquidity, transaction-cost, position-limit, and investability checks.
Choose rolling or expanding as the history window for this mandate.
Common error
You see a strong full-sample backtest and treat it as proof that the strategy works. That feels right because the rule uses a long history and appears to beat the benchmark. The giveaway is the researcher selecting parameters with the entire history, future information entering an earlier decision, or the portfolio manager ignoring constraints and trading costs.
Check yourself
Practice
A pension and an endowment are comparing backtest designs for different mandates.
Question 1
Which sequence best describes a walk-forward backtest?
Question 2
Which statement correctly contrasts rolling-window and expanding-window procedures?
Question 3
A public pension tests a long-only value strategy against a broad equity benchmark. Which design is most defensible?
Question 4
For an endowment testing trend against a policy benchmark, which contrast is most accurate?
Before testing an investment strategy, which set should be fixed?
Revision snapshot
Before testing, define the strategy, client type, objective, benchmark, investable universe, constraints, rebalance rule, and information set. Estimate or select with the historical window, freeze the rule, apply it to the next period, record portfolio outcome and trades, advance the window, and repeat. Never use information unavailable at the decision date. $\mathcal{W}^{\mathrm{rolling}}_t=\operatorname{Recent}(L,t)$ keeps fixed recent history, while $\mathcal{W}^{\mathrm{expanding}}_t=\operatorname{From}(s,t)$ keeps its start and adds observations. Include liquidity, turnover, transaction costs, position limits, and investability. A mechanically superior result is unsuitable if it cannot be traded. Reject full-sample selection when design and evaluation share future information. For the pension, choose rolling walk-forward. For the endowment, balance regime relevance, turnover, spending, and investability.
Unlock the full lesson and continue reading
Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more