Import backtesting results
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.
Export the right table
Section titled “Export the right table”-
In TradingView, open the chart and strategy you want to investigate.
-
Open Strategy Tester, then select List of Trades.
-
Use the export control for that table and download the CSV.
-
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.
Choose the timestamp timezone first
Section titled “Choose the timestamp timezone first”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.
Upload or paste the CSV
Section titled “Upload or paste the CSV”Use either tab in the product:
- Upload File accepts a
.csvfile. - 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.
Recognized columns
Section titled “Recognized columns”Only two columns are required to produce events:
| Purpose | Recognized header |
|---|---|
| Timestamp | Date/Time, Date and time, or dateTime |
| Event type | Type 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:
| Purpose | Recognized headers |
|---|---|
| Trade number | Trade #, tradeNumber |
| Signal name | Signal, signal |
| Price | Price USD, Price USDT, price |
| Quantity | Contracts, Position size (qty), contracts |
| Profit | Profit USD, Net P&L USD, profitUsd |
| Profit percent | Profit %, Net P&L %, profitPercent |
| Cumulative profit | Cum. Profit USD, Cumulative P&L USD, cumProfitUsd |
| Cumulative profit percent | Cum. 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.
Read the import result
Section titled “Read the import result”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
entryorexitare 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.
Before analysis
Section titled “Before analysis”Confirm that:
- the event and skipped-row counts are plausible for the export;
- the earliest and latest timestamps overlap the selected Data Scope;
- at least one known event aligns after applying the chosen CSV timezone; and
- 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.