AI summary · arXiv: 2404.05101v3 · q-fin.CP

StockGPT: A GenAI Model for Stock Prediction and Trading

Dat Mai
Original paper · DOI 10.3905/jfds.2025.1.202 Submitted to arXiv on 07 Apr. 2024 Published in The Journal of Financial Data Science (17 Sep. 2025) 26 pages, 3 figures, 8 tables License: CC BY 4.0

How to read this summary? Illustrated guide

The essentials

  • StockGPT is an autoregressive model trained on 70 million daily U.S. stock returns over nearly 100 years.
  • The model leverages its attention mechanism to learn hidden patterns predictive of future returns by treating return series as sequences of tokens.
  • Performance testing on a held-out sample from 2001 to 2023 showed strong results for daily and monthly rebalanced long-short portfolios formed from StockGPT predictions.
  • To address the challenge of trading hundreds of stocks daily, the paper explores using StockGPT for longer-term forecasts to construct lower frequency portfolios.
  • Two approaches are considered: generating multiple forecast paths and averaging them or training a new model specifically for predicting returns over a specific period.
  • StockGPT outperforms leading stock market factors without relying on manual price-based strategies, showcasing a novel AI pricing effect.
  • The study highlights the potential of generative AI models like StockGPT in surpassing human capabilities in making complex financial investment decisions.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: StockGPT GenAI stock prediction trading financial industry

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
The paper "StockGPT: A GenAI Model for Stock Prediction and Trading" introduces StockGPT, an autoregressive model trained on 70 million daily U.S. stock returns over nearly 100 years. The model leverages its attention mechanism to automatically learn hidden patterns predictive of future returns by treating each return series as a sequence of tokens. Performance was tested on a held-out sample from 2001 to 2023, with strong results shown for daily and monthly rebalanced long-short portfolios formed from StockGPT predictions. While the daily results demonstrate potential for robust investment performance, trading hundreds of stocks daily can be costly and challenging. To address this issue, the paper explores using StockGPT for longer-term forecasts to construct lower frequency portfolios. Two approaches are considered: generating multiple forecast paths and averaging them or training a new model specifically for predicting returns over a specific period. The study also showcases how StockGPT outperforms leading stock market factors without relying on manual price-based strategies, highlighting a novel AI pricing effect. This underscores the significant potential of generative AI models like StockGPT in surpassing human capabilities in making complex financial investment decisions. Overall, the paper demonstrates that StockGPT holds promise as a powerful tool for stock prediction and trading, offering valuable insights into leveraging AI technology in the financial industry.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 24 papers already cite it: be emailed each new one. Citation alerts guide
Who works on it?

