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

ChatGPT as Stock Sentiment Analyst

Steve LeCompte | | Posted in: Investing Expertise, Sentiment Indicators

Guide Market Indicators Sentiment

Key Insight

ChatGPT headline sentiment scores correlated with next-day U.S. stock returns (0.23 overall; 0.65 in small stocks), and gross long-short results were strong but with large drawdowns (Oct 2021–Dec 2022; RavenPack headlines; daily portfolios; gross of costs).

Can advanced natural language processing models such as ChatGPT extract sentiment from firm news headlines that usefully predicts associated next-day stock returns? In their April 2023 paper entitled "Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models", Alejandro Lopez-Lira and Yuehua Tang test the ability of ChatGPT to predict next-day returns of individual stocks via analysis of relevant article and press release headlines from RavenPack, a leading provider of news sentiment data. They pre-process the headlines to ensure unique content and high relevance to a specific firm. They next instruct ChatGPT to designate whether each headline is good, bad or irrelevant for firm stock price, as follows:

"Forget all your previous instructions. Pretend you are a financial expert. You are
a financial expert with stock recommendation experience. Answer “YES” if good
news [+1], “NO” if bad news [-1} , or “UNKNOWN” if uncertain in the first line [0]. Then
elaborate with one short and concise sentence on the next line. Is this headline
good or bad for the stock price of _company_name_ in the _term_ term?"

They then compute a ChatGPT score for each stock in the news (averaging if there is more than one headline for a firm) and relate all stock scores to stock returns lagged by one day. They further compare predictive powers of ChatGPT sentiment scores to those provided by RavenPack. Using daily returns for a broad sample of U.S. common stocks and daily news headlines from RavenPack during October 2021 (post-training period for ChatGPT) through December 2022, they find that:

Read this study free

The rest of this study: 360 words and 1 chart.

Enter your email and we’ll send you a link to this article. 3 premium articles a month, no password or card.

Market Indicators guide

More on sentiment

  • X Stocks & Economy Timeline Sentiment Premium We asked Grok to construct a time series for the overall sentiment of posts in the Stocks & Economy Timeline on X.com. Grok first…
  • Testing a Proxy for the Goldman Sachs Panic Index Premium Claude-estimated Goldman Sachs Panic Index values (pixel-reconstructed from a chart) showed high readings (above 8) followed by 1.2% average next-week S&P 500 returns vs…
  • AI-simulated CFO Sentiment Premium GPT-5.4-simulated CFO optimism correlates with actual Duke-Federal Reserve CFO Survey responses (LLM mean 56.6 vs actual 60.1; regression coefficient over six standard errors from…
  • CFO U.S. Economic Sentiment and Stock Market Returns Premium CFO average U.S. economic sentiment shows little ability to predict S&P 500 returns; correlations with next-four-quarter returns are very weak and negative, while change…
  • How Are Sentiment-driven ETFs Doing? Premium An equal-weighted average of three sentiment ETFs (BUZZ, MOOD, NEWZ; monthly rebalanced) underperformed VTI (1.0% vs 10.7% CAGR; MaxDD -51% vs -25%; sample periods…

All 311 articles in the Market Indicators guide

Guru Grades

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

As of the Nov 20, 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 ›