Backtest Review Lab
← Audit one ledger

Compare backtest runs

Match trades by ID to see where net P&L changed. Both CSVs are processed in this tab.

Baseline

Or paste a table with column names
Candidate

Or paste a table with column names

Load saved column settings

Choose both ledgers, then load backtest-columns.json. You can save this file beside the Markdown report after a comparison.

The settings file contains each ledger’s selected column names, separator and amount format. Selecting a header line also saves its line number.

File format and sample downloads

Use the same account currency and list closed trades in closing order. Each file can contain up to 10,000 trades (1 MB). Use comma, tab or semicolon separators, or paste cells from a spreadsheet.

UTF-8 and UTF-16 with a byte-order mark open automatically. For a Korean Windows CSV (CP949), choose “Reopen as CP949” when prompted. For an Excel workbook (.xlsx), open the trade sheet and use Save As → CSV UTF-8.

If a file starts with a title or export notes, open its column settings and choose the line with the column names. You can choose a nonblank line within the first 50 lines. The comparison skips everything above it.

Practice choosing a header line

For amounts like 1,234.56, open that ledger’s column settings and choose “Comma grouping”. A comma separates thousands (1,234 means 1234), and a dot marks decimals. In comma-separated CSV, quote the whole amount as "1,234.56". In tab- or semicolon-separated files, enter 1,234.56 directly.

Practice correcting a value

Download both Korean example files and select each in its matching field. Choose “Reopen as CP949” for the baseline. The revision opens automatically. Net P&L falls from 39.00 to 34.00 (−5.00).

trade_id
Use one unique ID per row. A trade shared across runs must have the same ID in both files.
gross
Profit or loss before fees, up to two decimal places.
fees
Total fees for the trade, zero or more.
kept
Optional. Enter 1 to include or 0 to exclude. Without this column, all trades are included.