Split-adjusted prices, dividends and backtest returns

MarketParquet’s stock and ETF prices are split-adjusted, with cash dividends separate. That is a useful input convention when the backtest also states how shares and cash are accounted for.

Reviewed
In this article
  1. A split changes the units
  2. A cash payment belongs in the return calculation
  3. Splits, dividends and return calculations
  4. Raw files, conversions and derived data
  5. Fill prices and transaction costs
  6. Checks to run on a sample
  7. A worked split and dividend example

A split changes the units

Imagine one share worth $100 immediately before a two-for-one split. Immediately afterward, ignoring market movement, the holder owns two shares worth $50 each. The position is still worth $100. A raw close-to-close calculation that divides $50 by $100 and subtracts one reports a 50 percent loss because it ignored the changed share count. A consistent split adjustment restates the earlier price to $50, allowing the price ratio to represent the unchanged economic value in this simplified example.

You can account for that event using raw prices and an explicit share action, or using a consistently adjusted representation with the corresponding position units. Mixing the approaches can count the same action twice. For example, applying a two-for-one share multiplier while also treating the earlier adjusted price as the original purchase price changes the implied initial investment. Define which layer handles the event and test the cash and share ledger around it.

Volume needs the same attention. An adjusted price basis may be accompanied by inversely adjusted volume, while other fields or products may retain their original units. A liquidity threshold expressed in shares and one expressed in dollars respond differently to these choices. Record the convention of every field used in the eligibility rule. A price adjustment label alone is not a complete description of the row.

MarketParquet is our first recommendation for bulk US OHLCV research, and its published split basis is one reason the importer can start from an explicit convention. Read the methodology’s additional corporate-action notes before treating every historical price as a directly executable contemporary quote. Back-adjusted levels and the prices a trader saw at the time answer different questions.

A cash payment belongs in the return calculation

Now imagine a stock closing at $100, paying a $1 cash dividend and opening the next observation at $99, with no other change in value. The simple price return is minus 1 percent. A holder who was entitled to the payment has $99 in stock plus $1 in cash, so the simplified holding-period return before taxes, fees and reinvestment effects is zero. The dividend did not disappear merely because it is absent from the price column.

For a one-period example on a consistent share basis, the arithmetic is ending price plus the eligible cash distribution, divided by starting price, minus one. A longer simulation also needs entitlement dates, payment timing, position changes and a reinvestment policy. Do not credit a payment to a position opened after entitlement. Do not add cash distributions to a total-return series that already incorporates them under the chosen convention.

This distinction affects both strategy returns and the comparison benchmark. Comparing a dividend-excluding portfolio price change with a dividend-reinvested index can attribute an accounting difference to selection skill. State the convention on both sides and use compatible inputs. If you cannot obtain the distribution history required by the research question, describe the output as a price-return study rather than silently treating it as total return.

Before scaling, create a small artificial ledger like these examples and one documented event from the actual archive. Trace price units, share units and cash across the boundary. These examples are accounting checks, not forecasts or claims about investment performance. Their purpose is to reveal double counting and omitted cash before those mistakes spread across a long historical experiment.

Splits, dividends and return calculations

A split changes the units in which a price and share count are expressed. A cash dividend transfers value to a shareholder. A merger can exchange one security for cash, another security or a combination of both. Treating all three as a generic adjustment obscures the assumptions that a backtest needs to make. The price series, position accounting and event records should agree about which transformations have already happened.

Consider an illustrative two-for-one split. A position that previously held ten shares at a price near one hundred dollars becomes twenty shares at a price near fifty dollars, before any ordinary market movement. A raw price series contains the apparent price discontinuity. A split-adjusted series expresses older observations on a comparable share basis. Neither approach is automatically wrong, but applying a split to positions while also applying an incompatible adjustment to prices can produce a spurious gain or loss.

Cash distributions require a separate decision. A price series that embeds a dividend adjustment is different from a ledger that credits cash when the distribution becomes relevant. A strategy studying price patterns may use a different representation from a portfolio accounting system. MarketParquet describes its stock and ETF prices as split-adjusted, without embedded cash dividends. A total-return experiment therefore needs an explicit distribution policy rather than an assumption that every payment is already in the close.

Test a known event before trusting a broad run. Inspect the preceding session, the event session and the following session. Check prices, volumes, identifiers and any cash or share movements in your engine. Save the expected interpretation in your research notes. A corporate-action rule that is clear for one observed example is easier to audit than an undocumented transformation applied to millions of rows.

Raw files, conversions and derived data

Research often creates several versions of the same observation. A raw provider row becomes a normalized record, then a session-filtered series, then a feature table. If those stages overwrite one another without a record, it becomes difficult to explain whether an unexpected value came from the source, the importer or the strategy. Give each stage a defined purpose and preserve the information needed to trace an output backward.

