Sub topic 9
Time horizon and when you need the money
This chapter assumes you can compute returns and drawdowns from a price series. It also assumes you know the difference between a temporary decline and a permanent loss of capital. Here, time horizon is the first tool for keeping a temporary decline from becoming permanent.
What a time horizon is
A time horizon is the length of time between now and the date you will need to sell an investment and spend the money. It belongs to a goal, not to you. A 30-year-old saving for retirement does not have one 35-year horizon. They have many: an emergency fund (needed at any time), a house deposit (needed in four years), and retirement savings (needed in decades).
Time horizon matters because of how a drawdown becomes a loss. A fall in price is only a paper loss until you sell. If you do not have to sell until the price has recovered, the drawdown costs you nothing permanent. If a bill arrives in the middle of the fall, you must sell at the low price. The loss is then realized, and the shares you sold can no longer recover for you.
So the question is not "how much can this asset fall?" It is "how likely is it that this asset is below what I paid on the day I need to spend it?"
Why longer horizons reduce, but do not remove, the risk
Over short periods, stock returns swing widely. Over long periods, the good years and bad years tend to average out, and the compounded annual return tends to settle nearer the long-run average. The range of outcomes for annualized return narrows as the window gets longer.
The code below uses an invented series of 16 yearly returns. It slides a window of each length across the series and reports the annualized return of every window.
# Illustrative, made-up yearly returns (not real market data)
returns = [0.12, -0.20, 0.15, 0.08, -0.05, 0.22, 0.10, -0.30,
0.18, 0.14, 0.09, -0.02, 0.20, 0.07, -0.12, 0.16]
def rolling_annualized(returns, years):
"""Annualized (compounded) return for every window of `years` years."""
results = []
for start in range(len(returns) - years + 1):
growth = 1.0
for r in returns[start:start + years]:
growth *= 1 + r
results.append(growth ** (1 / years) - 1)
return results
for years in (1, 3, 5, 10):
windows = rolling_annualized(returns, years)
losing = sum(1 for w in windows if w < 0)
print(f"{years:>2}-year windows: worst {min(windows):.1%}, "
f"best {max(windows):.1%}, losing {losing} of {len(windows)}")In this series, 5 of the 16 one-year windows lose money. None of the seven ten-year windows does. The gap between the worst and best window also shrinks as the window grows.
Do not read this as a guarantee. Three limits apply:
- The series is invented, and it was built to have a positive average. Real markets do not promise one.
- A short history gives few independent long windows. Overlapping windows share most of their years, so seven ten-year windows are far fewer than seven independent observations.
- Some real markets have stayed below an old peak for a very long time. Japan's Nikkei 225 reached its December 1989 high and did not regain it until February 2024, about 34 years later.
Matching assets to the date you need the money
Because the loss that matters is the one you are forced to realize, assets are matched to when the money will be spent. The following ranges are common rules of thumb, not laws. The cutoffs depend on your situation.
| Money needed in | Main concern | Typical holdings |
|---|---|---|
| Under 2 years | Being forced to sell during a drawdown | Cash, savings accounts, short-term government bills |
| 2 to 7 years | A drawdown that has not recovered by the due date | Mix of high-quality bonds and some stocks |
| Over 7 to 10 years | Inflation and long-run growth | Mostly diversified stocks |
The logic comes from the recovery arithmetic you saw earlier. A stock index can fall 50% or more in a bad period, and recovery can take years. Money due in 18 months should not depend on that recovery. Money due in 25 years can wait through several.
Liquidity needs: the other half of the horizon
Liquidity is how quickly you can turn an asset into cash without a large loss in price. Your horizon is not only the planned date. It also includes unplanned dates, such as job loss, a medical bill, or a car repair.
This is why an emergency fund comes before investing in risky assets. A common guide is three to six months of essential spending in cash or an account you can reach in days. The fund does not earn much. Its job is to stop a surprise bill from forcing a sale of stocks during a drawdown.
Illiquid assets add another form of this problem. Some funds, private investments, and property cannot be sold quickly. Some funds restrict withdrawals. If your emergency money sits in such an asset, your effective horizon is longer than you planned, and you may sell at a bad price or not be able to sell at all.
Common mistakes
- Using one horizon for everything. Your retirement date does not set the horizon for your house deposit. Assign a date to each pool of money.
- Counting the horizon from today instead of from the first withdrawal. A person retiring at 65 does not spend everything at 65. Spending runs over decades, so part of the money has a long horizon and part has a short one. Withdrawals during a bad stretch are a separate risk, which a later chapter covers as sequence of returns risk.
- Assuming time heals everything. Time helps a diversified portfolio of businesses that keep earning. It does not help a company that goes bankrupt, or an asset bought at a price that was far too high.
- Shortening the horizon by accident. Borrowed money (leverage) can force a sale at a bad moment even when your plan was long term. A margin call sets the horizon, not you.
- Ignoring the goal's flexibility. If a goal can move, such as delaying a purchase by two years, your horizon is effectively longer. A fixed date, such as tuition due in September, is not flexible.
Putting it together with your own plan
A practical way to apply this is to list each goal with its amount, its due date, and how flexible the date is. Then assign assets by the table above, and keep a cash reserve for the unplanned dates. When a drawdown comes, check each pool against its own date. If no money is due soon, the drawdown is uncomfortable but temporary. If the cash for a near-term bill is exposed to the fall, that pool was the mistake.
This also leads into later chapters. Risk capacity depends largely on your horizon and your liquidity needs. Your risk tolerance, the stress you can bear, may be lower than your capacity, and behavior then decides whether a drawdown becomes a realized loss.
Exercise
You have three pools of money. (a) $8,000 for a car you plan to buy in 14 months. (b) $20,000 as an emergency fund. (c) $50,000 for retirement in 30 years. Which pool should hold mostly stocks, and why? What is the main risk of putting pool (a) in stocks?
Show answer
Only pool (c) should hold mostly stocks. A 30-year horizon gives a diversified stock portfolio time to recover from several drawdowns before the money is needed. Pool (b) must be reachable at any time and not depend on market prices, so it belongs in cash or a similar account. Pool (a) is due in 14 months, which is shorter than the time a stock drawdown can take to recover. If stocks fell 30% before the purchase, you would have to sell low or delay the car, so the loss would become real. Cash or short-term bills suit it better.
Exercise
Change the returns list in the code so that the last four values are all -0.15. Predict whether the worst 10-year window gets better or worse, then run the code to check. What does this show about trusting a rolling-window result?
Show answer
The worst 10-year window gets worse, because it now contains several bad years in a row. Rolling-window results depend on the data you give them, and a short history can hide bad stretches. A result such as "no ten-year window lost money" describes that sample, not a guarantee about the future.