How do I run a backtest in FYERS Automate?

How do I run a backtest in FYERS Automate?

You can run a backtest from the Automate workflow after the strategy is ready for testing. The backtest uses your selected date range, capital, and slippage value to simulate how the strategy would have performed using historical data.

Use this option before starting an automation live, especially when you want to review the trade logic, performance trend, and estimated returns.

Steps to run a backtest

On FYERS App

  1. Login to FYERS App and open Automate.
  2. Select the automation you want to test from Explore or Dashboard.
  3. Tap Backtest.
  4. Add the date range, initial capital, and slippage in Backtest Configuration.
  5. Tap Start Backtest.



On FYERS Web

  1. Login to FYERS Web and open Automate.
  2. Select the automation you want to test from Explore or Dashboard.
  3. Click Backtest.
  4. In Backtest Configuration, choose the Time Period, Initial Capital (₹) and Slippage (%).
  5. Click Start Backtest.


Once the backtest is initiated, the results are generated for the selected configuration. You can open completed results from Backtest History.

Note: Automations cannot be scheduled from the FYERS App. Backtest can be run on the app only for automations that are already scheduled. To schedule an automation, use FYERS Web.

Backtest results

After the backtest is completed, you can review the results summary, performance chart, backtest calendar, and backtested trades. You can also switch between Net View and Gross View, edit slippage, or export the tradebook as a CSV file.

Backtest results are based on historical data and selected assumptions. They do not guarantee future performance.

What if…

ScenarioSoluition
I want to change the slippage after the result is generatedUse Edit Backtest Configuration to update the slippage and view revised results.
I want to check an older backtestOpen Backtest History to view previously completed results.
I want to review the trades separatelyUse Export Tradebook to download the trade list as a CSV file.
I want to compare results before and after chargesSwitch between Gross View and Net View.
I do not see any trades in the resultThe strategy conditions may not have triggered during the selected period.


    • Related Articles

    • What is Backtest in FYERS Automate?

      Backtest in FYERS Automate helps you test an automation strategy using historical market data before running it live. It shows how the strategy would have performed in the past based on your selected time period, capital, slippage, and order ...
    • How do I edit Backtest Configuration after results are generated?

      After a backtest result is generated in FYERS Automate, you can modify only the slippage (%) value from the existing result. The result updates based on the revised slippage. For any other change, such as the time period or strategy workflow, you ...
    • Is there a limit to the number of backtests I can run?

      Yes. You can currently run up to 5 backtests per day in FYERS Automate. The daily limit applies to every backtest you start. Once you reach the limit, you must wait until it resets before you can run another backtest. Note: A backtest counts towards ...
    • Why do I need to schedule an automation before running a backtest?

      A backtest in FYERS Automate runs the strategy based on its defined execution schedule. The schedule tells the system when the automation should be active during the selected historical period. Without a schedule, the system cannot determine when the ...
    • Why does my automation need an order placement action for backtest?

      Backtest in FYERS Automate is designed to simulate how an automation strategy would have placed trades using historical market data. For this reason, the workflow must include at least one order placement action. If the automation only generates ...