Skip to content
All library documents

Adjusted Closing Prices, Dividend Reinvestment, and Lookahead Bias

Article Quant Q&A · Author: lagrange103

Summary

The document considers whether adjusted historical closing prices create lookahead bias when used to label stocks by future returns or in backtests. Its central point is that returns calculated from adjusted closes can represent a portfolio that reinvests dividends and accounts for stock splits, so the adjustment itself is not necessarily a source of bias when analyzing returns rather than absolute price levels.

That interpretation depends on the assumed trading process. Dividend reinvestment means buying additional shares at the price on the final cum-dividend date, and may not match a strategy that does not reinvest or cannot trade fractional shares. The answers note that splits and dividends are generally announced in advance, making the reinvestment assumption plausible in some settings, but small dividend amounts and share granularity can limit it. The document offers a conceptual explanation rather than an empirical test, and suitability depends on the strategy and the return series being modeled.

Key ideas

  • Adjusted prices can represent returns from holding shares while reinvesting dividends and accounting for splits.
  • Using adjusted prices is generally reasonable for returns, but may mislead when absolute historical price levels matter.
  • Dividend reinvestment is a backtesting assumption about when and how cash distributions are invested.
  • Fractional-share restrictions and small dividend amounts can make modeled reinvestment impractical.

Tags

Full text
# Does using adjusted closing prices constitute a lookahead bias?


# Does using adjusted closing prices constitute a lookahead bias?












One of my machine learning project involves the use of adjusted close prices (from Yahoo Finance, for better or worse) to determine the label – if a stock's adjusted close price increases by more than 10% in the subsequent year, it is labelled as a '1', otherwise it is a '0'.

I have been trying to make the backtests more rigorous, and one aspect of this involves a careful inspection to remove common pitfalls like the lookahead bias.

I would not have thought that using adjusted closes is a problem (in fact it seems like a necessity), but calculating the adjusted close does involve "data from the future", in the sense that the adjusted close price in 2010 has been adjusted for future splits/dividends.

## Answer by Brian B (score 8, accepted)

https://quant.stackexchange.com/a/40057

To elaborate and emphasize a bit on what @Antoine says, using adjusted prices will be reasonable from a returns point of view, with dividends reinvested.

That point, dividend reinvestment, is important because dividend reinvestment itself is a backtesting assumption, namely that dividends could be and would have been invested at the price you have in your database for the final cum-dividend date. You might well regard this as unsuitable for your particular strategy.

Note that because splits and dividends are usually known in advance, the fact of reinvestment itself is pretty realistic, because you would have known ahead of time how much dollar value to buy.

Reinvestment does bring up granularity issues. It's fine when investments are in the thousands of shares, but you can't trade fractional shares. Small dividends can't really be reinvested.

## Answer by Antoine Conze (score 4)

https://quant.stackexchange.com/a/40050

As long as you are working with returns and not absolute prices it should not be a problem, since the return on adjusted close prices is the same as the return on a portfolio made up of 1 share at inception and with splits/dividends reinvested in additional shares in the portfolio on the ex div dates.

Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.