Weightfolio

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.

The short answer

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.

Your mix Total 100%

Hold this mix and watch it live →

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.

More like this