All posts

Backtesting5 min read

Manual vs automated backtesting: choose by hypothesis

Compare manual and automated backtesting by speed, discretion, data quality, reproducibility, and bias—and choose a workflow that fits your hypothesis.

By TerraTrade Team

Handwritten trading test notes beside a monitor showing historical market charts

Start with the hypothesis#

Manual review and automated testing compared#

DimensionManual reviewAutomated backtest
SpeedSlower across large samples and repeated variations; useful for close inspection of a limited set of examples.Can apply encoded rules across many observations quickly. That makes broad testing easier, but also makes it easy to run many variants.
DiscretionCan accommodate context that is difficult to formalize, but judgments may vary or be influenced by what happens next on the chart. Backtesting & Simulation | CFA InstituteRequires decisions to be translated into rules. Discretion can still enter through rule design, parameter choices, data selection, and model assumptions.
Data qualityDepends on the charts and historical records reviewed. Visual inspection does not make data complete or point-in-time. Backtesting & Simulation | CFA InstituteDepends on the input data and simulation model. Historical prices alone do not establish realistic fills, costs, or market impact. Key Concepts - QuantConnect.com
ReproducibilityImproves when the sample, criteria, timestamps, and individual judgments are recorded; otherwise, another reviewer may not recreate the test.Can be stronger if code, data versions, parameters, and execution assumptions are preserved. Automation alone does not guarantee repeatability.
Common bias risksHindsight, selective interpretation, and changing criteria; repeated manual tweaking can also reuse the same history. Backtesting & Simulation | CFA Institute A Reality Check for Data Snooping - White - 2000 - Econometrica - Wiley Online LibraryData snooping, overfitting, implementation mistakes, and unrealistic fill assumptions. Both methods can inherit look-ahead or survivorship problems. A Reality Check for Data Snooping - White - 2000 - Econometrica - Wiley Online Library The probability of backtest overfitting Key Concepts - QuantConnect.com Backtesting & Simulation | CFA Institute

When manual review helps—and where it can mislead#

What automation makes easier—and what it cannot fix#

  1. Choose manual review when the question depends on context you cannot yet define precisely, or when you want to inspect a limited set of cases closely. Write down the cues you use and flag judgments that remain subjective.
  2. Choose automation when the entry, exit, and eligibility conditions can be expressed as explicit rules and you need to apply them consistently across a wider sample or compare a small, planned set of alternatives.
  3. Use a staged approach when the idea is still taking shape: manually inspect examples to clarify terms, freeze a rule set, then automate only what can be defined. Keep exploratory work separate from a later evaluation sample.
  4. If you test many variants, record the count and the changes made. Repeatedly selecting the best-looking result from the same history raises data-snooping and overfitting concerns. A Reality Check for Data Snooping - White - 2000 - Econometrica - Wiley Online Library The probability of backtest overfitting
  5. For either method, check whether the data reflect what would have been knowable at the time and whether costs and execution assumptions are plausible for the instrument and time frame. Do not treat a price-only simulation as proof of executable results.
  6. Save enough detail for another person—or your future self—to reproduce the process: sample dates, instrument and data source, rules, excluded cases, parameters, costs, software or code version, and the reason for each change.

A practical verdict

Strengths

  • ✓Manual review supports close inspection of context and can reveal where a rule is ambiguous.
  • ✓Automation applies explicit rules consistently and makes repeated calculations more manageable.

Limitations

  • —Manual review can be slow and difficult to reproduce if judgments are not recorded.
  • —Automation can amplify overfitting, implementation errors, or unrealistic simulation assumptions when testing is not controlled.

Frequently asked questions#

Is manual backtesting more accurate than automated backtesting?

Manual review can make it easier to inspect a small number of context-dependent examples. It is not automatically more accurate: hindsight, selective case inclusion, and changing criteria can affect the result.

Does an automated backtest remove researcher bias?

No. Automation can apply specified rules consistently, but the result still depends on the data, implementation, and simulation assumptions. A repeatable test can still be misspecified or overfit.

What should I record when testing several variations?

Record the number of strategies or configurations tested, the rule changes, and which data were used for exploration versus evaluation. Reusing the same history for repeated model selection can create data-snooping concerns. A Reality Check for Data Snooping - White - 2000 - Econometrica - Wiley Online Library The probability of backtest overfitting

What data problems should I check in either method?

Check that the data and test rules do not use information unavailable at the time, and review whether the historical universe and execution assumptions are appropriate. Survivorship and look-ahead bias are recognized backtesting concerns. Backtesting & Simulation | CFA Institute

Sources#

Your journal writes posts like this about you.

Connect a broker and TerraTrade turns your own trades into the findings that matter.