Articles ·

Backtest audit, part 1: the simulator, the indicators and the warm-up

Backtest audit, part 1: the simulator, the indicators and the warm-up

The backtest is the core of Metrand: it is what a strategy is judged by before it trades money, and soon it will be open to your own tools and agents through the API. So we went through it brick by brick, with one standard: the exchange, not our own live code, decides what is right. Where a rule flattered a strategy, we replaced it with the one that costs it; where the engine guessed in silence, it now says so in the report or refuses the request.

This is the first part. It covers the simulator, the indicators and rules, and the warm-up.

The simulator

Full rules: How a Metrand backtest fills orders inside a bar.

What it did to results: on the martingale ladder we measured across ten coins, yearly returns moved by between −2 and +4 percentage points.

Martingale basket Before After
2021 +8.4% +12.1%
2022 +36.6% +34.7%
2023 +22.2% +22.0%
2024 +21.7% +20.8%
2025 −64.7% −65.7%
Last 12 months (Oct 2025 – Sep 2026) −86.7% −87.4%
Paired bars of the martingale basket’s yearly returns before and after the simulator changes, from +8.4% and +12.1% in 2021 to −86.7% and −87.4% over the last 12 months.
Yearly returns of the martingale basket before and after the simulator changes.

A liquidation on BCHUSDT in May 2021 that an earlier version of the engine reported turned out, on 1-minute candles, not to have happened.

Indicators and rules

Full rules: Indicators and rules.

Warm-up before the window

Full rules: A backtest warms up the way a live run does.

Every backtest now runs the strategy over the history a live run warms on — 1,000 bars, or a week of candles for range bars — before its window, and trades from the window's first bar. Comparisons, periods, baskets, the optimizer and the template showcases all do the same.

Next

Part 2 covers the data a backtest is given: strict candle validation, funding coverage, each market's own lot rules, leverage tiers and maintenance margin per venue, multi-market strategies stamped by bar close, and maker offsets in price ticks as a live run places them.