How to Import Trades via CSV File
Overview
Import your trading history from broker CSV files quickly and easily.
Prerequisites
- CSV file from your broker
- File should contain trade data
- Supported format (most brokers work)
Steps
1. Get CSV from Broker
- Login to your broker portal
- Navigate to Trade History or Reports
- Export trades as CSV/Excel
- Save file to your computer

2. Navigate to Import
Option A: From Accounts page
- Go to Settings > Accounts
- Click three dots on account
- Select "Import Trades"
Option B: From Trades page
- Go to Trades page
- Click "Import" button

3. Select Broker Format
- Import dialog opens
- Select your broker from dropdown
- System loads broker-specific mapping

4. Upload CSV File
- Click "Choose File" or drag-and-drop
- Select your CSV file
- File uploads and processes

5. Preview Trades
- System parses CSV
- Shows preview of trades to import
- Review for accuracy

6. Import Trades
- Click "Import Trades" button
- Progress bar shows import status
- Wait for completion

7. Import Complete
- Success message shows
- Number of trades imported
- View imported trades

Success!
Your trades are imported and ready for analysis.
Supported Brokers
✅ Zerodha
✅ Fyers
✅ Angel One
✅ Upstox
✅ Dhan
✅ Groww
✅ 5Paisa
✅ ICICI Direct
✅ IIFL
✅ Others (generic CSV)
CSV File Requirements
Required Columns
- Symbol/Stock name
- Entry date and time
- Exit date and time
- Entry price
- Exit price
- Quantity
- Buy/Sell direction
Optional Columns
- Fees/Brokerage
- Taxes
- Order ID
- Notes
Quick Tips
- Export complete date range from broker
- Don't edit CSV before importing
- Check preview before importing
- Import recent trades first
- Avoid duplicate imports
Handling Duplicates
- System automatically prevents duplicates
- Matches on: Symbol + Date + Price + Quantity
- Existing trades skipped
- Only new trades imported
Import Limits
- File size: Up to 10MB
- Trades per import: 10,000
- Format: CSV, XLSX, XLS
Next Steps
Troubleshooting
File not uploading? Check file size < 10MB
Wrong data imported? Select correct broker
Some trades missing? Check CSV has all columns
Duplicate error? Trades already exist
Format not recognized? Use generic CSV option
Need help? Contact support@tradelyser.com