How are orders and prices matched in FYERS Automate Backtest?
Backtest on FYERS Automate simulates order execution using historical market data. The orders in a backtest are considered as market orders, and the execution price for the market order is taken as the 1-minute candle close price.
This helps the backtest estimate how the strategy would have performed during the selected period. Since this is a historical simulation, no real orders are placed in the market.
What if…
| Scenario | Solution |
|---|
| My live order executes at a different price | Live execution may differ because real orders depend on market movement, liquidity, and order availability. |
| I add slippage in Backtest Configuration | The backtest result is adjusted based on the selected slippage percentage. |
| I compare backtest and live trades | Differences may occur because backtest uses the 1-minute candle close price for simulated market order execution.
|
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 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 ...
How do I export the backtest tradebook?
The Export option in FYERS Automate lets you download the trades generated during a completed backtest. The file is exported in CSV format, so you can open it in a spreadsheet tool for detailed review. Use this option when you want to analyze ...
Why do backtest results differ from live strategy performance?
Backtest results in FYERS Automate are based on historical market data and the inputs selected during the test, such as date range, initial capital, and slippage. Live strategy performance may differ because real orders are affected by current market ...
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 ...