Short answer

Build the investable universe as it existed on each signal date and account for companies that were later acquired, delisted or bankrupt. Today's stock list is an outcome of history.

Build the universe before evaluating the signals

Record a dated roster and security identifiers rather than today’s ticker alone. Keep historical membership and effective dates separately from trading prices. Include cash or stock consideration for acquisitions and use the data vendor’s documented delisting treatment. A vanished price series needs an investigation into the final economic outcome. Dropping it automatically favors the survivors.

Worked example or comparison
Basis Evidence or calculation
Worked example or comparison Hypothetical equal-weight two-stock portfolio. One returns +40%, the other −100%. Including both gives −30%; keeping only the surviving winner reports +40%.

Frequently asked question

Can I use today's S&P 500 members for a historical S&P 500 test?

You can test that fixed list as a separate retrospective exercise. A historical index strategy requires date-appropriate membership.

Source

Primary reference · spglobal.com

Related guide

Testing to see if a stock signal was based on "unavailability" of information.