> For the complete documentation index, see [llms.txt](https://guide.laevitas.ch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.laevitas.ch/guides/tool-guides/strategy-backtester.md).

# Strategy Backtester

### Inputs

<figure><img src="/files/3I2WtETFXrtFZVJtcnt8" alt=""><figcaption></figcaption></figure>

***Currency***\
Choose the asset you want to backtest. Currently only BTC and ETH is available.

***Frequency***\
Choose the frequency which the option strategies will be opened and closed. Each new strategy will open after the previous one is closed.

***Year To Date***\
Backtest from the start of the current year.

***No. of Trades***\
Input the number of trades to be backtested.

***Starting Capital***\
Select the type of starting capital and input the amount of starting capital.\
NOTE: If $ is selected, the Backtester will assume Portfolio as USD-margined and settled instead of the crypto asset.

### **Strategies**

Select one of the option strategy icons to start backtest.

<figure><img src="/files/wLHSWtuZhGutMbKBjy4A" alt=""><figcaption></figcaption></figure>

### Strategy Leg Input

Select the Direction, Type, Delta and Size of the individual legs.&#x20;

For certain strategies, the Direction and Type of the legs is pre-fixed and cannot be changed.

<figure><img src="/files/NLtSGHACEJdH7BUjdphU" alt=""><figcaption></figcaption></figure>

## Backtest Results

Results are presented in 3 sections.

### 1. Portfolio Equity Curve

The performance of the strategy is shown as Portfolio Value, in terms of the underlying asset (BTC/ ETH) or in USD. \
\
The Index Price may be toggled into the chart display against the portfolio performance.

<figure><img src="/files/X2rPcIAOYiyc8FXu679p" alt=""><figcaption><p>Portfolio Equity Curve</p></figcaption></figure>

### 2. P/L Stats

More details of the porfolio performance is shown here.

<figure><img src="/files/NigvmiCtbrMqix6enBtZ" alt=""><figcaption></figcaption></figure>

### 3. Trade Log

Settled and Unsettled Positions are tabled here with their respective P/L and resulting Portfolio Value effect.

<figure><img src="/files/ch3sae0EWz797DuziPX1" alt=""><figcaption></figcaption></figure>
