Skip to main content

Journal of Investment Strategies

Risk.net

The use of generative AI for stock selection

Keywan Christian Rasekhschaffe

  • LLM-generated features improve reported Sharpe ratios by between 14% and 91% depending on data and configuration.
  • Accurate retrieval context materially improves feature quality.
  • Weak correlations with baseline signals support combining the two.
  • LLM training-data overlap remains an unresolved backtest limitation.

We study whether generative artificial intelligence (genAI) can automate feature discovery in US equities. Using large language models with retrieval-augmented generation and structured/programmatic prompting, we synthesize economically motivated features from analyst, options and price–volume data. These features are then used as inputs to a tabular machine-learning model to forecast short-horizon returns. Across multiple data sets, AI-generated features are consistently competitive with baselines, with Sharpe ratio improvements ranging from 14% to 91% depending on the data set and configuration. Retrieval quality is pivotal: better knowledge bases materially improve outcomes. The AI-generated signals are weakly correlated with traditional features, supporting combination. Overall, generative AI can meaningfully augment feature discovery when retrieval quality is controlled, producing interpretable signals while reducing manual engineering effort. The comparison covers alternative prompting routes and combinations of baseline and generated features, with separate analyses of implementation lags and trading costs. These findings are retrospective: the overlap between large language model training information and the backtest period remains a limitation, and the reported statistical tests do not rule out this source of bias.

Sorry, our subscription options are not loading right now

Please try again later. Get in touch with our customer services team if this issue persists.

New to Risk.net? View our subscription options

You need to sign in to use this feature. If you don’t have a Risk.net account, please register for a trial.

Sign in
You are currently on corporate access.

To use this feature you will need an individual account. If you have one already please sign in.

Sign in.

Alternatively you can request an individual account here