Skip to content
All library documents

How Corporate Actions Can Change Share Counts in Backtests

Article BigQuant

Summary

This support note explains an apparent mismatch between the number of shares bought and sold in a stock backtest. A user observed buying 300 shares of China Yangtze Power and later selling 310, and asked how to correct the discrepancy. The reply attributes the difference to the stock's July 21, 2022 ex-rights and ex-dividend event, stating that the backtest handled it through a share distribution adjustment.

The example illustrates why simulated holdings can change after corporate actions even when a strategy has not placed another order. It is useful when reconciling trade records, but the explanation is specific to one stock, date, and platform's stated adjustment treatment. The note does not show the adjustment calculation, establish whether the share figures are accurate, or explain how cash dividends and alternative corporate-action conventions are handled. Researchers should therefore check a backtest engine's adjustment rules when interpreting position histories.

Key ideas

  • A share-count difference between an entry and exit may reflect a corporate action during the holding period.
  • The cited example links the discrepancy to an ex-rights and ex-dividend event.
  • The platform reportedly represented the event as a share distribution in the backtest.
  • Corporate-action handling should be checked when reconciling simulated trades and holdings.

Tags

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