Guide · 3 min read
TradingView's List of trades export, column by column
The Strategy Tester's List of trades tab can be downloaded as a CSV file. It's the tester's side of the story: every simulated entry and exit, with prices and P&L.
How to export it
- Open the chart with your strategy on it, and open the Strategy Tester panel under the chart.
- Pick the List of trades tab.
- Click the download button above the list. Exporting from this tab gives only the trades. The Strategy Report's own download includes the summary tables as well.
The file name includes the strategy, the exchange, the symbol and the date, for example My_Strategy_CME_MINI_MNQ1!_2026-02-03.csv. That's the only place the symbol appears; the file has no symbol column.
The columns
TradingView has renamed several columns over time. Both layouts are common in files people have saved.
| Current layout | Older layout | What it is |
|---|---|---|
| Trade # | Trade # | The trade's number. Its entry row and exit row share it. |
| Type | Type | Entry long, Exit long, Entry short, Exit short (older files capitalise the side) |
| Date and time | Date/Time | The bar's time, like 2026-02-02 09:00, in the chart's time zone |
| Signal | Signal | The order's name from the script, like Long or Long SL/TP |
| Price USD | Price USD | The tester's fill price. The suffix is the symbol's currency. |
| Position size (qty) | Contracts | Contracts or shares |
| Position size (value) | (none) | The position's notional value |
| Net P&L USD, Net P&L % | Profit USD, Profit % | The trade's result. It's the same on both rows of the trade. |
| Favorable excursion | Run-up | The best open profit during the trade |
| Adverse excursion | Drawdown | The worst open loss during the trade |
| Cumulative P&L | Cum. Profit | The running total |
In the current layout, Signal comes after the date. Anything that reads the file by column position rather than by name breaks on the switch.
Two rows per trade
Each trade has an entry row and an exit row with the same Trade #. Current exports put the exit row first, then the entry:
1,Exit long,2026-02-02 11:45,Long SL/TP,21064.25,2,…1,Entry long,2026-02-02 09:00,Long,21054,2,…
Some older files list the newest trade first. Within the file, order doesn't carry meaning; Trade # does.
A trade that's still open
If the strategy was in a position when you exported, the last trade has an exit row whose Signal is Open and whose date and price are empty. In older files the entry row of that trade has no size either:
391,Exit Long,Open,,,,,
That trade hasn't finished, so it has no result yet, and comparing it with live fills only makes sense for its entry.
Time zone
Times are in the chart's time zone, the one shown in the bottom-right corner of the chart, and the file doesn't say which zone that was. Note it when you export. The alert log is different: TradingView's help says its CSV export uses UTC.
What "Net P&L" includes
The tester's P&L includes commission and slippage only if the strategy sets them, in the script or in its Properties tab. Both are 0 by default, so by default the tester's P&L has no costs. That's one of the usual reasons a backtest doesn't match live results.
Trade Teardown reads both layouts, open trades included, and lines each trade up with your IBKR Flex Query export, in your browser.