Among the 31 papers around this one, the name that comes back most: Shan-Shan Feng (2 papers)

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Economics and finance this week" of 16 November 2026: Economics and finance this week: When incentives change the score · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close
    ChatGPT-based Investment Portfolio Selection
    Oleksandr Romanko, Akhilesh Narayan, Roy H. Kwon · 2023 · Portfolio Management · cited 48 times · AI summary available
    Abstract

    In this paper, we explore potential uses of generative AI models, such as ChatGPT, for investment portfolio selection. Trusting investment advice from Generative Pre-Trained Transformer (GPT) models is a challenge due to model "hallucinations", necessitating careful verification and validation of the output. Therefore, we take an alternative approach. We use ChatGPT to obtain a universe of stocks from S&P500 market index that are potentially attractive for investing. Subsequently, we compared various portfolio optimization strategies that utilized this AI-generated trading universe, evaluating those against quantitative portfolio optimization models as well as comparing to some of the popula…

  2. Very close
    Generative AI for Stock Selection
    Keywan Christian Rasekhschaffe · 2026 · Statistical Finance · AI summary available
    Abstract

    We study whether generative AI can automate feature discovery in U.S. 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 datasets, AI-generated features are consistently competitive with baselines, with Sharpe improvements ranging from 14% to 91% depending on dataset and configuration. Retrieval quality is pivotal: better knowledge bases materially improve outcomes. The AI-generated signals are weakly correlated with…

  3. Very close Cites this paper
    Exploring Generative AI Models for Financial Forecasting: A Case Study in Stock Market Predictions
    Saurabh Chandra, Reddaiah Kasturi, S. Vasantha et al. · 2025 · International Workshop on Artificial Intelligence and Cognition · cited 1 time · Not summarized yet
    Abstract

    The stock markets are notoriously difficult to accurately predict since they are dynamic, non-linear, and volatile. The use of generative AI for improved event and market movement prediction has recently seen a surge in attention, with a focus on GANs, VAEs, and Transformer-based model architectures. The whole research delves into the possibilities of generative AI models for stock market prediction, using a detailed case study. Our goal is to assess the forecasting capabilities of these time-series models by comparing them to cutting-edge generative methods developed using actual financial data. We demonstrate that generative models provide better prediction accuracy while simultaneously ex…

  4. Very close Cited by this paper
    Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models
    Alejandro Lopez-Lira, Yue-Hua Tang · 2023 · Social Science Research Network · cited 436 times · Not summarized yet
    Abstract

    We document the capability of large language models (LLMs) like ChatGPT to predict stock market reactions from news headlines without direct financial training. Using post-knowledge-cutoff headlines, GPT-4 captures initial market responses, achieving approximately 90% portfolio-day hit rates for the non-tradable initial reaction. GPT-4 scores also significantly predict the subsequent drift, especially for small stocks and negative news. Forecasting ability generally increases with model size, suggesting that financial reasoning is an emerging capacity of complex LLMs. Strategy returns decline as LLM adoption rises, consistent with improved price efficiency. To rationalize these findings, we …

  5. Very close Cites this paper
    Statistical Accuracy Versus Trading Utility: A Multi-Horizon Evaluation of Generative-Ai-Augmented Deep Learning on the Kse-100 Index
    Zaka Ullah Saif, S. Gillani, Anila Gulzar Toor · 2026 · International Journal of Innovative Science & Technology · Not summarized yet
    Abstract

    Forecasting financial markets is increasingly approached through deep learning, with recent work proposing generative augmentation as a means to improve predictive accuracy under the high noise and non-stationarity that characterize emerging-market equities. This study evaluates whether such accuracy gains translate into trading utility on the Karachi Stock Exchange 100 (KSE-100) index, using daily data from February 2008 to February 2024 (4,176 observations) spanning three crisis episodes. Eleven modeling configurations: Ridge regression, Random Forest, XGBoost, LSTM, GRU, BiLSTM, PatchTST, and a β-variational-autoencoder augmentation of each deep-learning backbone are compared under an ide…

  6. Close
    Real-Time Stock Trend Analysis and Investment Support Tool Using Deep Learning
    Kalyani Sanap, Neha A. Rathod, Sakshi Alone et al. · 2026 · International Journal of Innovative Science and Research Technology · Not summarized yet
    Abstract

    Financial markets' volatility, driven by economic, political, and psychological factors, complicates stock price forecasting and investment decisions. This paper proposes a real-time stock trend analysis and investment support system using a hybrid deep learning ensemble of GRU, LSTM, and Transformer models with attention mechanisms for accurate price predictions from live API data (e.g., Yahoo Finance). It integrates K-means clustering for risk-based asset categorization (stocks, mutual funds, gold, bonds), decision trees for personalized buy/hold/sell recommendations, and portfolio optimization via MPT or reinforcement learning. An interactive dashboard visualizes trends, predictions, and …

  7. Close Cites this paper
    Hybrid LSTM-Transformer Model for Stock Market Prediction: A Deep Learning Approach
    Naga Sathwik Reddy Gona, Direesh Reddy Aunugu, Vijayalaxmi Methuku et al. · 2025 · International Conference on Artificial Intelligence Testing · cited 9 times · Not summarized yet
    Abstract

    Stock market prediction is a complex and dynamic task due to the volatile nature of financial markets, influenced by economic, social, and geopolitical factors. Traditional machine learning models, including Long Short-Term Memory (LSTM) networks, have shown potential but often fall short in capturing both short-term price fluctuations and long-term dependencies. This paper proposes a novel LSTM-Transformer hybrid model that integrates the sequential modeling capabilities of LSTM with the attention-based long-range pattern recognition of Transformers. To enhance predictive performance, we incorporate key technical indicators—Relative Strength Index (RSI), Moving Average Convergence Divergenc…

  8. Close
    Integrating Generative AI into Financial Market Prediction for Improved Decision Making
    Chang Che, Zengyi Huang, Chen Li et al. · 2024 · Computational Engineering, Finance, and Science · cited 46 times · AI summary available
    Abstract

    This study provides an in-depth analysis of the model architecture and key technologies of generative artificial intelligence, combined with specific application cases, and uses conditional generative adversarial networks ( cGAN ) and time series analysis methods to simulate and predict dynamic changes in financial markets. The research results show that the cGAN model can effectively capture the complexity of financial market data, and the deviation between the prediction results and the actual market performance is minimal, showing a high degree of accuracy.

