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

# Strategy simulator: replay a strategy on past orders

> Replay any strategy over the last 12 months of your orders, compare revenue and margin with and without it line by line, and share the result before launch.

The **Strategy simulator** shows what a strategy would have done to your recent business before it changes a price. It prices each past order line in the strategy's scope twice, once with the strategy and once without, on the same engine that serves live prices, and compares both with what actually sold. Nothing goes live and nothing is written to your provider.

Open it from **Strategy** > **Strategy simulator**.

## Who can use it

* The simulator is part of the Trial, Scale and Enterprise plans. On other plans the page shows **Replay strategies before they go live** with the plan options.
* Your role needs **View** on **Strategies & simulator** and must see cost and financial figures.
* Running a replay needs **Edit** on **Strategies & simulator**. Sharing a result needs **View**.

## Run a replay

**1. Pick a strategy**

Under **Choose a strategy**, pick any strategy that is not archived, including drafts.

**2. Run**

Select **Run simulation**. The progress shows **{x} of {y} lines scanned**.

**3. Read the verdict**

**THE VERDICT** states how the strategy moves revenue and margin against not running it, across the lines it prices.

**4. Inspect lines**

Select **Open all {n} lines** to see each line priced without and with the strategy, and open a line for its full price build-up and the guardrails that moved it.

If your workspace has no strategies yet, select **Replay an example** to create an inactive example strategy, **Raise prices 5%**, and replay it.

## How a replay works

| Price | What it is |
| - | - |
| **Without** | Today's live pricing version. |
| **With** | Today's live pricing version with this strategy added. |
| **Booked** | The net amount recorded on the original lines. |

* The window is the 12 months up to today in the workspace time zone. Invoices are used when there are any in the window, otherwise orders.
* Each line is priced at its recorded quantity.
* A replay prices up to 200,000 lines. With more lines in scope, it takes a representative sample with an equal share per month.
* A replay stops after 300 seconds. If it stops before every line is priced, the result shows **Partial coverage**.
* Lines with unknown margin are left out of revenue and margin.

> [!NOTE]
>
> An invented example. A strategy raises prices 5% on a category. Across 1,200 replayed lines, revenue without it was 400,000.00 and with it 412,000.00. The verdict reads that the strategy moves revenue +3.0% versus not running it. Lines the strategy does not price are the same in both columns.

## Read the results

| Element | Meaning |
| - | - |
| Coverage | **Every line in the window priced**, **Representative sample** or **Partial coverage**, with counts of lines processed, with unknown margin, not priced, out of scope and without an exchange rate. |
| **REPLAY WIN RATE** | The share of comparable past deals that were won, from resolved quote lines for the same SKU, else the same category, within 2 markup points, over 12 months. A rate is shown from 20 comparable deals. |
| Currency cards | One per currency: **WITH STRATEGY**, **WITHOUT IT** and **BOOKED**. |
| Band | Where each new price lands against past outcomes: **Within** accepted prices, **Contested** between accepted and rejected prices, or **Above** rejected prices. |

When the strategy or the order history changes after a run, the result shows **Strategy or history changed. Run the replay again.**

## Share a result

After a run, the share menu offers **Copy link**, **Copy summary**, **Download PDF report**, **Export lines** (CSV), **Send to Slack** and **Email to team**.

## When a replay fails

| Message | What to do |
| - | - |
| **Matched 0 lines. The scope didn’t overlap your recent orders, so every price is the same with and without it. Widen the scope and run again.** | Widen the strategy's scope. |
| **The time budget was reached before any line completed. Run the replay again.** | Run again. |
| **No lines could be replayed. Review the stored history and exclusions, then try again.** | Check the order sync on [Integrations](/docs/integrations/overview.md). |
| **Too many replay requests. Try again shortly.** | Wait, then run again. |
| **Pricing is unavailable. Complete pricing setup and try again.** | Publish a pricing policy first. |
| **The workspace currency is unavailable. Complete workspace setup and try again.** | Set the workspace currency. |
| **The PDF cannot show some characters in this simulation. Export the lines as CSV instead.** | Use **Export lines**. |

> [card] [Scope, rules and limits](/docs/strategy/strategy-rules.md)
>
> Adjust the strategy you replayed.

> [card] [Roll-out and activation](/docs/strategy/strategy-rollout.md)
>
> Take the strategy live in shadow or at 10%.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.