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

# Simulation and Live Runs

> Test a strategy safely, then understand what changes when a run can use real funds.

Miramarket gives you two ways to run a strategy. **Simulate** runs the strategy without placing real trades. **Run Live** can use real funds when its conditions trigger.

<img src="https://mintcdn.com/miramarket/cPFL_KT0dlShiQlC/images/tutorial/run-options.png?fit=max&auto=format&n=cPFL_KT0dlShiQlC&q=85&s=19412c73ca295222096b479cbc49d20f" alt="Run menu with Simulate and Run Live shown" data-path="images/tutorial/run-options.png" />

## Simulation

Use **Simulate** before you use **Run Live**. It validates the strategy, saves a simulation version, and starts a simulated run without placing real trades.

Before you start, review:

* The market and named outcome.
* The selected `YES` or `NO` side.
* Each condition and its threshold or timing.
* Each action and its allocation.

Simulation follows the settings you supplied. It can reveal an incomplete or invalid strategy, but it cannot decide whether those settings match your trading idea.

## Run Live

Use **Run Live** only when you are ready to use real funds. The run menu keeps **Run Live** unavailable until you connect a wallet.

Before a live run starts, Miramarket asks you to confirm. Live trades do not necessarily happen immediately; they can execute when the strategy conditions trigger.

## Connect wallet

Use **Connect** in the top bar when you are ready to sign in with a wallet. Connecting a wallet does not start a live run.

<img src="https://mintcdn.com/miramarket/cPFL_KT0dlShiQlC/images/tutorial/top-bar-run-simulation-connect.png?fit=max&auto=format&n=cPFL_KT0dlShiQlC&q=85&s=739623e7cb8d0fe88beab58f79d86727" alt="Top bar with Simulate and Connect shown" data-path="images/tutorial/top-bar-run-simulation-connect.png" />

Connecting a wallet does not mean you should run live immediately. Review the strategy first.

## Safe workflow

1. Build the strategy.
2. Check every market, side, condition, and allocation.
3. Run a simulation.
4. Review the result and revise the strategy if needed.
5. Read the [live-run checklist](/strategy-builder/validation).
6. Connect a wallet.
7. Use **Run Live** only if you accept the risk.

## When not to run live

Do not run live if:

* You do not understand the market.
* You are unsure whether `YES` or `NO` is correct.
* The price, close time, or active recurring window looks wrong.
* You have not tested with **Simulate**.
* You are not comfortable losing funds.

## While a run is active

The builder locks the canvas while an active run is in progress. Review the run before you make changes to future steps or start another run.
