Skip to content
Algo Trade Analytics Docs

Run a Backtest vs Alerts sample

All plans No broker required

This quick start uses a small, synthetic dataset. It is designed to teach the comparison workflow without using personal trading data or waiting for webhook events.

The report should contain:

  • 6 backtest events
  • 6 alert events
  • 5 matched events
  • 1 missing alert
  • 1 extra (false) alert

Those counts are a fixture check, not a performance target.

The repository test suite sends these exact files through the same parsers and matcher used by the app. If a format change breaks the sample, the focused test fails.

  1. Open Backtest vs Alerts.

  2. In Data Scope, select the full day 15 January 2025. Choose CSV Import, open Upload File, and load sample-alerts.csv.

  3. In Strategy Properties, enter:

    • Strategy name: Docs Sample Strategy
    • Symbol: AAPL
  4. In Backtesting Results, upload sample-backtest.csv. Leave CSV timestamp timezone set to UTC.

  5. In Analysis Configuration, use a 5 minute forward tolerance, 1 minute backward tolerance, and 2% price tolerance. These values reproduce the sample result; they are not universal recommendations for another strategy.

  6. When the Ready to Analyze card appears, select Run Analysis.

  7. Confirm the counts above, then turn on Show only problems. Locate the missing exit at 15:00 UTC and the extra short-entry alert at 16:00 UTC.

  • A missing alert means a backtest event had no compatible alert inside the selected direction, time, and price tolerances.
  • An extra alert means an alert had no compatible backtest event.
  • A match means the two events satisfied your current rules. It does not prove profitability, risk suitability, or readiness for live capital.

Replace the sample files with your TradingView List of Trades export and either an alert-history CSV or captured webhook events. Set the date range and timezone to the source data, and choose tolerances from the strategy’s timing and market context.

Open TradingView’s Strategy Tester, switch to List of Trades, and use the export control to download the CSV.