> ## Documentation Index
> Fetch the complete documentation index at: https://docs.askfutures.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Version and compare

> Every edit creates a version. Step through them on the strategy card, compare their backtest results, and revert by continuing from an older one.

Every time you edit a strategy, AskFutures saves a **new version** — the old one
stays exactly as it was, backtest and all. So you can step back through your
history, line up the numbers, and pick the version you actually want. Nothing you
tried is ever lost.

<Note>
  Editing is non-destructive. *"Add a 1.5× ATR stop,"* *"make it longs only,"*
  *"switch to 5-minute bars"* — each becomes a fresh version built from the
  current one, not an overwrite. See
  [sessions, versions and artifacts](/concepts/sessions-versions-artifacts).
</Note>

## How a version chain builds up

Each strategy is a chain of versions, newest at the tip. When you ask for a
change, AskFutures branches a new version off the latest one.

```mermaid theme={null}
flowchart LR
  V1["v1<br/>base idea"] --> V2["v2<br/>added ATR stop"]
  V2 --> V3["v3<br/>longs only"]
  V3 --> V4["v4<br/>5-min bars"]
```

## Step through versions

The strategy card shows which version you're viewing and lets you move through the
chain. Step back to any earlier version to see its exact rules and its own backtest
results — nothing recomputes, because each version keeps the numbers it ran with.

<Frame caption="The version selector on the strategy card: step back and forth through every saved edit.">
  <img src="https://mintcdn.com/askfutures-e66ce91a/vMCNWxZcO7WVTzjA/images/version-nav.png?fit=max&auto=format&n=vMCNWxZcO7WVTzjA&q=85&s=25d958bc5a3b26c0c9eb94fc902ff014" alt="The AskFutures strategy card version navigator" width="1472" height="862" data-path="images/version-nav.png" />
</Frame>

<Tip>
  Not sure what changed between two versions? Ask in chat — *"what's different
  between v2 and v3?"* — and AskFutures will spell out the edit.
</Tip>

## Compare metrics across versions

Because a backtest is pinned to the **exact version** it ran on, comparing is
apples to apples — you never see numbers from one set of rules sitting next to a
different set by accident.

<Steps>
  <Step title="Run a backtest on each version you want to compare">
    Every version carries its own results. If an older version was never
    backtested over the window you care about, re-run it so both share the same
    period.
  </Step>

  <Step title="Line up the headline metrics">
    Put the versions side by side and read across — total P\&L, average P\&L per
    trade, win rate, max drawdown, number of trades. Ask AskFutures to summarise
    the comparison if you'd rather read it in plain English.
  </Step>

  <Step title="Judge the change, not just the score">
    A higher total P\&L from far fewer trades is a different bet than a steadier
    edge across many. Look at drawdown and trade count, not only the top-line
    number.
  </Step>
</Steps>

<Warning>
  Backtest results are **hypothetical and simulated**, net of modeled slippage and
  commission. A version that looks better on past data may not be better next.
  Past performance does not guarantee future results. Always test before you trade.
</Warning>

## Compare apples to apples

<Info>
  The engine is [deterministic](/concepts/is-the-backtest-real), so the same
  version over the same data always reproduces the same numbers. One caveat: the
  market data refreshes daily, so re-running a relative period like *"last 1
  year"* can include newer bars. To compare two versions cleanly, run both over
  the **same explicit date window**.
</Info>

## Revert by continuing from an older version

There's no destructive "undo" — and you don't need one. To go back, just **step
to the version you liked and continue from there.** Your next edit branches a new
version off that older one; the versions you're leaving behind stay untouched, so
nothing is lost either way.

<AccordionGroup>
  <Accordion title="An edit made things worse — how do I get back?" icon="arrow-left">
    Step back to the version before the edit and keep working from it. The new
    version you create branches off the good one; the worse version stays in the
    chain but out of your way.
  </Accordion>

  <Accordion title="Will reverting delete the versions I'm skipping?" icon="shield-check">
    No. Continuing from an older version is non-destructive — every version stays
    exactly as it was, including its backtest results. You can always step forward
    again.
  </Accordion>

  <Accordion title="Does 'version' mean the AskFutures release?" icon="circle-question">
    No. Here, *version* always means a saved snapshot of **your** strategy in its
    edit chain (v1 → v2 → v3). It has nothing to do with the product release or
    any internal engine version.
  </Accordion>
</AccordionGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Sessions, versions & artifacts" icon="code-branch" href="/concepts/sessions-versions-artifacts" />

  <Card title="Iterate & refine" icon="arrows-rotate" href="/guides/iterate-and-refine" />

  <Card title="Optimize a strategy" icon="gauge-high" href="/guides/optimize-a-strategy" />

  <Card title="Is the backtest real?" icon="shield-check" href="/concepts/is-the-backtest-real" />
</CardGroup>
