How to Run Backtests in Version 5.0

Version 5.0 introduces a powerful, fully integrated Advanced Backtest Simulation engine. You no longer need to manually download, format, and upload CSV files from Binance. The bot now fetches historical data directly from the exchange API and simulates your exact strategy–including real-world exchange fees–in real-time.

Step 1 – Configure Your Strategy

  1. Open the Prime Spot DCA Bot GUI and select the trading pair you want to test from the left sidebar.
  2. Adjust your settings in the Detailed Configuration panel (Timeframe, Indicators, TP/SL, and Safety Orders).
  3. Note: The backtest engine pulls the exact parameters currently active in your configuration form. You do not need to click "Save" if you are just testing variations.

Step 2 – Launch the Backtest Module

  1. Click the 📊 BACKTEST button located in the action bar below the configuration form.
  2. The Advanced Backtest Simulation window will open for your selected pair.

Step 3 – Set Simulation Parameters

In the Backtest window, define your simulation environment:

Step 4 – Run the Simulation

  1. Click the ▶ LOAD DATA & START BACKTEST button.
  2. The bot will automatically connect to the Binance API, fetch the required candlestick (OHLCV) data for your chosen timeframe, and process the simulation chronologically.
  3. Smart Caching: The downloaded market data is temporarily cached in memory. If you re-run a test on the same pair and date range (e.g., to tweak RSI or TP percentages), the data will load instantly without requiring another API download.

Step 5 – Review the Results

The built-in console will display a detailed, step-by-step log of the entire simulation:

Troubleshooting Tip: If the backtest report shows 0 trades, verify your indicator settings. Strict combinations (e.g., extremely low RSI thresholds combined with Bollinger Bands) may not trigger any buy signals during the selected date range.