Trading Journal

Import CSV trades into your journal: step-by-step guide

Import your trade history via CSV in under 5 minutes. Avoid CSV errors, fix formatting issues, and get ready for AI analysis.

5 min read
On this page

This article is for educational purposes only and does not constitute financial advice. Trading involves substantial risk of loss.

Manually entering hundreds of past trades into a trading journal takes hours and invites data entry errors. If you're switching from a spreadsheet, another platform, or just have historical broker data gathering dust, a CSV import saves time and ensures accuracy.

But CSV imports can be finicky. The wrong date format, a stray dollar sign, or a missing required column and your entire import fails. You end up re-entering trades manually anyway.

This guide walks you through the CSV import process, shows you what a good import file looks like, and helps you avoid the common pitfalls that derail most traders.

Key Takeaways

  • Most brokers export trade history as CSV directly from the account or activity tab — no third-party tools required.
  • A valid import file needs at minimum: Date, Symbol, Side (LONG/SHORT), Quantity, Entry Price, Exit Price, and P&L.
  • The most common import failures are date format mismatches (use YYYY-MM-DD), currency symbols in numeric fields ($150 instead of 150), and inconsistent Side values.
  • Always test with a 10-trade sample before uploading your full history — a silent formatting error across 500 trades is much harder to debug than across 10.
  • After import, cross-check your journal's total P&L against your broker statement. Any mismatch signals data loss or a formatting error.
  • CSV import captures transaction data only. Adding emotional state, setup quality, and trade reasoning to recent trades is what turns a transaction log into a journal that reveals patterns.

Where Your Trade Data Lives

The most common sources:

Broker Exports

Most brokers let you export trade history as CSV or Excel:

  • Interactive Brokers — Account Statement > Activity > Trades CSV export
  • Tastytrade — Positions tab > Export to CSV
  • TD Ameritrade — Monitor tab > Account > Download transactions
  • Forex brokers — Usually under "Account History" or "Trading History"

Check your broker's help documentation for the exact path. The export usually goes back 1 year or more depending on the broker.

Previous Trading Journal Platforms

If you're switching from another journal (TraderVue, Edgewonk, etc.), most have an export function:

  • Look for "Export" or "Download data" in settings
  • Choose CSV format (not PDF)
  • Usually exports all your trades at once

Spreadsheet Journals

If you've been tracking trades in Google Sheets or Excel, you're 90% done. You just need to format the columns correctly before importing.

Most broker exports already match standard CSV formats. But if you're exporting from a custom spreadsheet or previous journal, you'll need to match the import format your new journal expects.

What a Good Import CSV Looks Like

Before you start exporting, understand what columns your journal needs. Here's a typical minimal CSV structure:

Date,Symbol,Side,Quantity,EntryPrice,ExitPrice,PnL
2026-02-10,AAPL,LONG,100,150.25,151.50,125.00
2026-02-10,SPY,SHORT,50,450.10,449.80,15.00
2026-02-09,TSLA,LONG,10,240.00,235.50,-45.00

Required Columns

  • Date — When you closed the trade (format: YYYY-MM-DD or MM/DD/YYYY—check your platform)
  • Symbol — Ticker symbol (AAPL, ES, BTC, etc.)
  • Side — LONG or SHORT (some systems use BUY or SELL—check first)
  • Quantity — Number of shares, contracts, or units
  • Entry Price — What you entered at
  • Exit Price — What you exited at
  • P&L — Dollar profit or loss (optional—some platforms calculate it)

Optional Columns (Nice to Have)

  • Account — If you trade multiple accounts
  • Commission — Trading costs
  • Entry Time — Time of entry (HH:MM format)
  • Exit Time — Time of exit
  • Notes — Any trade notes (kept as free-form text on import)
  • Setup — Setup type or category
  • Confidence — Confidence rating (1-5)

Critical Formatting Rules

Dates: Always use YYYY-MM-DD (2026-02-13). Never use 02/13/26 or other ambiguous formats.

Numbers: No currency symbols, commas, or spaces. Use 150.25, not $150.25 or 150,25.

Sides: Use consistent values. Either LONG/SHORT or BUY/SELL. Don't mix them in the same file.

P&L: Positive for wins, negative for losses. No currency symbols.

Empty fields: Leave blank if unsure, don't use dashes or "N/A".

A single dollar sign ($100 instead of 100) or inconsistent date format (some 2026-02-13, some 02/13/2026) will fail the entire import. Check formatting before uploading.

Step-by-Step CSV Import Process

Export your trades

Go to your broker or previous platform and export trades as CSV. Save the file with a clear name like "trades_2025.csv".

Open in a spreadsheet

Open the CSV in Google Sheets or Excel. This lets you see the structure and clean the data before import.

Check column names

Verify the column headers match what your journal expects. Many brokers use "Date", "Ticker", "Qty", "Price" — your journal might need different names. Rename columns if needed.

Clean the data

