> For the complete documentation index, see [llms.txt](https://docs.bigbeluga.org/llms.txt).
> Markdown versions of documentation pages are available by appending `.md` to page URLs; this page
> is available as [Markdown](https://docs.bigbeluga.org/toolkits-pro-plus/strategy-builder-pro/backtest-window.md).

# Backtest Window

Testing a strategy on every bar it has ever seen mixes bull markets, crashes and quiet ranges into one
average that describes nothing.

<div data-with-frame="true"><figure><img src="/assets/pro-plus-strategy-builder-backtest-window.png" alt=""><figcaption>Limiting the strategy to a custom backtest window from the input settings</figcaption></figure></div>

The backtest window restricts the strategy to a specific historical period, so you can isolate a
market regime and judge the rules inside it.

## How it works

Enable the limit and set a start and end date. Only trades and signals that fall inside that window
are executed by the engine.

Everything outside the window is ignored, including the entry and exit conditions — the strategy does
not carry a position into or out of the period.

## What it is useful for

- **Regime testing:** run the same rules over a trending year and over a range-bound one.
- **Forward-walk validation:** tune on the first half of a sample and test on the second half.
- **Performance isolation:** exclude unusual events that distort the average.
- **Computation load:** large symbol histories evaluate faster when the engine only walks a window.

{% hint style="info" %}
When you shorten the window the sample size drops quickly. A period that only contains a dozen trades
cannot tell you whether the rules work — check the dashboard for the closed trade count before drawing
conclusions.
{% endhint %}

## Settings

| Settings              | Description                                                    |
| --------------------- | -------------------------------------------------------------- |
| Limit backtest window | Enable the custom start and end dates.                         |
| Start                 | First date and time included in the backtest.                  |
| End                   | Last date and time included in the backtest.                    |
