QTrader
Menu

Check whether a backtest is useful

Record assumptions, separate development from evaluation and inspect data leakage and small-sample limitations.

Before you start

A backtest is useful when another person can reconstruct what was tested and which assumptions were used. A high historical return alone does not establish robustness. QTrader provides a simulation and inspection tools; it does not automatically perform a complete out-of-sample research process for you.

Follow the workflow

  1. Write the entry and exit rules before evaluating the result. Record the market, history window, timeframe, data inputs and costs.
  2. Separate development dates from a later evaluation window. Do not repeatedly choose parameters using the window you call independent.
  3. Inspect whether any input contains information unavailable at decision time. Historical LLM prompts need an additional leakage check.
  4. Compare the individual trades and drawdown with a simple baseline. Count how many variants you tried, not only the winner.
  5. Repeat with reasonable cost and window changes. Explain changed results rather than replacing the original assumptions silently.

Worked example

Use one period to select an SMA parameter pair, then keep those parameters fixed for a different available period. Record both results and the settings. This is a manual evaluation workflow, not an automatic statistical guarantee or a promise that either period will be profitable.

Open the working example

Limits and interpretation

Past data cannot reproduce every live liquidity, delay or financing condition. More trials increase the chance of selecting a lucky result. A short or different market sample can invalidate a broad comparison. For LLMs, a historical-window answer can see later bars in that supplied window; read the separate LLM evaluation guide.

The interactive workbench needs JavaScript. Reload this page if interactive controls could not load.