Look for: currency symbols in price columns, inconsistent date formats, missing values in required fields. Delete any rows with incomplete data (especially entry or exit price).

Test with 10 trades

Don't upload your entire history at once. Create a small test CSV with just 10 recent trades. Upload it and verify all fields imported correctly.

Check the import results

Do the symbols appear correctly? Are the P&L numbers right? Did the dates parse properly? If anything looks off, stop and investigate before importing the rest.

Upload the full CSV

Once the test import succeeds, upload your full trade history. This usually takes 1-5 minutes depending on file size.

Verify totals match

Cross-check: your journal's total P&L should match your broker statement or previous journal export. A mismatch usually indicates data loss or a formatting error during import.

Common CSV Import Pitfalls (And How to Avoid Them)

Pitfall 1: Date Format Mismatch

Your CSV has dates as "02/13/2026" but the import expects "2026-02-13".

Fix: Open the CSV in Google Sheets. Select the date column. Format as YYYY-MM-DD. Re-save.

Pitfall 2: Currency Symbols in Numeric Columns

Your export looks like this:

EntryPrice,ExitPrice,PnL
$150.25,$151.50,$125.00

The import parser chokes on the $ symbols.

Fix: Search and replace. In Google Sheets: Edit > Find and replace. Find "$" and replace with nothing. Re-save.

Pitfall 3: Inconsistent Side Values

Some rows say "LONG", others say "BUY", others say "L".

Fix: Standardize before uploading. Pick one convention (LONG/SHORT is most common). Use find-and-replace to convert all variants.

Pitfall 4: Missing Required Fields

You're missing the "Symbol" column or half your entries have no exit price.

Fix: Check the import template provided by your journal. Add missing columns. If data is genuinely missing (e.g., a partial trade with no exit), either skip that row or enter dummy values.

Pitfall 5: Timezone Issues

You exported trades on UTC time, but your journal defaults to your local timezone.

Fix: Check your journal's import settings. Most let you select the source timezone. If not, convert all times to your local timezone before uploading.

Pitfall 6: Duplicate Trades

You import, then realize you also have those trades manually entered from weeks ago.

Fix: Before importing, verify your journal is empty or that you're importing into a separate account. If you do import duplicates, you can usually delete them from the journal UI after import.

Always ask yourself: "Would I catch an error if this import failed silently?" The safest approach is to test with a small batch first, verify the data is correct, then upload in full.

Verifying Your Import

After the import completes, take 5 minutes to verify it worked correctly.

Quick Verification Checklist

  • Trade count matches your export (500 trades exported = 500 trades imported)
  • Recent trades appear with correct symbols and prices
  • P&L numbers look reasonable (not inverted or zeroed out)
  • Total account P&L matches your broker statement or previous journal
  • Dates span the correct time period
  • No duplicate trades

If Numbers Don't Match

If your imported total P&L doesn't match your broker statement:

  • Check for missing trades (some brokers exclude partial fills)
  • Verify commission was included in P&L (some exports exclude fees)
  • Look for timezone shifts (a trade from late night might shift to the previous day)
  • Check for precision loss (your broker shows $150.25, you entered 150, the difference compounds)

These are easy to catch after a small test import, but harder to debug after importing 5 years of trades.

Moving Beyond Import: Adding the Journal

CSV import gets your historical trades into the system. But to actually improve from your journal, you need to add the pieces CSV can't capture: emotions, setup reasoning, and lessons learned.

Once your trades are imported, spend time adding:

  • Emotional state during each trade (especially recent ones)
  • Setup quality rating (was this your best setup, or did you force it?)
  • One-sentence lesson from each trade
  • Whether you followed your rules (yes/no)

You don't need to do this for every historical trade. But for your last 50-100 trades, adding this context transforms your imported data from a transaction log into a real journal that reveals patterns.

Learning what to add to your journal goes beyond just P&L—read our guide on what to write in your trading journal to capture the data that actually reveals your patterns. Once you have a rich journal, you can start identifying trading patterns that AI analysis can flag.

Get Your Data Into a Real Journal

CSV import gets your data in. AI-powered pattern analysis shows you what that data means — which emotional states, times, and setups are costing you money.

Import Your Trades

Start with a test import today. Once your historical trades are in one place, the case for consistent journaling going forward becomes obvious.

Sources & further reading

  1. Barbara Kitchenham, Shari Lawrence Pfleeger (undefined). Data Quality Issues in Research. *ACM SIGSOFT Software Engineering Notes*. DOI: 10.1145/565917.565927[paper]
  2. Brett N. Steenbarger (undefined). The Daily Trading Coach. John Wiley & Sons[book]
  3. James W. Pennebaker (undefined). Writing About Emotional Experiences as a Therapeutic Process. *Psychological Science*. DOI: 10.1111/j.1467-9280.1997.tb00403.x[paper]

Continue learning

Start free

Turn your journal into your edge

Log trades, emotions, and lessons. The AI coach connects the dots across hundreds of entries you'd never review manually.

Start your free trial