Skip to content
Algo Trade Analytics Docs

Import backtesting results

Backtest vs Alerts

The Backtesting Results step turns a TradingView Strategy Tester List of Trades export into the baseline events used by the comparison. The step is complete as soon as at least one entry or exit row is parsed.

  1. In TradingView, open the chart and strategy you want to investigate.

  2. Open Strategy Tester, then select List of Trades.

  3. Use the export control for that table and download the CSV.

  4. In Backtest vs Alerts, open Backtesting Results.

The List of Trades file is different from a performance-summary export. If the app reports that Date/Time or Type is missing, return to TradingView and export the trades table.

Select the timezone that TradingView used for timestamps without an explicit offset:

  • UTC — use when the file is in UTC. This is the default.
  • US Eastern (NYSE) — interprets zone-less timestamps in America/New_York, including daylight-saving changes.
  • Browser local time — use when the chart timestamps match the computer running the browser.

The timezone applies when the file is parsed. If you change it after loading a file, remove and load the file again. Timestamps that already contain Z or a numeric offset keep that explicit timezone.

Use either tab in the product:

  • Upload File accepts a .csv file.
  • Paste Data parses CSV text after you select Parse Data.

For a known-good fixture, download the parser-tested sample backtest CSV or follow the complete sample comparison.

Only two columns are required to produce events:

PurposeRecognized header
TimestampDate/Time, Date and time, or dateTime
Event typeType or type

The event type must contain entry or exit. The direction must appear as long or short in either Type or Signal; rows without both an event type and direction are skipped.

The parser also recognizes these optional fields:

PurposeRecognized headers
Trade numberTrade #, tradeNumber
Signal nameSignal, signal
PricePrice USD, Price USDT, price
QuantityContracts, Position size (qty), contracts
ProfitProfit USD, Net P&L USD, profitUsd
Profit percentProfit %, Net P&L %, profitPercent
Cumulative profitCum. Profit USD, Cumulative P&L USD, cumProfitUsd
Cumulative profit percentCum. Profit %, Cumulative P&L %, cumProfitPercent

Missing optional values default to zero. A missing or invalid price does not discard the event, but it produces a warning and that row cannot use the price tolerance as evidence.

After parsing, the status card shows total, entry, exit, long, short, and skipped row counts. Review every warning before running the comparison:

  • invalid or empty timestamps are skipped;
  • event types without entry or exit are skipped;
  • rows whose direction cannot be inferred are skipped;
  • zero or unparseable prices remain in the dataset and are flagged;
  • malformed rows are skipped and counted.

The workflow marks Backtesting Results complete when the parsed event count is greater than zero. A green or warning status confirms import, not that the dataset is complete or aligned with the alerts.

Confirm that:

  1. the event and skipped-row counts are plausible for the export;
  2. the earliest and latest timestamps overlap the selected Data Scope;
  3. at least one known event aligns after applying the chosen CSV timezone; and
  4. the symbol and strategy name in Strategy Properties describe this export.

Then continue to Analysis Configuration. If the file still does not parse, use the troubleshooting guide.