# Trading simulator

## What is Trading Simulator?

Trading Simulator is a specially designed trading tool that allows emulating the execution of orders for any connection, including those that do not allow trading.

For whom it will be useful? For any trader - from beginner to pros, trading in with any type of instrument. For example, crypto traders who do not have real accounts on a crypto exchange can trade in the demo mode on the selected crypto exchange.

![General view of Trading Simulator panel](https://3544171604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvquTYs4Kw8odYPu7JS%2F-LvqvlZAGmY-zeltmwwG%2F-Lvqvois9c1yK3GZiGXF%2Ftrading-simulator.png?generation=1576100913421591\&alt=media)

## How to start trading simulation?

* Launch the **Trading Simulator** from the Control Center. The panel is located in the *Trading* category.
* Add desired symbols on which the trading simulation will take place.
* Set the initial balance for trading accounts, execution delay, type of netting for selected symbols, and commission size.&#x20;
* Run the simulation by clicking the "**Start**" button. The status of the panel changes to ***Simulation is active.***
* Open required panels for analysis and trading. On the header of each panel which participates in the trading simulation, shows the corresponding inscription — **Simulator**.

![You can open panels that linked to the simulation process ](https://3544171604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvquTYs4Kw8odYPu7JS%2F-LvqvlZAGmY-zeltmwwG%2F-LvqvoiuqNYPn2obqfj0%2Fselect-the-panel-from-trading-simulator.png?generation=1576100910008686\&alt=media)

{% hint style="warning" %}
"**Stop**" button will abort the simulation process as well as cancel all positions and orders.
{% endhint %}

## General settings

In the general settings, you can set the initial balance for the test account, set the delay in execution, and configure the settings of netting for each instrument.

![General settings for accounts and symbols](https://3544171604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvquTYs4Kw8odYPu7JS%2F-LvqvlZAGmY-zeltmwwG%2F-Lvqvoiwj2wIBUE_D6Xg%2Fsettings-for-trading-simulator.png?generation=1576100917895534\&alt=media)

* **Initial balance** — the amount of money for the test account.

{% hint style="info" %}
Trading Simulator creates separate trading accounts for each base currency of the instrument. For example, if you chose EUR / USD currency pair, then the account name will be **Account (USD)**, if you select EUR / JPY, then the name will be **Account (JPY)** respectively.
{% endhint %}

* **Execution Delay** — the length of time between the acceptance of an order and its execution. In the real market, this parameter affects on the slippage.  There are 3 options for the delay: *Range*, *Fix* and *None* (instant execution).

![General settings for symbols in Trading Simulator](https://3544171604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvquTYs4Kw8odYPu7JS%2F-LvqvlZAGmY-zeltmwwG%2F-LvqvoiyjRuxIFPTYSzX%2Fsettings-for-symbols.png?generation=1576100911504814\&alt=media)

* **Netting type** — methods by which to summarize existing and new positions. There are 3 types of nettings: **One Position**, **Multiple Per Side**, **Multiple Positions**. Examples of using each method you can find in the description of the [History Player panel settings](https://help.optimusflow.qtower.app/trading-panels/history-player#general-and-instruments-settings).
