How can you tell if a backtest is trustworthy?
A backtest is a simulation, so the question to ask is what it simulated and who ran it. A curve that climbs from the lower left to the upper right tells you nothing until you know the window, the benchmark, the cost assumptions and whether anyone can look at the individual trades. Each of those can be checked, and most can be checked in a few minutes.
The numbers below come from DeployQuant's own engine. It ran 12 strategy templates on 59 ETFs from 2021-01-04 to 2026-10-02, which is 5.74 years, with $10,000 of starting cash, no margin and no fees in the headline run. Those runs give concrete examples of what a trustworthy report shows and what an untrustworthy one hides. The tests stop where the data stops: one window, daily-decision rules, filled on minute bars.
The sections go through five checks in order: the window, the benchmark, the costs, the trade list and the provenance. After that come the assumptions a report should state, a way to test whether a result can be reproduced, and the limits that remain even when every check passes. The related reading on backtesting, verified backtests and slippage covers the definitions.
Check 1: does the window include a bad year?
The first thing to look at on any backtest is the start and end date. A window that begins in a trough and ends at a peak flatters almost any long strategy. The window used here starts on 2021-01-04 and ends on 2026-10-02, and it contains 1,444 trading sessions. It also contains 2022, which was a poor year for most of what this library tests.
SPY returned 30.46% in calendar 2021, then lost 18.16% in 2022, then gained 26.18% in 2023. QQQ went 29.18%, then -32.39%, then 54.81%. If a report only showed 2023 to 2025, both funds would look like machines that compound at 20% or more. The 2022 year is what tells you how a rule behaves when the fund falls for most of twelve months.
Depth matters as well as direction. SPY fell 24.51% from its peak on 2022-01-03 to its trough on 2022-10-12, and it did not recover to the old high until 2023-12-13. The longest stretch below a prior high lasted 488 sessions. QQQ fell 35% from 2021-11-19 to 2022-11-03 and recovered on 2023-12-12, after 516 sessions underwater. A strategy that shows a maximum drawdown of 8% on a window like this either avoided the drawdown for a stated reason or was not exposed to it.
Some funds have no good years in the window at all. TLT lost 40.49% in total over the same dates. It fell 31.21% in 2022 alone and its 44.06% maximum drawdown starts on 2021-01-04, the first day of the test, with no recovery date. For a trend rule, that window is a fair test of whether it steps aside. For a buy-the-dip rule, it is a test of how long a falling fund can keep offering dips. A report on TLT that started in 2023 would show something quite different. You can see the actual numbers on the TLT page.
The window also decides which strategies look good. A trend filter looks clever across 2022 because it sits out part of the decline. The same filter looks ordinary across 2023, when the fund rises almost without pause. If the author picked the dates after seeing the results, the report has a selection problem before any trade is made. One window is also one sample. The 5.74 years here hold one bear year, one recovery, three strong years and a partial 2026. That is enough to expose obvious flaws and not enough to rank two similar rules with confidence.
What to look for: explicit start and end dates, at least one year in which the benchmark lost money, and a year-by-year table so you can see which year carried the total.
Check 2: is buy-and-hold shown on the same dates?
A strategy return means little without the return of simply owning the same fund over the same period. In this library, buy-and-hold puts 98% of the account into the fund at the first open and does nothing afterwards. The comparison is printed on every backtest page, and the gap between the two is often the entire story.
For SPY, buy-and-hold produced a 14.56% CAGR and ended at $21,820.48 from $10,000, with a 23.99% maximum drawdown and a Sharpe ratio of 0.95. For QQQ, buy-and-hold gave 16.7% a year and $24,264.64, with a 34.23% drawdown. For IWM, the small-cap fund, it gave 7.5% a year and $15,145.24, and the drawdown was 31.34%. A strategy that returned 9% a year on SPY lost to the benchmark. The same 9% on IWM beat it. The number alone cannot tell you which.
The benchmark also carries a second lesson: the same fund can show two slightly different numbers. The ETF page for SPY lists a 15.2% CAGR and a 125.29% total return for the fund itself. The buy-and-hold run, which keeps 2% of the account in cash and fills at an actual opening price, shows 14.56% and 118.2%. Neither is an error. They measure different things, and a good report says which one it uses. When you read a claim that a strategy beat the market, ask which of these the author compared against.
Buy-and-hold also shows what the strategy did to risk. TQQQ, a leveraged fund, had a 26.86% CAGR over the window and a total return of 291.92%, and its drawdown ran to 81.68% from 2021-11-19 to 2022-12-28. Buy-and-hold ended at $36,585.29 with an 80.77% maximum drawdown. A strategy built on TQQQ that returned less than that but cut the drawdown sharply may be the better design. The only way to see that trade is to have both numbers side by side. The TQQQ page lays out the fund's profile.
Across the 59 funds, the 12 templates beat buy-and-hold on a minority or a narrow majority of funds. The weekly 7% target beat it on 34 of 59, RSI(2) snapback on 34 of 59, and the monthly cycle on 14 of 59. Golden cross beat it on 27, the 200-day regime filter on 26, RSI mean reversion on 25, and EMA 12/26 trend on 22. Momentum breakout and the dip buyer beat it on 21 and 22. A report that presents one winning fund out of 59 without mentioning the others is selecting. A report that shows the count is closer to honest.
Check 3: what did trading cost?
The headline run in this library has no fees and no slippage. That is a stated assumption, and it is the most generous one available. The cost runs on each backtest page repeat the strategy with 5 and 10 basis points of slippage per fill, so the reader can see how fast the return erodes.
How much it erodes depends on how often the strategy trades. The median number of round trips across the 59 funds shows the spread: golden cross made 3, the dip buyer made 2, momentum breakout made 6, the 200-day filter made 18, the weekly 7% target made 106, RSI(2) snapback made 166. A rule that makes 3 round trips in 5.74 years barely notices a cost of 10 basis points. A rule that makes 166 pays it on every entry and every exit, and the sum comes out of every year's result. The glossary entry on slippage describes why the high-turnover rules are the most flattered by a frictionless test.
When a backtest claims a high return from hundreds of trades, check whether it discloses costs. If it does not, treat the result as a ceiling. When it does, look at the shape of the loss. A strategy whose return falls a little at 5 basis points and a lot at 10 has a thin edge per trade. A strategy whose return barely moves has an edge that is larger than the friction, at least on liquid funds.
Liquidity is the other half. SPY traded an average of $30,453,859,411 in dollars per day over the window, and QQQ $18,772,024,579. TLT traded $2,159,787,473 a day, which is still deep. Thin funds in the 59 do not look like that, and a market order in a thin fund can move the price more than a backtest assumes. The cost runs use a flat basis-point charge, so they do not capture that. When a result comes from a lightly traded fund, the cost assumption needs more scrutiny.
Two other cost items rarely appear in backtests at all: taxes and the spread at the open. The tests here fill on minute bars and apply no tax. A reader who expects to trade a taxable account should check with a tax professional, because the numbers on these pages are pre-tax.
Check 4: can you inspect individual trades?
A headline curve is a summary, and summaries hide things. The trade list is where a strategy shows whether its return came from a broad set of decisions or from two lucky ones. Every backtest page in the library lists every trade with entry and exit dates and adjusted prices, plus the year-by-year and month-by-month returns, the worst drawdowns and the longest win and loss streaks.
Three checks work on a trade list. First, count the trades. The dip buyer made a median of 2 round trips, so its total return rests on almost nothing and one bad exit would change it. RSI(2) snapback made a median of 166, which is enough to say something about average behavior. Second, look at concentration: does one trade supply most of the profit? If removing the best trade leaves a flat result, the strategy has one story and not a method. Third, read the dates. Entries clustered in the first weeks of 2023 or after the 2025 selloff tell you the return came from catching a rebound, and you can then ask whether the rule would have done that without hindsight.
The trade list is also where lookahead bugs show up. A buy filled at the day's low, or an exit at the exact high, means the simulation used information that did not exist at the decision time. In this library, rules decide on daily data and orders fill on minute bars, with prices adjusted for splits and dividends. The adjusted prices are lower than the quotes printed at the time, so they should be read as adjusted prices and not matched against old charts.
The product also logs the reason for every trade. Each decision is recorded with the prices and indicator values the strategy saw at that moment, which means a surprising fill can be traced back to the rule that caused it. A report that offers only an equity curve and a CAGR asks you to trust the whole calculation. A report with the list allows a spot-check of five trades against a chart in ten minutes.
Mean-reversion rules show why the list matters. RSI(14) on SPY dropped below 30 on only 18 sessions in the window, and the median 5-day forward return after those sessions was 3.74% against a baseline of 0.42%. With 18 observations, a few clustered dates carry most of that edge. On TQQQ, 18 sessions gave a median 5-day forward return of 10.3%. On UVXY, 116 sessions below 30 had a median 5-day return of -1.79%. The same rule, three different outcomes, and the sample size changes how much any of it should be trusted.
Check 5: who ran the backtest?
The fifth check is provenance. A backtest an author runs on their own machine, with their own data, window and starting capital, can be right and still be unverifiable. The author chooses the flattering start date, adjusts a parameter after seeing the curve, and reports the version that worked. None of that needs bad intent. It is what happens when one person tests 50 variations and publishes the best one.
A neutral engine removes the choices that cause this. In this library every strategy runs on the same data, over the same window, from the same $10,000. The 12 templates have fixed parameters, and each page also reports parameter variants, so the reader sees whether a neighbouring value fails. On the community side, every published strategy carries a backtest the platform ran itself, on the same data and engine and with the same starting capital for everyone, and authors cannot supply their own numbers. The verified backtest page explains the idea. Verification makes numbers comparable. It does not make a strategy good.
Provenance also covers the engine. DQengine, the engine under DeployQuant, is source-available and installs with pip, and it is the same code the hosted platform runs. A published engine means a skeptical reader can run the same strategy on the same data. The documented example, a weekly TQQQ strategy, prints 520 fills and an end equity of $13,603.38 from $1,000, over 2021-01-04 to 2026-06-09. That figure comes from the product reference, and it can be reproduced with free Alpaca keys. A number that anyone can regenerate carries more weight than one that has to be taken on faith.
Parameter variants are the other piece of provenance. Overfitting means tuning a rule until it memorizes the past. A strategy that works at an RSI threshold of 30 and fails at 28 and 32 has found noise. The question of how to avoid this has its own answer in how to avoid overfitting a backtest, and the practical test is to look at the variant table on a backtest page and see whether results move smoothly or jump.
Assumptions a trustworthy report states
A backtest that passes the five checks still needs its assumptions written down. These are the ones that change the numbers the most.
- Starting capital. All results here start from $10,000. A strategy sized for a much larger account looks different at $1,000.
- Data resolution. The engine uses minute-resolution consolidated US market data. Daily bars hide the order of the high and the low inside a day, which matters for any rule with a stop and a target.
- Execution timing. Rules decide on daily data, and orders fill on minute bars. A rule that decides on today's close and fills at today's close has an advantage that live trading cannot match.
- Leverage. These runs use no margin. A result that quietly uses margin has a larger drawdown than its headline shows.
- Dividends and splits. Prices are adjusted, so a trade list does not match the raw quotes of the day.
- Costs. The headline has none. The 5 and 10 basis point runs show the sensitivity.
Where a report is silent on one of these, assume the answer favours the strategy. That is a conservative default for a reader, and it costs nothing to apply.
Survivorship is a separate assumption. The 59 funds in this library are a fixed list. A fund that closed during the window would be missing from any such list, and the list would then look better than the real record. Leveraged and volatility products show how severe this can be: UVXY lost 99.94% over the window, with a 72.83% negative CAGR, and buy-and-hold on $10,000 ended at $215.70. Products like that are the ones that disappear, and a test that left them out would report a cleaner world than the one traders faced. The UVXY page shows the fund in full.
A reproducibility test you can run
The simplest test of a backtest is to ask it a question it did not choose. Pick a different window, a different fund or a different parameter, and see whether the story survives.
Take the 200-day regime filter. On SPY, price closed above its 200-day average on 77.99% of sessions and crossed it 30 times. On QQQ the share was 75.18% with 20 crossings, on IWM there were 34 crossings, and on TLT the share was 35.18% with 95 crossings. Those crossing counts predict how the rule will behave: many crossings on a fund that is not trending means many small losses. If a report says the filter worked on TLT, the crossing count is the first thing to check, because a choppy fund generates false signals.
Try the same exercise with the 200-day regime filter and the golden cross. Both are trend rules, and both appear on all 59 funds, with median CAGRs of 1.84% and 2.05% and median drawdowns of 22.16% and 21.84%. If one of them looks dramatically better on a single fund, compare it with the median. A single fund that stands out among 59 is partly selection, and the median tells you what the rule does when nobody picks.
Month-of-year effects work the same way. SPY averaged -2.21% in September and 4.01% in November across the window, with six observations for September and five for November. Those are averages of five or six numbers. A strategy built on calendar effects, like the monthly cycle, has to be judged against that sample size. It beat buy-and-hold on 14 of 59 funds, with a median drawdown of 36.63% and a median CAGR of 5.46%.
A fair reproduction attempt takes about 20 minutes. Re-run with a second window, change one parameter by a small step, and add the 5 and 10 basis point costs. If the CAGR collapses at any of the three, the original number was fragile. If it moves smoothly, the rule has some stability, at least inside this one history.
What a trustworthy backtest still cannot tell you
Passing all five checks makes a backtest honest. It does not make it a forecast. Several limits remain in every report on this site, and they remain in anyone else's.
The sample is one history. The window holds 1,444 sessions and one real bear market. A rule that survived 2022 may not survive a decline of a different shape. The 2022 drop was slow, and rules that wait for a signal before selling handle slow declines better than fast ones. SPY's Mondays averaged 0.14% and Tuesdays 0.01%, and those figures describe this window and no other.
Regimes change. The first-order autocorrelation of SPY's daily return was -0.02, and QQQ's was -0.04, which means yesterday's move told you almost nothing about today's. That is a property of this sample. A rule built on persistence or reversal needs the property to hold, and a backtest cannot ensure it.
Live trading adds frictions that simulations compress: partial fills, rejected orders, spreads that widen at the open and halts. The three brokers DeployQuant supports, Alpaca, Webull and Schwab, differ in order types and time-in-force options, and a rule that assumes an order type the broker lacks will behave differently live. Paper trading on the live feed closes part of that gap before real money is involved, though a paper fill is still a simulated fill.
For these reasons, the right reading of a good backtest is an upper bound on what the rule could have done, under stated assumptions, on one history. Nothing here is investment advice, and backtests are hypothetical.
If you want to test a report yourself, the cheapest start is to take a template, change one parameter and see whether the answer holds. The momentum breakout template has a median CAGR of 0% across the 59 funds, the 3-month momentum rule also sits at 0%, and the RSI mean reversion rule sits at 2.98%. Those medians are a reminder of how ordinary most simple rules are once the whole universe is counted, and how much a single hand-picked fund can mislead.
Frequently asked questions
What is the first thing to check in a backtest?
The window. Read the start and end dates and check that the period contains at least one losing year for the benchmark. In this library the window runs from 2021-01-04 to 2026-10-02 and includes 2022, when SPY lost 18.16% and QQQ lost 32.39%.
Why does buy-and-hold need to appear on a backtest?
It shows what owning the same fund over the same dates returned, so you can see whether the strategy added anything. SPY buy-and-hold ended at $21,820.48 from $10,000 with a 23.99% drawdown. A 9% annual return beats that benchmark on IWM, where buy-and-hold was 7.5%, and loses to it on SPY.
How much do trading costs change a backtest?
It depends on trade count. The median golden cross run makes 3 round trips and barely notices a 10 basis point charge. The median RSI(2) snapback run makes 166 round trips and pays the charge on every entry and exit. Each backtest page here shows runs at 5 and 10 basis points next to the no-cost headline.
Is a backtest run by the strategy's author reliable?
It can be accurate, but the reader cannot confirm it. The author picks the window, the starting capital and the parameters. A platform-run backtest uses the same data, engine and capital for everyone. The [verified backtest](/learn/answers/what-is-a-verified-backtest/) answer covers how that works on DeployQuant.
Can I rely on one great result on a single fund?
Not by itself. Across 59 funds the best fund for a rule is partly luck. Compare it with the median: the weekly 7% target has a median CAGR of 6.61% and beat buy-and-hold on 34 of 59 funds, and the monthly cycle beat it on 14. The median and the count show what the rule does when nobody picks the winner.
Does a passing backtest predict live results?
No. It describes one history under stated assumptions, and live trading adds partial fills, spreads and order restrictions. Treat the result as an upper bound. Paper trading on live data is a way to test the rule before real money, though paper fills are also simulated.
How can I tell whether a backtest is overfit?
Look at parameter variants and trade count. A rule that works at one setting and fails at its neighbours has fit noise. A rule with 2 round trips has too little data to judge. The [overfitting answer](/learn/answers/avoid-overfitting-backtest/) lists the defences in order of value.
Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.
Terms used here
Related questions
Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.