What is a Backtest? — AI Glossary

What it is: Replaying a trading strategy over past data to see how it would have done.
Who it is for: Anyone evaluating an automated or AI-driven trading tool.
Best if: You want to know whether a strategy has ever worked before risking money.
Skip if: You want live performance. A backtest is history, not a forecast. Want one practical AI workflow every morning? Subscribe to our free daily newsletter.

What is a backtest?

A backtest runs a set of trading rules over historical price data and records every trade the rules would have taken. You get a win rate, an average gain, an average loss and a worst-case loss.

It answers one question: if I had followed these rules, what would have happened?

Why does backtesting matter?

It is the cheapest way to reject a bad idea. Most strategies that sound sensible fall apart the moment you check them against real prices, and finding that out costs nothing.

It is also the step people skip. A tool that grades a strategy well has not tested it, it has estimated it.

Where backtests mislead you

A backtest on the same data the strategy was built from will almost always look good, because the rules were shaped by that data. This is the single most common way people fool themselves.

Small samples lie too. Thirty trades across ten years is three a year, and a win rate from that few trades carries an error bar wide enough to cover both success and failure.

Backtests also tend to assume zero trading costs. Add a realistic commission and spread and a thin edge can disappear.

Related terms

Learn more on Beginners in AI

Sources and further reading

Last reviewed: August 2026. AI terminology evolves quickly — verify specifics on the official source pages above.

Get Smarter About AI Every Morning

Free daily newsletter — one term, one tool, one tip. Plain English.

Free forever. Unsubscribe anytime.

You may also like

Two ways to go further

The AI Prompt Library

1,000+ ready-to-use prompts for Claude, ChatGPT, and Gemini. Stop staring at a blank box.

Get it for $39 →

2-Hour Live AI Crash Course

A private, beginner-friendly session across Claude, ChatGPT, Gemini, and the wider landscape.

Book for $125 →