Prior work it builds on

  1. Close A method it uses
    Empirical Asset Pricing via Machine Learning
    Shihao Gu, Bryan T. Kelly, D. Xiu · 2018 · The Review of financial studies · cited 2,398 times · Not summarized yet
    Abstract

    We perform a comparative analysis of machine learning methods for the canonical problem of empirical asset pricing: measuring asset risk premiums. We demonstrate large economic gains to investors using machine learning forecasts, in some cases doubling the performance of leading regression-based strategies from the literature. We identify the best-performing methods (trees and neural networks) and trace their predictive gains to allowing nonlinear predictor interactions missed by other methods. All methods agree on the same set of dominant predictive signals, a set that includes variations on momentum, liquidity, and volatility. Authors have furnished an Internet Appendix, which is available…

  2. Close
    The Social Impact of Generative AI: An Analysis on ChatGPT
    M. Baldassarre, D. Caivano, Berenice Fernández Nieto et al. · 2023 · Conference on Information Technology for Social Good · cited 118 times · Not summarized yet
    Abstract

    In recent months, the impact of Artificial Intelligence (AI) on citizens’ lives has gained considerable public interest, driven by the emergence of Generative AI models, ChatGPT in particular. The rapid development of these models has sparked heated discussions regarding their benefits, limitations, and associated risks. Generative models hold immense promise across multiple domains, such as healthcare, finance, and education, to cite a few, presenting diverse practical applications. Nevertheless, concerns about potential adverse effects have elicited divergent perspectives, ranging from privacy risks to escalating social inequality. This paper adopts a methodology to delve into the societal…

  3. Close
    Experimental evidence on the productivity effects of generative artificial intelligence
    Shakked Noy, Whitney Zhang · 2023 · Science · cited 1,944 times · Not summarized yet
    Abstract

    We examined the productivity effects of a generative artificial intelligence (AI) technology, the assistive chatbot ChatGPT, in the context of midlevel professional writing tasks. In a preregistered online experiment, we assigned occupation-specific, incentivized writing tasks to 453 college-educated professionals and randomly exposed half of them to ChatGPT. Our results show that ChatGPT substantially raised productivity: The average time taken decreased by 40% and output quality rose by 18%. Inequality between workers decreased, and concern and excitement about AI temporarily rose. Workers exposed to ChatGPT during the experiment were 2 times as likely to report using it in their real job …

  4. Related
    BloombergGPT: A Large Language Model for Finance
    Shijie Wu, Ozan Irsoy, Steven Lu et al. · 2023 · Machine Learning · preprint, not peer reviewed · cited 1,595 times · AI summary available
    Abstract

    The use of NLP in the realm of financial technology is broad and complex, with applications ranging from sentiment analysis and named entity recognition to question answering. Large Language Models (LLMs) have been shown to be effective on a variety of tasks; however, no LLM specialized for the financial domain has been reported in literature. In this work, we present BloombergGPT, a 50 billion parameter language model that is trained on a wide range of financial data. We construct a 363 billion token dataset based on Bloomberg's extensive data sources, perhaps the largest domain-specific dataset yet, augmented with 345 billion tokens from general purpose datasets. We validate BloombergGPT o…

  5. Related
    Sentiment trading with large language models
    Kemal Kirtac, Guido Germano · 2024 · Finance Research Letters · cited 117 times · Not summarized yet
    Abstract

    We investigate the efficacy of large language models (LLMs) in sentiment analysis of U.S. financial news and their potential in predicting stock market returns. We analyze a dataset comprising 965,375 news articles that span from January 1, 2010, to June 30, 2023; we focus on the performance of various LLMs, including BERT, OPT, FINBERT, and the traditional Loughran-McDonald dictionary model, which has been a dominant methodology in the finance literature. The study documents a significant association between LLM scores and subsequent daily stock returns. Specifically, OPT, which is a GPT-3 based LLM, shows the highest accuracy in sentiment prediction with an accuracy of 74.4%, slightly ahea…