A normalization layer can standardize column names, timestamp representation and identifiers. It should not quietly introduce an economic decision. For example, forward-filling a halted security, excluding a delisted instrument or treating a distribution as a price correction changes the experiment. Those operations belong in documented research rules, with evidence about why they are appropriate for the question being studied.

Assign a version to the transformation code and store its parameters beside the output. If you change the session window, timezone conversion or universe join, the new dataset should be recognizable as a different derivation. Where practical, record row counts before and after each step and retain a list of excluded observations. Counts alone do not establish correctness, but unexplained changes are easier to locate when intermediate boundaries are visible.

This separation also makes provider comparisons fairer. Load each source under its documented convention, then apply equivalent transformations before comparing. Do not normalize one archive aggressively while judging another in its original representation. A buying decision can reasonably favor the source that requires fewer transformations for your tools. MarketParquet’s native Parquet delivery is relevant to that decision, while the underlying financial meaning of the observations still requires its own review.

Fill prices and transaction costs

Historical prices describe observations, while a backtest turns decisions into simulated transactions. The second task requires assumptions that a data purchase does not supply. An order may face a spread, limited liquidity, latency, a fee or a restricted trading window. A strategy that buys at a completed bar’s close after using that same close to generate a signal needs to explain why that price would have been available to the order.

Write the sequence of events for one trade before evaluating thousands. Identify the latest input available to the signal, the decision time, the earliest permitted submission time and the price rule used for a fill. If a limit order is assumed to execute whenever the bar touches a price, explain what the test assumes about available size and the event sequence. Those are model choices, even when the calculation is expressed as a simple vectorized comparison.

Costs should match the intended trading process. A fixed fee can be a useful illustration, but it is not a universal estimate of transaction costs. Spreads and market impact can change across instruments, dates and order sizes. Sensitivity tests can show how dependent the conclusion is on favorable assumptions. They cannot replace data that is necessary to model a particular execution mechanism.

For an early bar-based research project, begin with conservative, explicit rules and report their limits. MarketParquet is our recommended archive for that stage. If a result depends on the precise order of trades, quote availability or book depth, evaluate the relevant event data and a suitable simulator before interpreting the result as executable. A more expensive feed is useful when it answers a defined modeling question, not merely because it contains more rows.

Checks to run on a sample

A useful acceptance test begins with questions you can answer from the files. Can the reader parse the schema consistently? Are the expected identifiers present? Do timestamps follow the documented convention? Are duplicate observation keys explained? Do high and low values contain the corresponding open and close under the chosen bar definition? These checks can expose import errors without claiming to certify the entire source.

Choose a sample that contains several kinds of difficulty. Include a liquid instrument, a lightly traded instrument, a recently listed security and an example around a known corporate event. Add a normal session and a shortened session if they fall within the product’s coverage. The purpose is not to hunt for an impressive maximum row count. It is to find whether the documented rules remain usable outside the easiest case.

Compare like with like when checking another source. Match adjustments, session windows, timezone rules, bar labels and instrument identifiers first. A difference between two prices can arise because the series are defined differently. Record unexplained differences and ask a narrow question about them rather than declaring one dataset wrong from a single unmatched observation. Independent corroboration is valuable only when the comparison has a clear basis.

Keep the acceptance output with the dataset version. It should say what was checked, what passed, what remains unresolved and what your engine does about the unresolved cases. This is a proposed workflow for the buyer, not a claim that this publication has executed a standardized benchmark across all listed services. Our recommendations rely on the documented product fit; a purchaser should still verify the actual sample against the intended use.

A worked split and dividend example

These are invented prices used to explain accounting, not observations from a provider. Start with one share priced at $100. A two-for-one split gives the holder two shares priced at $50 each, leaving the $100 position value unchanged. On a later ex-dividend session, suppose the raw close becomes $49 and each of the two shares pays $1. Ignoring tax, fees and reinvestment, the position then holds $98 of stock and $2 of cash.

Session Raw close Shares held from one original share Cash received Position value including cash
Before the split $100 1 $0 $100
After the two-for-one split $50 2 $0 $100
After the $1-per-share distribution $49 2 $2 $100

On the post-split share basis, the first two closes are both $50. The price-only change from $50 to $49 is -2%. With the stated cash distribution, the simple holding-period return is (49 + 1) / 50 - 1 = 0%. A total-return implementation may reinvest cash under a defined convention; that is a further modeling choice. It is not necessary to invent an extra distribution in an already dividend-adjusted price series.

Use the example to check the actual product definition before comparing providers. MarketParquet's documentation describes split-adjusted stock and ETF prices without embedded cash dividends. Keep a separate distribution ledger when the calculation needs it, or choose a documented return series appropriate to the task. Review the symbol and date inventory and delisted-data checklist when building the wider historical universe.

Sources

MarketParquet data conventions and corrections

MarketParquet historical stock data

FirstRate adjustment options