Can LLM-based Financial Investing Strategies Outperform the Market in Long Run?

Weixian Waylon Li, Hyeonjun Kim, Mihai Cucuringu, Tiejun Ma
5/11/2025
36 citations
q-fin.TRcs.AIcs.CE

Official code: waylonli/FINSABER (152 stars, Python, Apache-2.0, last commit 2026-04-11).

Abstract

Large Language Models (LLMs) have recently been leveraged for asset pricing tasks and stock trading applications, enabling AI agents to generate investment decisions from unstructured financial data. However, most evaluations of LLM timing-based investing strategies are conducted on narrow timeframes and limited stock universes, overstating effectiveness due to survivorship and data-snooping biases.

Show full abstract

We critically assess their generalizability and robustness by proposing FINSABER, a backtesting framework evaluating timing-based strategies across longer periods and a larger universe of symbols. Systematic backtests over two decades and 100+ symbols reveal that previously reported LLM advantages deteriorate significantly under broader cross-section and over a longer-term evaluation. Our market regime analysis further demonstrates that LLM strategies are overly conservative in bull markets, underperforming passive benchmarks, and overly aggressive in bear markets, incurring heavy losses. These findings highlight the need to develop LLM strategies that are able to prioritise trend detection and regime-aware risk controls over mere scaling of framework complexity.

View on arXivView PDF

Code Implementations(1)

waylonli/FINSABEROfficial100%
Apache-2.0

Codes and data for KDD 2026 paper "Can LLM-based Financial Investing Strategies Outperform the Market in Long Run?".

15217Python, Jupyter NotebookSep 26, 20247 months agoApache-2.0

Similar Papers

Cite this paper

@article{li2025llmbased,
  title  = {Can LLM-based Financial Investing Strategies Outperform the Market in Long Run?},
  author = {Weixian Waylon Li and Hyeonjun Kim and Mihai Cucuringu and Tiejun Ma},
  year   = {2025},
  eprint = {2505.07078},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.07078v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.07078.svg)](https://codeofpaper.com/paper/2505.07078)

Discussion