Evidence-based investing research
Value Investing Strategy (Strategy Overview)
Allocations for December 2026 (Final)
Cash TLT LQD SPY
Momentum Investing Strategy (Strategy Overview)
Allocations for December 2026 (Final)
1st ETF 2nd ETF 3rd ETF

Stock Picking in a “Fruit Fly Lab”

| | Posted in: Investing Expertise

Key Insight

Genetic programming stock-picking models outperformed traditional linear models and market indices (1990–2005; long-short quintile portfolios on S&P 500 ex-financials/utilities; 65 monthly variables per ~350 stocks).

Does a natural selection metaphor apply to stock picking models? In other words, can competition among a large set of dynamic models to mimic historical stock performance data evolve the most fit models? In their May 2006 paper entitled “Stock Selection – An Innovative Application of Genetic Programming Methodology”, Ying Becker, Peng Fei and Anna Lester address these questions by applying genetic programming to stock picking. Genetic programming enables the testing of a wide range of stock performance indicators in linear, non-linear and non-obvious combinations. The authors choose the S&P 500, excluding financials and utilities, as their universe of stocks and define two distinct types of stock-picking model fitness: (1) risk-adjusted outperformance compared to a traditional stock-picking model; and, (2) highest possible return independent of risk. They construct for comparison a traditional stock return forecasting model based on a linear combination of four composite factors: valuation, quality, analyst expectations and price. They use monthly data (65 variables for each of about 350 stocks) over the period January 1990 through December 2005 to create environments for model development and out-of-sample testing. They show that:

  • Genetic programming can evolve a stock picking model (enhanced model) that supports risk-adjusted outperformance compared to both a market index and a traditional stock-picking model.
  • Genetic programming can identify stocks with extreme future returns (aggressive model). This model, in fact, outperforms other models considered on a risk-adjusted basis. This result confirms the importance of non-linear relationships between indicators and stock returns.
  • Models developed with genetic programming are more adaptable to changing market conditions (win more consistently) than the traditional model.

The following chart, taken from the paper, shows the performance of the traditional model, the genetic programming enhanced model and the genetic programming aggressive model over the entire 16-year period. The portfolio for each model is long the top quintile of stocks and short the bottom quintile of stocks. All three models outperform a capitalization-weighted index of all stocks considered. Results show that use of genetic programming to develop stock-picking models supports outperformance of a traditional modeling approach.

model returns

The paper includes a brief overview of genetic programming methodology, which is not mechanical. The authors “used investment intuition throughout the process and chose the initial factors carefully.” They further note that “the application of genetic programming in a stock selection context is as much an art as a science.”

In summary, knowledgeable humans applying sophisticated programming techniques may be able to beat the market.

One thing this paper reinforces is that individual stock-picking investors are competing with very sophisticated, well-funded institutional “quants” (quantitative financial analysts) for excess returns.

Frequently Asked Questions

What is genetic programming and how is it used in stock picking?

Genetic programming is a computational technique that evolves a large set of competing models through a natural-selection-style process to find the fittest ones. In stock picking, it tests a wide range of stock performance indicators in linear, non-linear and non-obvious combinations to mimic historical stock performance data.

Do genetic programming stock-picking models outperform traditional linear models and the market?

Genetic programming stock-picking models outperformed both a traditional linear model and a capitalization-weighted market index in the study. Over January 1990 through December 2005, long-short quintile portfolios from the enhanced and aggressive genetic programming models beat the traditional model, and all three models beat the index. The models also won more consistently as market conditions changed.

How are genetic programming stock selection models built and tested?

Genetic programming stock selection models are built by letting many candidate models compete to fit historical stock data, using monthly data on 65 variables for about 350 S&P 500 stocks (excluding financials and utilities) from 1990 to 2005. Fitness was defined two ways: risk-adjusted outperformance versus a traditional model, or highest possible return regardless of risk. Models were developed and then tested out-of-sample, with portfolios long the top quintile and short the bottom quintile of stocks.

How does a genetic programming stock model compare to a traditional multi-factor model?

A genetic programming stock model can capture non-linear and non-obvious relationships, while the traditional comparison model was a linear combination of four composite factors: valuation, quality, analyst expectations and price. In the study, the genetic programming enhanced model delivered risk-adjusted outperformance over the traditional model, and the aggressive model, which targets stocks with extreme future returns, did best on a risk-adjusted basis. This supports the importance of non-linear relationships between indicators and returns.

What are the limitations of using genetic programming for stock selection?

Genetic programming for stock selection is not a mechanical process: the authors relied on investment intuition and carefully chosen initial factors, calling it "as much an art as a science." The results come from one universe (S&P 500 excluding financials and utilities) over a single 16-year period, 1990–2005. The findings also suggest individual investors compete with sophisticated, well-funded institutional quants.

Guru Grades

1,206 predictions by 42 market gurus since 2022: 41% right. Always saying stocks will go higher: 62%.

As of the Nov 30, 2026 close

  1. 1 Ed Yardeni A 71%
  2. Always bullish B 62%
  3. 2 Jim Paulsen B 61%
  4. 3 Sam Stovall B 58%
  5. 4 Adam Turnquist B 58%
  6. 5 Ryan Detrick B 56%

Full leaderboard ›