Table of Contents
Fetching ...

StockGPT: A GenAI Model for Stock Prediction and Trading

Dat Mai

TL;DR

The StockGPT-based portfolios span momentum and long-/short-term reversals, reducing the need for manually crafted price-based strategies, and yield sizable alphas against leading stock market factors, suggesting a novel AI pricing effect.

Abstract

This paper introduces StockGPT, an autoregressive ``number'' model trained and tested on 70 million daily U.S.\ stock returns over nearly 100 years. Treating each return series as a sequence of tokens, StockGPT automatically learns the hidden patterns predictive of future returns via its attention mechanism. On a held-out test sample from 2001 to 2023, daily and monthly rebalanced long-short portfolios formed from StockGPT predictions yield strong performance. The StockGPT-based portfolios span momentum and long-/short-term reversals, eliminating the need for manually crafted price-based strategies, and yield highly significant alphas against leading stock market factors, suggesting a novel AI pricing effect. This highlights the immense promise of generative AI in surpassing human in making complex financial investment decisions.

StockGPT: A GenAI Model for Stock Prediction and Trading

TL;DR

The StockGPT-based portfolios span momentum and long-/short-term reversals, reducing the need for manually crafted price-based strategies, and yield sizable alphas against leading stock market factors, suggesting a novel AI pricing effect.

Abstract

This paper introduces StockGPT, an autoregressive ``number'' model trained and tested on 70 million daily U.S.\ stock returns over nearly 100 years. Treating each return series as a sequence of tokens, StockGPT automatically learns the hidden patterns predictive of future returns via its attention mechanism. On a held-out test sample from 2001 to 2023, daily and monthly rebalanced long-short portfolios formed from StockGPT predictions yield strong performance. The StockGPT-based portfolios span momentum and long-/short-term reversals, eliminating the need for manually crafted price-based strategies, and yield highly significant alphas against leading stock market factors, suggesting a novel AI pricing effect. This highlights the immense promise of generative AI in surpassing human in making complex financial investment decisions.
Paper Structure (16 sections, 8 equations, 3 figures, 8 tables)

This paper contains 16 sections, 8 equations, 3 figures, 8 tables.

Figures (3)

  • Figure 6.1: StockGPT Architecture
  • Figure 6.2: Daily Cumulative Returns
  • Figure 6.3: Monthly Cumulative Returns