Papers that cite it

  1. Close*
    The Rise of Generative AI in Finance: A Survey of Techniques and Studies
    Shan-Shan Feng, Yi-Qiao Tan, Jordan Soh Jing Ren et al. · 2026 · Memetic Computing · Not summarized yet
  2. Related
    Opportunities and Challenges of Generative-AI in Finance
    Akshar Prabhu Desai, G. Mallya, Mohammad Luqman et al. · 2024 · BigData Congress [Services Society] · cited 22 times · Not summarized yet
    Abstract

    Gen-AI techniques are able to improve understanding of context and nuances in language modeling, translation between languages, handle large volumes of data, provide fast, low-latency responses and can be fine-tuned for various tasks and domainsIn this manuscript, we present a comprehensive overview of the applications of Gen-AI techniques in the finance domain. In particular, we present the opportunities and challenges associated with the usage of Gen-AI techniques. We also illustrate the various methodologies which can be used to train Gen-AI techniques and present the various application areas of Gen-AI technologies in the finance ecosystemTo the best of our knowledge, this work represent…

  3. Close*
    The new era in financial evolution: a review of applications of generative AI in finance
    Shan-Shan Feng, Elijah Xuan Ye Yeo, Rayner Ong et al. · 2026 · Memetic Computing · Not summarized yet
  4. Related
    A Review of Large Language Models for Stock Price Forecasting from a Hedge-Fund Perspective
    Olivia Zhang, Zhilin Zhang · 2026 · Conference on Algebraic Informatics · cited 1 time · Not summarized yet
    Abstract

    Large language models (LLMs) are increasingly deployed in quantitative finance for stock price forecasting. This review synthesizes recent applications of LLMs in this domain, including extracting sentiment from financial news and social media, analyzing financial reports and earnings-call transcripts, tokenizing or symbolizing stock price series, and constructing multi-agent trading systems. Particular attention is paid to practical pitfalls that are often understated in the literature, such as fragility in sentiment analysis, dataset and horizon design, performance evaluation metrics, data leakage, illiquidity premia, and limits of stock price predictability. Organized from a hedge-fund pe…

  5. Related
    A SURVEY ON STOCK INVESTMENT RISK ANALYSIS USING CREWAI MULTI- AGENT SYSTEM
    Chandrashekar, M. Akram, Mohin Khan et al. · 2025 · International Research Journal of Modernization in Engineering Technology and Science · cited 2 times · Not summarized yet
    Abstract

    Stock Investment risk analysis plays a crucial role in financial decision-making, demanding advanced methodologies to navigate the complexities of modern markets. Artificial Intelligence (AI), particularly multi-agent systems, has emerged as a transformative tool in addressing these challenges. This paper examines the theoretical foundations, applications, and future prospects of multi-agent AI systems in financial risk analysis, with a focus on the CrewAI framework powered by Llama 3.2-3b. By synthesizing contemporary research, the review highlights key advancements, persistent challenges, and potential directions in this evolving domain.

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 2 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.