Library

AI in quantitative finance: the ten mistakes, and how to check your work

AI can help with quant work: it writes code fast, reads text at scale, and fits patterns no person could. It also makes the oldest mistakes in quant finance faster and harder to see. This guide lists ten of them, what published research says about each, and how to check your own work. Where we make a claim of our own, we ran the test and show the code.

Education only, not advice. Past results, ours included, do not show what a strategy will do next.

Start here

The ten mistakes

1. "The chatbot showed me the backtest, so it works."

A chatbot without data and a tool to run code cannot backtest anything. In our own test of 24 requests, the model refused to invent figures every time, but another test caught a chatbot making numbers up[1]. Even working code is a draft until you run it on data you can name. Our 24-run test.

2. "My model is 80% accurate."

Accuracy that high on daily prices almost always means a leak: an input that sees the future, a shuffled split, or a trade credited with the move that made its signal. In our runs one centred moving average lifted accuracy from 52.7% to 82.3%. Five leaks, measured on four markets.

3. "I tested many ideas and kept the best one."

The best of many random tries always looks good. Bailey, Borwein, López de Prado and Zhu show that with 5 years of data, trying more than about 45 independent versions makes an annualised Sharpe ratio of 1 likely from luck alone[8]. The deflated Sharpe ratio charges for every try[7]. Harvey, Liu and Zhu argue a new finding needs a t-statistic above 3.0, not 2.0, because so many have been tested[9]. A flat "halve the Sharpe ratio" rule is not enough either: Harvey and Liu show the right cut depends on the Sharpe ratio and the number of tests[10]. Check your own count.

4. "The forecast line follows the price almost perfectly."

Predicting tomorrow's price as today's price scores an R² near 1 on price levels, in every market we tried, and is useless for trading. Judge a model on returns or direction, after costs, against that do-nothing forecast. The price-level illusion.

5. "Machine learning should find big, obvious edges."

Where machine learning does help, the edges are small. Gu, Kelly and Xiu found trees and neural networks beat older regression models on US stocks, with monthly stock-level R² of 0.33% to 0.40%, and large economic gains from those small numbers[2]. Claims that bigger models simply find more have been challenged: Nagel shows that one such model's forecasts reduce to a volatility-timed momentum strategy[13].

6. "LLM sentiment predicts returns, so it is free money."

Lopez-Lira and Tang found that GPT-4 scores of news headlines predicted stock returns over the next one to two days. Their own paper also reports that a strategy trading on them is unprofitable at 20 basis points of round-trip cost, and that its Sharpe ratio fell from 6.54 in the last quarter of 2021 to 1.22 over January to May 2024, which they read as a sign of fading predictability as these models spread[3]. Novy-Marx and Velikov find that trading costs reduce the profit of every anomaly strategy they test, and that few high-turnover ones stay significant after costs[14].

7. "The model forecast last year's market correctly."

A language model may simply remember last year. Lopez-Lira, Tang and Zhu found models recall exact economic and financial figures from before their training cutoff, and none after it, and that telling them to ignore what they know does not stop it[4]. Glasserman and Lin, and Sarkar and Vafa, show ways to test for this look-ahead bias[5][6]. Test only on dates after the model's cutoff. Models also extrapolate recent returns the way people do[11].

8. "It worked for two years, so it will keep working."

Markets change. A study of language-model investing strategies over two decades and more than 100 stocks found earlier reported advantages "deteriorate significantly"; the strategies were too cautious in rising markets and too aggressive in falling ones[12]. In our chatbot test, every Bitcoin strategy did worse in the second half of the history than in the first.

9. "An AI agent can trade for me while I sleep."

An agent acts on its own outputs, so its mistakes compound with no one watching. Nof1, the team that runs Alpha Arena, a public contest in which language models trade, writes that "the current generation of LLMs are shockingly bad at navigating financial markets"[16]. Of its research agents, Man Group writes: "we don't expect this to act as a replacement for human researchers"[15]. If you experiment with one, give it hard limits it cannot change: maximum position, maximum daily loss, a cap on trades per hour, a kill switch, and paper trading first.

10. "It says AI-powered, so it must be better."

Regulators have acted against firms that overstated their AI. In 2024 the US SEC charged two investment advisers over false claims about using AI[17]. ESMA has told EU firms that use AI to stay accountable for it[18], and SEBI has set rules for algorithmic trading by retail investors in India[19]. Ask any product for its method, its live record and its costs.

