How to Sync Broker Trades in TradeLyser
Once your broker account is connected with Auto Sync, trades reach your trading journal in two ways:
- Automatically every weekday night. TradeLyser syncs Auto Sync accounts every Monday to Friday at 10:30 pm IST, as long as the broker login is still valid at that time.
- On demand with Sync Trades. Run it from the account's actions menu whenever you want today's trades sooner, for example right after the market closes.
Either way, TradeLyser fetches your orders, matches buys and sells into completed trades and updates your Dashboard, Daily Journal and Trades Log.
Once synced you can:
- Review every trade from the day in the Trades Log with net P&L after fees and taxes.
- Add stop losses, tags, ratings and notes while the session is fresh.
- See the day in the Daily Journal with its intraday P&L curve.
What you need
| Requirement | Where to get it |
|---|---|
| A broker account added with the Auto Sync import method | Follow your broker's guide, for example Zerodha, Upstox, Dhan or Groww |
| A valid broker login for today | Re-Auth from the account's ⋯ menu (Step 1) |
| Trade-import allowance left in your plan | Shown on Settings → Subscription |
Most Indian brokers expire API logins every day. If the login has expired, the account card shows Re-auth required and the sync stops with a Session Expired message. Re-authenticate first, then sync.
Step 1: Check that the account is logged in

- Open the Accounts page: choose Manage accounts at the bottom of the account selector, or Accounts Settings in your avatar menu.
- Find the account card. The status banner reads Healthy when the connection works, or Re-auth required when the broker login has expired.
- Check the Token field. It shows how long today's login lasts, for example Valid until 11:30 PM.
- If you need to log in again, open the ⋯ actions menu and choose Re-Auth. Kotak Neo, Angel One, Motilal Oswal, Definedge, Finvasia and Groww ask for a one-time code in a pop-up instead of opening a login window.
Step 2: Open Sync Trades

- Open the ⋯ actions menu on the account card.
- Choose Sync Trades. A dialog titled Sync Trades - your broker opens. For Kotak Neo and Zebu the menu item carries a Direct badge; it works the same way.
If the item is greyed out with (Trade limit reached), your Free Trial import allowance for the month is used up.
Step 3: Choose calculation options and fetch orders
Under Calculation Options there are three checkboxes:
| Option | What it does |
|---|---|
| Avoid calculating fees | Records fees as ₹0 for the fetched orders. The label shows the default fee from the account's settings. |
| Avoid calculating taxes | Records taxes as ₹0. |
| Avoid calculating slippages | Records slippage as ₹0. |
Leave them unticked if you want net P&L after costs. The defaults come from Set Fees & Tax on the same menu (see Configure fees and tax).
Click Fetch Orders.
Step 4: Review the result
| What you see | What it means |
|---|---|
| No orders found for today | Nothing new to import. Your account is up to date. |
| Sync Started | A large sync is running in the background. You get a notification under the bell when it completes. |
| Sync Successful with orders processed and completed trades created | The orders were imported and matched into trades. |
| A list of fetched orders with Show Mapping | For some brokers you review the orders first. Click Show Mapping, check the mapped view, then click Import Orders. |
| Session Expired | The broker login has expired. Click Reconnect with your broker and the sync continues. |
When the sync finishes, click the refresh icon in the header so every widget picks up the new trades.
The automatic nightly sync (10:30 pm)
Every Monday to Friday at 10:30 pm IST, TradeLyser syncs your Auto Sync accounts on its own. You don't need to do anything except keep the broker login valid:
- Accounts with an expired login are skipped that night. Most Indian brokers expire logins daily, so check the account card's Token field and use Re-Auth before 10:30 pm if it shows Re-auth required.
- Login reminders. If an Auto Sync account's login will have expired by 10:30 pm, TradeLyser sends a bell notification and an email in the morning (around 8:30 am), and a last call around 9 pm if you still haven't logged in. Reminders go to accounts with holdings or trades in the last 30 days.
- Turn reminders off for an account with Turn off login reminders in its ⋯ actions menu. The nightly sync itself still runs whenever the login is valid.
What Sync Trades does
- Fetches today's orders only. For earlier days, use Sync History (Dhan, ICICI and Upstox) or import a trade file.
- Builds trades from orders using the account's calculation method (FIFO, LIFO or weighted average). Buys or sells without a matching exit stay in Open Positions until the closing order is synced.
- Records every run in Settings → Sync History, with status, orders, trades created and duplicates skipped.
The Auto Sync item in the same menu, for choosing your own sync schedule, is marked Coming Soon. Until it is released, the built-in 10:30 pm weekday sync and Sync Trades cover your trades.
Account actions for syncing
| Action | What it does |
|---|---|
| Sync Trades | Fetches today's orders from your broker. |
| Sync History | Fetches older trades for a date range. Available for Dhan and ICICI (up to 5 days per request) and Upstox (last 3 financial years). Already imported orders are skipped. Greyed out for other brokers. |
| Re-Auth | Logs in to your broker again when the token has expired. |
| Live Insights | Connects a live order feed for supported brokers, so fills appear as they happen. |
| Import Trade | Imports your broker's trade file instead. |
| Import Template | Imports the TradeLyser CSV template. |
For backfilling older trades step by step, see Sync historical trades.
Troubleshooting sync problems
| Problem | Fix |
|---|---|
| Session Expired or Re-auth required | Use Re-Auth from the ⋯ menu, or Reconnect in the sync dialog, then sync again. |
| No orders found for today, but you traded | Check you opened the right account, and sync again after your orders have executed. |
| Yesterday's trades didn't arrive overnight | The login had probably expired before 10:30 pm, so the nightly sync skipped the account. Use Re-Auth, then import the missed day with Sync History (Dhan, ICICI, Upstox) or a trade file. |
| Synced trades don't show on the Dashboard | Click the header refresh icon. Check the account selector and the date range. |
| A trade shows as an open position | Its exit order hasn't been synced yet. Sync again after the exit executes. |
| Sync History is greyed out | It is only available for Dhan, ICICI and Upstox. Import a trade file for other brokers. |
| P&L differs from your broker | Check Set Fees & Tax and the account's calculation method. See Incorrect P&L. |
| A sync failed | Open Settings → Sync History and hover the eye icon to read the error. |
Still stuck? See Trades not syncing or email support@tradelyser.com.
Frequently asked questions
Does TradeLyser sync trades automatically?
Yes. Auto Sync accounts are synced every Monday to Friday at 10:30 pm IST, as long as the broker login is valid at that time. For brokers that support Live Insights, fills can also appear during the session.
Do I still need to click Sync Trades?
Only if you want today's trades in TradeLyser before 10:30 pm, for example to journal right after the close, or if the nightly sync skipped your account because the login had expired.
Can I sync trades from previous days?
Sync Trades covers today only. Use Sync History for Dhan, ICICI or Upstox, or import your broker's tradebook for other brokers.
Will syncing twice create duplicate trades?
Sync History skips orders that are already imported, and Settings → Sync History shows how many duplicates each run skipped.