Day 16 — The adjusted close is a derived series, not a price

Saturday, 22 August 2026 · Week 3 of 52 · Markets · Study day · 60 min

Nothing that follows works if you do not know what the vendor did to the history, and the adjustment is the single most common silent error in retail-grade backtests.

What you should be able to do tonight

  • State the arithmetic a vendor performs on the whole history when a dividend is paid, and what that does to the level of prices ten years ago.
  • Name two analyses that adjusted prices silently break, and say what you would use instead for each.

Tasks 60 min

35 min Reconstruct the adjustment yourself. From the unadjusted SPY closes plus the dividend and split history, build your own back-adjusted series and check it matches yfinance’s auto_adjust=True close to within rounding. When it does not match, the discrepancy is the interesting part.

15 min Now break it deliberately: compute the number of shares 10,000 dollars would have bought in 2005 using the adjusted series, and using the unadjusted series. One of those numbers is meaningless. Say which and why, in two sentences in the notebook.

10 min Add to the glossary: the two analyses adjusted prices break. Dollar volume and any price-level rule such as a 5 dollar minimum are the two to name.

Resources

Deliverable

notebooks/day-016-adjustment.ipynb with your own back-adjusted series reconciled against the vendor’s, and the residual explained.

Checkpoint

Your screen requires a share price above 5 dollars. Run on adjusted history, what does that screen actually select, and in which direction is it biased?

Prepare for tomorrow

Ten minutes tonight so Day 17, Sunday, 23 August 2026 starts clean. This is what the evening email sends you.

Pick three corporate actions to look at tomorrow and find their dates: the Apple 2020 split, one spinoff you have heard of, and one ticker change.

Pull the raw unadjusted price series around each of those three dates and save them.

Skim the DuckDB documentation front page for ten minutes. You start building on it in four days.