TL;DR
When you ask a Large Language Model (LLM) to forecast the stock market, does it actually predict the future, or just chase yesterday’s news? By testing five LLMs prospectively on the Nasdaq-100 after their release dates—eliminating any chance of memorization—this paper shows that LLMs behave like classic trend-chasing investors. They extrapolate recent daily returns, rely on a fixed, two-day memory regardless of how much history you give them, and fail to beat a simple random-walk or buy-and-hold benchmark.
What Problem Does This Paper Address?
LLMs are increasingly used as simulated investors, sentiment scorers, and financial forecasters. However, evaluating their forecasting skill is notoriously tricky: if you test an LLM on historical market data, it may have already memorized the prices and headlines during pretraining. Simply prompting a model to "forget" the future or masking company names doesn't reliably prevent recall. Without a truly look-ahead-free test, we cannot tell whether an LLM is genuinely forecasting or just remembering—nor can we cleanly measure how it maps a raw price history into market expectations.
Methods
To solve the memorization problem by construction, the authors ran a prospective daily test using five budget-tier LLMs—GPT-5 mini, Gemini 2.5 Flash, Qwen3-235B Instruct, DeepSeek-V3.1, and GLM-4.5-Air—all publicly released before the test window began. Every trading day, each model received only the prices up to that day and returned point forecasts and 80% prediction intervals ($p_{10}$ and $p_{90}$) for 1, 5, and 21 trading days ahead.
The authors varied two experimental factors:
- History window: 5, 20, or 60 trading days of closing prices.
- Framing:
masked(anonymized as "Asset A" rebased to 100, no dates),named(the real Nasdaq-100 index with dates), ornews(named, plus time-gated search tools over a local news archive cut off at 16:00 ET).
To guarantee zero data leakage, the harness enforced time boundaries in code and ran a scramble test before every live run: all future prices and news were randomized, and the system verified that the prompt and tool outputs remained byte-identical.
Datasets
- Price Data: Daily closing prices for the Nasdaq-100 (NDX) from FRED, covering 310 trading days from September 2, 2025, to November 23, 2026. Over this period, the index rose 12.8% overall but experienced three notable drawdowns of −12.1%, −11.3%, and −19.8%.
- News Data: A local SQLite full-text index of 110,418 news items (headlines and summaries) from the Massive ticker-news API, strictly time-gated to prevent future articles from influencing search rankings.
- Forecasts: 32,527 valid parsed forecasts across 45 model–framing–window cells.
Key Insights and Ideas
- LLMs are short-term trend chasers: Just like surveyed human investors, LLMs extrapolate recent returns—but on a much shorter timescale. A 1% up day raises the median 21-day forecast by 2.3% when the model sees five days of history, even though actual market returns showed no continuation.
- More context does not lengthen memory: You might expect an LLM given 60 days of prices to look further back than one given 5 days. Instead, the weights on past returns decay with a median half-life of just 1.8 trading days, and this half-life does not grow with the window (median elasticity −0.007). Showing more history simply dilutes the weight on the latest return rather than extending the model's memory.
- Intervals are textbook rules in the wrong place: Rather than estimating a true predictive distribution, reasoning-enabled models essentially compute the sample volatility ($\sigma_W$) of the visible window and apply the textbook normal-distribution rule ($\pm 1.28 \sigma_W \sqrt{h}$). Because they center this interval on their extrapolated point forecast rather than zero, their intervals systematically miss the mark.
- Window length trades speed for noise: Short 5-day windows react quickly to market peaks, turning bearish a median of 5 trading days after a peak, but they overreact to everyday noise. Long 60-day windows damp the noise but turn bearish much too late—a median of 21 days after a peak, and sometimes not until after the trough.
Key Results
- Extrapolation: At the 1-day horizon, forecast returns loaded positively on the latest daily return in 41 of 45 cells (39 statistically significant), whereas the realized market coefficient was −0.083. Forecast errors were predictable from the latest return in 34 of 45 cells.
- Interval Calibration: Stated 80% intervals covered only 67%, 60%, and 57% of realized outcomes at the 1-, 5-, and 21-day horizons. None of the 135 model-horizon cells beat a simple zero-centered volatility interval on the interval score.
- Forecasting & Trading: Out-of-sample $R^2$ against a no-change (random-walk) forecast was negative in 43 of 45 one-day cells (median −0.08) and in every longer-horizon cell. Directional accuracy was indistinguishable from a coin flip (median hit rate 51.6%). Long–short trading rules based on the forecasts failed to beat buy-and-hold (10.3% annualized return, 0.55 Sharpe ratio) once sampling error, a 5-basis-point transaction cost, or a 1-day execution lag were accounted for.
Limitations and Future Work
- Single path and budget models: The study evaluates one upward-drifting index over 15 months using five budget-tier models, where model family, reasoning mode, and inference provider are not orthogonally crossed.
- News and trading assumptions: The news archive contains only headlines and summaries, and one model (GLM-4.5-Air) had host-side tool-call failures on its forced first search. Trading rules also assumed execution at the same-day close.
- Future directions: Extending this look-ahead-free protocol to other asset classes, prolonged bear markets, flagship reasoning models, and human forecasters given the exact same interface would test how broadly these extrapolative habits hold.
Summary updated