Skip to content
research quant.

RESEARCH PROCESS

A reproducible quant research workflow: from hypothesis to evidence

A useful backtest leaves more than an equity curve. It leaves enough context for another researcher to reconstruct the experiment, question its assumptions, and understand the decision.

By · Published

1. Register the question before the first run

Begin with a statement that could be wrong. Specify what the signal measures, which market and period it applies to, and which observation would make you reject the idea. “Find a profitable strategy” does not tell a future reviewer what you intended to test.

Write down the planned parameter search, reference comparison, execution assumptions, and evaluation criteria. Give the experiment a stable identifier before it starts. If you change the question after inspecting the results, record that as a new research decision rather than silently rewriting the original plan.

This follows the distinction between planned and exploratory analysis described by the Center for Open Science's preregistration guidance. A registered plan makes that distinction visible; it does not make an experiment automatically valid.

2. Make each backtest reproducible

A saved strategy name is not enough. Record the code revision, exact parameters, data snapshot or checksum, date range, timezone, and engine version. Add random seeds where the procedure uses randomness. Keep the original inputs accessible to the people who will review the work.

Document when a signal becomes available and when an order can first execute. A close-based signal and an execution at that same close need an explicit, defensible explanation. Record how the engine handles missing bars, spreads, commissions, slippage, financing, and account-currency conversion.

Keep both the headline metrics and the artifacts that explain them: an equity series, orders or trades, configuration, logs, and the report. A reviewer should be able to move from a surprising drawdown to the events behind it. If a rerun differs, preserve the discrepancy and investigate which input or assumption changed.

Reproducibility and validity answer different questions. An experiment can be reproducible and still contain a consistent data leak or an unrealistic execution model.

3. Challenge the result before selecting a winner

Maintain a record of the configurations you tried, including failures and abandoned runs. Looking only at the best result hides the process that selected it. The research literature on the probability of backtest overfitting examines this selection problem; a single attractive backtest does not describe the whole search.

Use reference comparisons chosen for the hypothesis. Match the risk or exposure assumptions where the question requires it. A result produced with more leverage cannot, by itself, establish that one entry rule is more informative than another.

Separate a new candidate configuration from a scenario applied to the same configuration. For example, a higher-cost run should remain visibly linked to the baseline it challenges. Keep date windows explicit so a short favorable period is not mistaken for evidence covering the full history.

Reserve evaluation data before tuning. Once a holdout result changes your next parameter choice, that result has informed development; label the next step accordingly. Walk-forward or out-of-sample results are evidence under a particular design, not a guarantee about future market behavior.

4. Record the decision and the remaining uncertainty

Start the conclusion with the answer to the original question. Link each material claim to the relevant trial, scenario, or artifact. Distinguish an observed failure from a test that could not be completed because evidence was missing.

Keep corrections traceable. If a currency-conversion bug changes a metric, preserve the old report, attach the correction reason, and identify the replacement result. Silent overwrites make later comparisons harder to trust.

Finish with the next discriminating question: what experiment would change the interpretation? That might be an independent engine crosscheck, a more realistic cost measurement, or a decision to stop pursuing the idea. A rejected hypothesis still contributes knowledge when its reasoning remains inspectable.

A reusable experiment checklist

Attach this record to each research family. Treat missing fields as questions to resolve before interpreting the result.

Question and rejection rule
The hypothesis, planned comparisons, search budget, and conditions for rejection.
Inputs and execution
Code revision, data identity, parameters, dates, timezone, signal timing, fills, and costs.
Complete run history
Every candidate, linked scenarios, failed runs, corrections, and preserved artifacts.
Decision and limitations
A conclusion with evidence links, missing checks, and the next research question.

This is the workflow we design Research Ledger to support: register a hypothesis, retain its experiments, and connect the report to the evidence. The workspace requires sign-in; this guide is public.