CSV Import Guide
Import your trading history from CSV files into TradeLogist
5 min read
CSV Import Guide
Import trades from any source that exports to CSV format. This guide covers file requirements, field mapping, and troubleshooting.
Preparing Your CSV
Required Columns
Your CSV must include:
| Column | Description | Format |
|---|---|---|
| Symbol | Ticker symbol | Text (e.g., AAPL) |
| Direction | Long or Short | LONG/SHORT or BUY/SELL |
| Entry Date | When you entered | YYYY-MM-DD or MM/DD/YYYY |
| Entry Price | Fill price | Number (e.g., 150.25) |
| Quantity | Shares/contracts | Number (e.g., 100) |
Optional Columns
Enhance your imports with:
| Column | Description | Format |
|---|---|---|
| Exit Date | When you exited | YYYY-MM-DD |
| Exit Price | Exit fill price | Number |
| Entry Time | Time of entry | HH:MM or HH:MM:SS |
| Exit Time | Time of exit | HH:MM or HH:MM:SS |
| Fees | Commission/fees | Number |
| Notes | Trade notes | Text |
| Strategy | Strategy name | Text |
| Tags | Trade tags | Comma-separated |
Example CSV
Minimal Example
Symbol,Direction,Entry Date,Entry Price,Quantity
AAPL,LONG,2024-12-01,195.50,100
TSLA,SHORT,2024-12-02,245.75,50
SPY,LONG,2024-12-03,590.00,200
Complete Example
Symbol,Direction,Entry Date,Entry Time,Entry Price,Quantity,Exit Date,Exit Time,Exit Price,Fees,Strategy,Notes
AAPL,LONG,2024-12-01,09:45:00,195.50,100,2024-12-01,11:30:00,197.25,5.00,VWAP Bounce,Clean setup
TSLA,SHORT,2024-12-02,10:15:00,245.75,50,2024-12-02,14:00:00,242.50,5.00,Breakdown,Worked as planned
SPY,LONG,2024-12-03,09:35:00,590.00,200,,,,,Gap Fill,Still open
Import Steps
Step 1: Upload File
- Go to Dashboard > Trades
- Click Import
- Select CSV Import
- Choose your file or drag and drop
Step 2: Map Columns
TradeLogist will attempt to auto-map columns:
- Review the suggested mapping
- Correct any mismatched columns
- Map optional columns if available
- Click Continue
Step 3: Preview
Review import preview:
- Check first few rows look correct
- Verify data types are right
- Note any warnings
- Click Import
Step 4: Confirm
After import:
- See import summary
- Note any skipped rows
- Click Done
- View imported trades
Column Mapping
Direction Mapping
Accepted values for direction:
| Input | Maps To |
|---|---|
| LONG, Long, long | LONG |
| BUY, Buy, buy | LONG |
| B, L | LONG |
| SHORT, Short, short | SHORT |
| SELL, Sell, sell | SHORT |
| S | SHORT |
Date Formats
Accepted date formats:
YYYY-MM-DD(2024-12-15)MM/DD/YYYY(12/15/2024)DD/MM/YYYY(15/12/2024)MM-DD-YYYY(12-15-2024)
Time Formats
Accepted time formats:
HH:MM:SS(09:45:30)HH:MM(09:45)H:MM AM/PM(9:45 AM)
Number Formats
For prices and quantities:
- Decimal: 150.25
- No currency symbols:
$150.25 - No thousands separator:
1,000
Advanced Options
Timezone Settings
Set import timezone:
- Use your local timezone
- Or specify source timezone
- Times will be converted
Duplicate Handling
Choose how to handle duplicates:
| Option | Behavior |
|---|---|
| Skip | Ignore duplicate trades |
| Update | Update existing with new data |
| Create | Create as new trade |
Strategy Auto-Creation
When importing with strategies:
- Existing strategies are matched
- New strategies are created automatically
- Or skip strategy assignment
Troubleshooting
Common Errors
"Invalid date format"
- Check your date column format
- Ensure consistency across rows
- Use standard formats
"Missing required column"
- Ensure Symbol, Direction, Entry Date, Entry Price, Quantity exist
- Check for typos in column headers
- Headers are case-insensitive
"Invalid number"
- Remove currency symbols ($, EUR, etc.)
- Remove thousand separators (commas)
- Check for text in number columns
"Row skipped"
- Review the skipped row in errors
- Fix data and re-import if needed
- Some rows may have invalid data
File Issues
File won't upload
- Check file size (max 10MB)
- Ensure .csv extension
- Try saving as CSV UTF-8
Garbled text
- File may have wrong encoding
- Open in Excel, save as CSV UTF-8
- Or use text editor to convert
Partial Import
If only some rows import:
- Download error report
- Review skipped rows
- Fix issues in source file
- Re-import fixed rows
Best Practices
Before Import
- Backup your data
- Review CSV in spreadsheet first
- Check for duplicates
- Validate date formats
During Import
- Use preview to verify
- Read all warnings
- Map columns correctly
- Start with small test file
After Import
- Spot check imported trades
- Verify calculations correct
- Check strategies assigned
- Review any warnings
Export for Backup
Create a backup before importing:
- Go to Settings > Data
- Click Export All
- Save the backup file
- Then proceed with import
Next Steps
- Interactive Brokers - IB-specific import
- Other Brokers - More broker guides
- Troubleshooting - Fix import issues