Backtest a portfolio
Pick a mix, see what it would have done — or set two side by side. Twenty-one assets, each over the longest run there is a price for.
Sixty per cent US shares and forty per cent US bonds, rebalanced once a year, returned 7.76% a year from January 1871 — a dollar became $114,170 — and fell 59.4% below its previous high in June 1932. Over the last thirty years: 7.77% a year and a worst fall of 30.5%. Change the mix below and every figure on the page changes with it.
The weights have to add up to 100%.
The weights have to add up to 100%.
A year
—
Worst fall
—
Worst year
—
The last thirty years
A year
—
Worst fall
—
Worst year
—
| Mix | A year | Worst fall | Worst year |
|---|
The last thirty years
| Mix | A year | Worst fall | Worst year |
|---|
Total return
$1 put in at the start, on a log scale, so a straight line means a steady rate. Dividends and coupons reinvested, before tax and before fees.
Drawdown
How far below its previous high the mix has been, month by month, and underneath, how many months each of those spells lasted.
Every calendar year
How it works it out
Every asset is a monthly series going back as far as there is one. The mix starts where its youngest member starts: put gold with bitcoin and you get 2014 onwards, not 1833. Each month every holding moves by its own return, and on the rebalancing date the weights are put back to the ones you chose.
The yearly figure is compounded, not an average. The fall is measured against the highest the mix had ever been, month by month, so a crash that happened and recovered inside one month does not show.
Add a second mix and both are run over the same months — the run starts where the later of the two starts, and ends where the earlier of the two ends. Shares since 1871 against bitcoin since 2014 would be two different centuries rather than a comparison, so the longer of the two is cut back to the shorter and both are judged on the same years.
Each asset is the American ETF you would actually buy — VTI, BND, TLT, GLD, TIP and the rest — with older series behind it for the years before the fund existed: an index fund before the ETF, and before that Robert Shiller’s S&P 500 for shares, the London price for gold, and the ten-year Treasury yield turned into what the bond paid. A fund’s price is already after the fee it charges, so these figures are what a holder got, and they line up with LazyPortfolio and Portfolio Visualizer to within a tenth of a point.
Why once a year
Rebalancing is selling what rose to buy what fell. Doing it monthly costs dealing fees and, outside a tax shelter, tax, for very little gained. Once a year is what people do and it is what the big backtesting sites assume, so the figures here can be compared with theirs. Not rebalancing at all is not on the menu: whatever rises most takes over and the mix stops being the one you picked.
What it does not know
Fees, tax, and what you actually did. Nobody holds a mix for forty years without touching it, and the years that look survivable in a chart were not survivable for everybody who lived them. It also cannot tell you anything about the future: these are the prices that happened, and that is all they are.