ZTrader Macro & AI Notes

ZTrader Macro & AI Notes

Data Cleaning Part 4: Your Backtest Uses the Wrong Closing Price and Loses $22,571 in Dividends

$10,000 invested in the S&P 500 from 1999 to 2023 grew to $60,832 with dividends and to $38,261 without them. Does your backtest use the adjusted closing price or the raw closing price?

Dorian's avatar
Dorian
Nov 26, 2026
∙ Paid

By Dorian

Every backtest is a claim about what a strategy would have earned, and that claim is only as accurate as the price history underneath it. Traders spend weeks tuning entry rules, stop levels and position sizes, yet the price file behind those rules gets far less attention. Each stock split and each dividend forces your data vendor to rewrite yea…

User's avatar

Continue reading this post for free, courtesy of Dorian.

Or purchase a paid subscription.
© 2026 Liao Wunkai · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.