PART XIII · Chapter 102 · 584 / 660

Lesson 584. Adjusted prices and corporate actions: turning splits and dividends into returns

Chapter 102. Validation Hypotheses & Data Hygiene (Survivorship, Point-in-Time & Splits)

Lesson 020 showed that a stock split increases the number of shares but leaves your share of the company unchanged, and section 4 of Lesson 475 showed that you must check a price record for splits. Lesson 624 computed the total return with distributions reinvested. This lesson ties those three points together as the order of data handling in a backtest.

We give one synthetic stock a schedule of splits and dividends, and make three kinds of price for the same stock. Then we measure how the results change depending on which price is used to compute the signal and which price is used to compute the return. No real stock prices are used.

1. One synthetic stock and its corporate-action schedule

This is synthetic data made with a fixed seed. Over 1,260 periods, the total return of each period, dividends included, was drawn from a normal distribution with a mean of 0 and a standard deviation of 1.5%. Because the mean is 0, the stock is built to have no edge.

The corporate actions are assumptions. Every 63 periods the stock pays 0.5% of the previous close as a cash dividend (20 times in all), and in period 700 it splits each share into 2. The unadjusted price shown on the exchange screen moves like this.

Unadjusted price = (previous unadjusted price × (1 + total return) − that period's dividend) ÷ that period's split ratio

In an ex-dividend period the unadjusted price falls by the dividend, and in the split period it is cut in half. Neither means the shareholder's wealth fell. The dividend was received in cash, and after the split there are twice as many shares.

2. Three prices: unadjusted price, split-adjusted price, total return index

We make three price columns for the same stock. The unadjusted price is the price actually traded that day. The split-adjusted price is the past price before the split divided by the split ratio. The total return index chains the total returns, as if each dividend had been put back into the same stock on the day it was received.

In period 700 the unadjusted price changes from 185.99 to 94.18. The return for that period computed from the unadjusted price is −49.4%. For the same period, the returns of the split-adjusted price and of the total return index are both +1.27%. Without the split adjustment, a day that actually rose is recorded as a day the price halved.

A line chart of one synthetic stock's unadjusted price, split-adjusted price and total return index, each set to 1 in period 0. At the split in period 700 only the unadjusted price drops by half; the other two continue. At the end the total return index is 3.52 times, the split-adjusted price 3.18 times and the unadjusted price 1.59 times. The gap between the split-adjusted price and the total return index comes from dividends. This path rose the most of the 20 paths fixed in advance, so its level is chance; the 20-path median holding return on a total-return basis is −5.82% a year.

Computing the result of holding throughout with the three prices shows the gap plainly. The same calculation was run with 20 seeds fixed before writing (20261104-20261123). The medians of the holding annual compound return computed for each path are −19.64% with unadjusted-price returns, −7.70% with the split-adjusted price and −5.82% with total return. The unadjusted-price calculation contains the fake loss of the split. The gap between total return and the split-adjusted price comes from whether dividends were reinvested; measured path by path, this gap was 1.64-2.55 percentage points, with a median of 1.87 percentage points.

The path in figure 1 (seed 20261104) is the one that rose the most of the 20. Although it was built with a mean return of 0, its holding annual compound returns came out at unadjusted price 9.75%, split-adjusted price 26.07% and total return 28.62%. The dividend share of 2.55 percentage points was also the largest of the 20. A dividend is a fixed share of the price at the time, so the more a path rose, the larger the dividend share measured in annual compound return. The level of this path is chance and not a property of any stock. What to see in the figure is the gap created by changing only the price column on the same path.

3. A false signal made by the fake drop on the split date

We apply the same hypothetical teaching rule as Lesson 583, "if the close is above the 20-period moving average, hold for the next period; otherwise cash," to this stock. The cash return is assumed to be 0. We computed it four times, changing the price used for the signal and the price used for the return. The figure's path rose a lot, so its levels come out high; the medians of the 20 paths are shown alongside.

Signal price / return price (synthetic data) Figure path, annual compound return Figure path, maximum drawdown 20-path median annual compound return 20-path median maximum drawdown
Unadjusted / unadjusted 3.6% 54.1% −11.7% 54.7%
Unadjusted / total return 20.7% 31.1% −1.1% 31.4%
Split-adjusted / total return 19.7% 31.1% −1.5% 32.4%
Split-adjusted / price return (no dividends) 18.0% 31.5% −2.4% 33.8%

A line chart of the same moving-average rule's account around period 700, where the split occurs, for three combinations. With both signal and return from the unadjusted price, the account drops by nearly half in period 700. With only the signal from the unadjusted price, the account stays in cash in periods 701-708 and the line is flat; with the signal from the split-adjusted price, it holds in that stretch and moves up and down. After period 709 both are in cash and flat. The unadjusted / unadjusted line is lower even before the split because it leaves out dividends.

The first row is a calculation where two errors overlap. On the figure's path, the rule had set holding on the close of period 699, so the fake −49.4% of the split period entered as the rule's loss. Most of the maximum drawdown of 54.1% comes from this one period, and the median maximum drawdown of the 20 paths is a similar 54.7%.

The second row computes the return correctly but computes the signal from the unadjusted price. When the unadjusted price was cut in half in the split period, it looked as if it had fallen below the moving average, so 8 close decisions, from period 700 to 707, switched to cash. Computed from the split-adjusted price, all of those decisions would have been holding.

Because of this false signal, the annual compound return on the figure's path rose by 1.0 percentage point. That is because the total return of periods 701-708, where those decisions applied, happened to be about −4.1%; it does not mean a false signal improves results. Across the 20 seeds, the change in annual compound return caused by the false signal ranged over −1.5 to +1.1 percentage points, on both sides, and the figure path's +1.0 percentage point is the second largest of them. The false-signal stretch lasted 0-19 periods, with a median of 6.5 periods. On data built with a mean return of 0 the direction is chance; what is certain is that a rule different from the one written in the plan was computed.

The fourth row has a correct signal but uses price returns without dividends, so it is 1.7 percentage points lower than the third row on the figure path and 0.9 percentage points lower in the 20-path median. If the rule is computed with price returns and the holding benchmark with total returns, the rule looks worse, and the reverse makes holding look worse. Matching both to the same basis comes first.

4. Adjustment factors are applied backward

An adjusted price is not a number that is fixed once and for all. Every time a new dividend or split occurs, all the past prices before it are recomputed. So the adjusted price for the same day differs depending on when the table was downloaded.

This stock's unadjusted price in period 100 is 83.02. In the total-return-adjusted price table downloaded in period 650, that day's price is 79.37, and in the table downloaded in period 1,260 it is 37.74. One split and ten dividends in between lowered the past value.

So write the download date and the adjustment method (splits only, or splits and dividends) next to the data file name. Do not join files downloaded on different dates. Conditions on the price level, such as "price of $10 or more," are computed from that day's unadjusted price, not from the adjusted price (section 4 of Lesson 305).

5. Which price for the signal, which for the return

Use Price used Reason
Price-level conditions That day's unadjusted price The price actually traded at the time
Signals such as trends and moving averages Split-adjusted price (write in the plan whether dividends are adjusted) Removes the fake drop of a split
Returns of the rule and the benchmarks Total return (dividends reinvested) Does not leave out dividends
Return in the delisting month Assumed delisting return (Lesson 582) Does not erase the last loss

Other events that change the share count or the price record, such as reverse splits, stock dividends, spin-offs and large share buybacks, are handled with the same questions. How does the unadjusted price change, what is the adjustment factor, and what goes into the return?

The record for this lesson is four lines in the data box of the plan. They are the price used for the signal, the price used for the return, the adjustment method and the download date, and how the split and dividend schedule was checked.

Try it yourself

  1. In section 2, read the 20-path medians of the annual compound return of holding throughout, computed with unadjusted-price returns, the split-adjusted price and total return, and write what each of the two gaps comes from. Also write why the dividend share on the figure 1 path is larger than the median.
  2. Assumptions: the unadjusted price the day before the split is 150, the total return in the split period is +1%, there is no dividend, and each share is split into 3. Find the unadjusted price and the unadjusted-price return in the split period.
  3. Assumptions: previous close 50, dividend 0.25, close in the ex-dividend period 49.90. Find the price return and the total return.
  4. Read the first and last periods of the false signal in section 3, and write within what range after the split this error can occur.

Answers

First, the medians are unadjusted price −19.64%, split-adjusted price −7.70% and total return −5.82%. The gap between the unadjusted price and the split-adjusted price comes from one thing, the fake loss of the split period (−49.4% on the figure's path). The gap between the split-adjusted price and total return comes from whether the 20 dividends were reinvested; the median of the gap measured path by path is 1.87 percentage points. The figure 1 path is the one that rose the most of the 20, so its dividend share, which is proportional to the price, was also the largest at 2.55 percentage points.

Second, 150 × 1.01 ÷ 3 = 50.5. The unadjusted-price return is (50.5 ÷ 150 − 1) × 100 = about −66.33%, but the shareholder's actual return is +1%.

Third, the price return is (49.90 ÷ 50 − 1) × 100 = −0.2%. The total return is ((49.90 + 0.25) ÷ 50 − 1) × 100 = +0.3%. Without the dividend, a day that rose is recorded as a day that fell.

Fourth, periods 700 to 707, 8 periods. The 20-period moving average of the unadjusted price mixes in the high prices from before the split. Once 19 periods, counting the split period, have passed and the window holds only post-split prices, this error disappears. So a false signal can occur only within 19 periods from the split period, and across the 20 seeds the longest case was also 19 periods.

Data: synthetic data made by Havilah Research with a fixed seed. Seed 20261104, 1,260 periods, total return with mean 0 and standard deviation 1.5%, a dividend of 0.5% of the previous close every 63 periods (assumption), and a 2-for-1 split in period 700 (assumption). The medians and ranges in the text were computed from 20 paths with seeds fixed in advance, 20 seeds 20261104-20261123, and the prices in the figures and section 4 are from the first path (seed 20261104). No real stock prices were used.

Related lessons