A safe way to use AI in quant research

  1. Write the test before the idea. Fix the data, the dates you will hold back, the costs and the number of versions you are allowed, before you look at results.
  2. Let AI draft, then read every line. Look first for the shift between signal and return, the split, and any window that is not trailing.
  3. Run the cut-the-data test on code you did not write (the code).
  4. Count every version and charge for them (the check).
  5. Use a language model only on dates after its training cutoff when it reads text or prices.
  6. Paper trade before anything else, with hard limits the code cannot change.

Go deeper in the library

Sources

  1. Quantpedia. Can We Finally Use ChatGPT as a Quantitative Analyst? quantpedia.com
  2. Gu, S., Kelly, B. and Xiu, D. (2020). Empirical Asset Pricing via Machine Learning. Review of Financial Studies 33(5). dachxiu.chicagobooth.edu
  3. Lopez-Lira, A. and Tang, Y. Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models. arXiv 2304.07619 (version 6, 2025). arxiv.org
  4. Lopez-Lira, A., Tang, Y. and Zhu, M. (2025). The Memorization Problem: Can We Trust LLMs' Economic Forecasts? arXiv 2504.14765. arxiv.org
  5. Glasserman, P. and Lin, C. (2023). Assessing Look-Ahead Bias in Stock Return Predictions Generated By GPT Sentiment Analysis. arXiv 2309.17322. arxiv.org
  6. Sarkar, S. K. and Vafa, K. (2024). Lookahead Bias in Pretrained Language Models. Working paper. conference.nber.org
  7. Bailey, D. H. and López de Prado, M. (2014). The Deflated Sharpe Ratio: Correcting for Selection Bias, Backtest Overfitting and Non-Normality. Journal of Portfolio Management. www.davidhbailey.com
  8. Bailey, D. H., Borwein, J., López de Prado, M. and Zhu, Q. J. (2014). Pseudo-Mathematics and Financial Charlatanism. Notices of the AMS 61(5). carmamaths.org
  9. Harvey, C. R., Liu, Y. and Zhu, H. (2016). ...and the Cross-Section of Expected Returns. Review of Financial Studies 29(1). people.duke.edu
  10. Harvey, C. R. and Liu, Y. (2015). Backtesting. Journal of Portfolio Management 41(1). people.duke.edu
  11. Chen, S., Green, T. C., Gulen, H. and Zhou, D. (2024). What Does ChatGPT Make of Historical Stock Returns? Extrapolation and Miscalibration in LLM Stock Return Forecasts. arXiv 2409.11540. arxiv.org
  12. Li, W. W., Kim, H., Cucuringu, M. and Ma, T. Can LLM-based Financial Investing Strategies Outperform the Market in Long Run? arXiv 2505.07078 (KDD 2026). arxiv.org
  13. Nagel, S. (2025). Seemingly Virtuous Complexity in Return Prediction. NBER Working Paper 34104. www.nber.org
  14. Novy-Marx, R. and Velikov, M. (2016). A Taxonomy of Anomalies and Their Trading Costs. Review of Financial Studies 29(1). www.nber.org
  15. Korgaonkar, R. (2025). The Big Picture: The Innovation Imperative. Man Group, 25 November 2025. www.man.com
  16. Nof1. Alpha Arena (home page, read 2026-11-08). nof1.ai
  17. U.S. Securities and Exchange Commission (2024). Press release 2024-36: charges against two investment advisers over false statements about their use of AI. www.sec.gov
  18. ESMA (2024). Public Statement on the use of Artificial Intelligence in the provision of retail investment services. ESMA35-335435667-5924. www.esma.europa.eu
  19. SEBI (2025). Circular: Safer participation of retail investors in Algorithmic trading, 4 February 2025. www.sebi.gov.in

Fine print: sources read on 2026-11-08. Our own figures come from runs of the same day, described on each page. Firms and regulators are named only as the authors of what they published: none has any link to Thuztra. Education only, not advice. Past results, ours included, do not show what a strategy will do next.

Learn quant finance on Thuztra Learn

Thuztra Learn teaches the maths of quant finance from zero, in short lessons, for readers who are unsure of it. Three questions in the app build your quant roadmap, free. Membership is a paid subscription. See what Thuztra Learn is and what it costs, or see the whole Core quant curriculum.

Get the app and answer the three questions:

Download on the Microsoft Store Download for Android

On Android, the app is a direct download, not a Google Play listing. Which devices, and what each one needs.

Also in the library