How to Sync Historical Trades (Old Trades)
Overviewβ
Import your past trading history from broker for complete analysis.
What are Historical Trades?β
Definitionβ
π
Trades executed before connecting broker
π
Old trades not yet imported
π
Complete trading history
π
Can go back months or years
Stepsβ
1. Connect Broker Firstβ
Ensure broker account is connected:
- Go to Settings > Accounts
- Verify status: "Connected" β
- If not, connect broker first

2. Access Sync Historicalβ
Option A: From Accounts
- Click three dots on account
- Select "Sync Historical Trades" or "Import History"
Option B: From Trades Page
- Look for "Sync Old Trades" banner/button
- Click to start import

3. Select Date Rangeβ
- Dialog opens
- Choose start date (how far back)
- Choose end date (usually today)
- Or select preset: Last 3 months, 6 months, 1 year

4. Start Importβ
- Review date range
- Click "Start Import" or "Sync Historical"
- Process begins

5. Wait for Completionβ
- Progress bar shows status
- Can take 2-10 minutes for large history
- Don't close browser
- Number of trades found displayed

6. Import Completeβ
- Success message
- Total trades imported shown
- View your complete history

Success!β
Your historical trades are now imported.
Import Limits by Brokerβ
Zerodhaβ
- Up to 3 months history
- Per day: All trades
- Segments: All supported
Fyersβ
- Up to 90 days history
- Per day: All trades
- Segments: All supported
Angel Oneβ
- Up to 1 year history
- Per day: All trades
- Full trade book
Othersβ
- Varies by broker
- Check broker API limitations
- Some: 30 days to 1 year
Data Importedβ
What Gets Importedβ
β
All executed orders
β
Entry and exit times
β
Prices and quantities
β
Brokerage fees
β
Taxes paid
β
Symbol details
β
Segment information
Trade Matchingβ
- Buys and sells matched automatically
- Position aggregation by FIFO/LIFO
- Intraday vs delivery identified
- Net P&L calculated
Important Notesβ
First-Time Importβ
β° Takes longer (complete history)
β° Be patient
β° Large datasets: 5-10 minutes
Subsequent Syncsβ
β‘ Only new trades imported
β‘ Much faster
β‘ Automatic duplicate prevention
Duplicate Preventionβ
β
System checks existing trades
β
Skips already imported
β
Only new trades added
β
Safe to run multiple times
After Importβ
Verify Imported Dataβ
- Go to Trades page
- Filter by date range imported
- Spot-check few trades
- Verify P&L calculations
Organize Tradesβ
- Add tags to old trades
- Rate past trades
- Add notes/reviews
- Create strategies
Common Issuesβ
Partial History Onlyβ
- Broker API limitation
- Import available range
- Request older trades via CSV
Some Trades Missingβ
- Check broker transaction history
- Verify trades were executed
- Some orders may be cancelled/pending
Incorrect P&Lβ
- Check calculation method
- Verify fees included
- May need manual correction

Best Practicesβ
For Complete Historyβ
β
Import as far back as allowed
β
Fill gaps with CSV import
β
Verify against broker statements
β
Tag and organize imported trades
β
Review P&L accuracy
Maintain Historyβ
β
Connect broker early
β
Regular syncs prevent gaps
β
Export backups periodically
β
Keep broker account active
Quick Tipsβ
- Import history right after connecting
- Go back as far as possible
- Verify against broker statements
- Supplement with CSV for older trades
- One-time process per account
Next Stepsβ
Troubleshootingβ
Import stuck? Wait patiently, large imports take time
Limited history? Broker API limitation
Trades missing? Check broker's available range
Wrong P&L? Verify calculation method
Import failed? Try smaller date range
Need help? Contact support@tradelyser.com