# How to Create a New Backtest?

1. **Go** **to the details page of the strategy you want to backtest and click “Create a New Backtest.”**

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FacSTnWAodvLweTXdwzXs%2F%E7%82%B9%E5%87%BB%E5%88%9B%E5%BB%BA%E6%96%B0%E7%9A%84%E5%9B%9E%E6%B5%8B%E6%8C%89%E9%92%AE.png?alt=media&#x26;token=5728b69d-40dd-453a-9d43-c112c949a08f" alt=""><figcaption></figcaption></figure>

2. **Choose the symbol you want to backtest.**

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FrQjaKtKJg2LZFry6Qdbg%2Fselect%20symbol.png?alt=media&#x26;token=c040f681-d6bb-418c-a5c5-4fd1e22575db" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FHUuyWxnpqOQ6B5YvZxQK%2Fsymbol%20search.png?alt=media&#x26;token=b545600e-2df3-492a-9575-146adb60eef4" alt=""><figcaption></figcaption></figure>

3. **Choose the Test Date Range**

* You can choose to select last 3 months, last 6 months, and last year.

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2Fu3CxRZy7amBbOHNkTSK1%2Ftest%20date%20ranges%20-%20months.png?alt=media&#x26;token=3a776752-d803-4789-af0d-9cc9ac444460" alt=""><figcaption></figcaption></figure>

* Or you can select based on crypto and macroeconomic cycles, like “Bitcoin Bullish,” to backtest the strategy during historical Bitcoin bull markets.

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FJy6SqdzIPE2s5r9tI7DQ%2Ftest%20date%20ranges%20-%20cycle.png?alt=media&#x26;token=6676c627-c537-475d-a28c-7a6334738661" alt=""><figcaption></figcaption></figure>

* You can also customize your time range:

First, input the new date range name, e.g., “2023 Consolidation Phase.”

<div align="center"><figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FNyd17tZ7UeUvws5vqybc%2Fcustom%20date%20range.png?alt=media&#x26;token=dd0d4b85-7be1-4c62-9415-fd6dc7cafb60" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FMEPaZ9DFCPrqYujdK9mM%2Finput%20the%20new%20date%20range%20name.png?alt=media&#x26;token=cc6a66c8-8154-4592-a504-ce6a27559693" alt=""><figcaption></figcaption></figure>

Then, click the red tag to select the time interval.&#x20;

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2F42VgmkfMu75LlReDEI4h%2Fclick%20red%20tag.png?alt=media&#x26;token=5ff29adb-39a1-4d36-9df1-a9a03521047f" alt=""><figcaption></figcaption></figure>

You can add a range from date X to date Y, or choose the last X (hour, day, week, month, year).

<div align="center"><figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2Fx0ZyQQWg1l7XuAF7RoTF%2Ffrom-to.png?alt=media&#x26;token=3d1f69ab-005d-467f-8313-0c4810a839d0" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FjXqEvhqH68jCtV8YfjgJ%2FlastN.png?alt=media&#x26;token=a87c705d-c9fa-4234-9f58-0f0abf5d0522" alt=""><figcaption></figcaption></figure>

4. **Confirm the Interval**

The backtest will be performed using the bar chart interval of your selection,  such as 1 hour, 1 day, or 1 week.&#x20;

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FwPS6zWXclELW7cIxEcYf%2Fselect%20interval.png?alt=media&#x26;token=31417d79-f040-421d-a06d-6b8d471fcd34" alt=""><figcaption></figcaption></figure>

5. **Advanced Settings (Optional)**

Click the button in the top right corner for advanced settings where you can modify the strategy's parameters and backtest settings.

<div align="center"><figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FfMA1ayit5y9QlrkiBmCn%2F%E9%AB%98%E7%BA%A7%E8%AE%BE%E7%BD%AE.png?alt=media&#x26;token=e885671c-6566-43d1-9071-5849bf9524ae" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FKoGc6dpM8GMKSdADLXqK%2F%E9%AB%98%E7%BA%A7%E8%AE%BE%E7%BD%AE02.png?alt=media&#x26;token=78542c7f-5f0f-426a-95e6-e72b7e298efb" alt=""><figcaption></figcaption></figure>

6. **Start Backtesting**

After setting up, click “Start Backtest.”

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FDfHAzSkYBS8jJh0yim6f%2Fstart%20backtest.png?alt=media&#x26;token=b2938f1c-0980-4229-a36f-d1a0e91e73cc" alt=""><figcaption></figcaption></figure>

You’ll then see the performance of the strategy for the custom time range you selected.

<figure><img src="https://2045169801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDS9vJOmrDctmNkM36SPX%2Fuploads%2FSLKHkUnnUUiftZt4fyUy%2Fbacktest%20result.png?alt=media&#x26;token=1603f29b-377e-4f67-b461-2c5cd0d6a0d5" alt=""><figcaption></figcaption></figure>

