How to Add a Broker Account in TradeLyser
An account in TradeLyser is one trading account at your broker. Add one for each broker login you trade with, and TradeLyser turns that account's orders into completed trades, journal days and analytics. The add-account wizard has three steps and takes a few minutes. Most of that time is spent on your broker's side if you choose Auto Sync.
This page covers the steps that are the same for every broker. For broker-specific credentials and redirect URLs, follow your broker's connect guide (linked below).
Once the account is added you can:
- Sync Trades from your broker, upload a broker file or add trades by hand.
- See the account on the Dashboard, Daily Journal and Trades Log, alone or under All Accounts.
- Set default fees, tax and an initial balance for the account.
What you need
| Requirement | Notes |
|---|---|
| A TradeLyser account | With an active trial or plan. The number of accounts you can add depends on your plan. |
| Your broker login | For Auto Sync, plus whatever your broker requires (for example a Client ID, API key and API secret). |
| A broker trade file (optional) | Only if you choose File Upload. |
The calculation method (FIFO, LIFO or WA) and the import method (Auto Sync, File Upload or Manual Entry) are fixed when you create the account. If you need a different method later, add a new account.
Step 1: Open Accounts and choose your broker

- Open the Accounts page (app.tradelyser.com/accounts), or click Manage accounts at the bottom of the account selector in the header.
- Click Add Account.
- On Choose broker, prop firm or trading platform, pick your broker under Active Brokers (green dot). Brokers under Inactive Brokers (red dot) are coming soon and can't be selected yet.
Step 2: Select a calculation method
The wizard shows Step 1: Select Calculation Method. This decides how buys and sells are matched into trades:
| Method | How it matches | When to use it |
|---|---|---|
| FIFO (First IN First OUT) | The oldest buy is closed first | Recommended. Matches how most Indian brokers report P&L. |
| LIFO (Last IN First OUT) | The most recent buy is closed first | Only if you deliberately track P&L this way. |
| WA (Weighted Average) | Uses the weighted average price | If you compare against average-price reports. |
Click Continue.
Step 3: Select an import method
On Step 2: Select Import Method, choose how trades will arrive. Only the methods your broker supports are shown.
| Import method | What it does | Best for |
|---|---|---|
| Auto Sync (Recommended) | You authorise TradeLyser with your broker. Trades sync automatically every weekday at 10:30 pm, or anytime with Sync Trades | Daily journaling with no downloads |
| File Upload | You import the trade file your broker provides, with Import Trade | Brokers you don't want to connect, or history |
| Manual Entry | You enter trades one by one | Occasional trades or unsupported brokers |
With Auto Sync, TradeLyser syncs your trades automatically every Monday to Friday at 10:30 pm IST, as long as your broker login is still valid at that time. Click Sync Trades whenever you want today's orders sooner. Most brokers expire logins daily, so log in again with Re-Auth before 10:30 pm. See Sync broker trades.
Step 4: Enter account details and connect
On Step 3: Account Details:
- File Upload or Manual Entry: enter an Account Name and click Create Account.
- Auto Sync:
- Enter an account name, such as
Zerodha - F&O. - Enter the credentials your broker requires. Each broker's screen includes a How to import trades from brokers guide.
- If your broker uses a developer app, copy the Redirect (Call Back) URL shown on screen into your broker's app settings exactly as shown.
- Click Connect and Save Account. A broker login window opens. Sign in there and you're returned to TradeLyser.
- Enter an account name, such as
Some brokers log in with codes in a TradeLyser pop-up instead of a login window: Kotak Neo (TOTP + MPIN), Angel One (MPIN + TOTP), Motilal Oswal, Definedge (OTP), Finvasia and Groww (TOTP).
Broker connect guides
| Broker | Guide |
|---|---|
| Zerodha | Connect Zerodha |
| Fyers | Connect Fyers |
| Angel One | Connect Angel One |
| Upstox | Connect Upstox |
| 5paisa | Connect 5paisa |
| Dhan | Connect Dhan |
| Groww | Connect Groww |
For any other broker in the Active Brokers list, follow the on-screen guide, or choose File Upload and see Import trades from CSV.
Step 5: Check the account and sync

The new account appears as a card. Connected or Healthy means it works, and Re-auth required means the broker login has expired. The ⋯ actions menu then offers:
| Action | What it does |
|---|---|
| Sync Trades | Fetches today's orders from the broker (Auto Sync accounts). |
| Sync History | Fetches older trades for a date range. Dhan and ICICI only (up to 5 days per request), and Upstox (last 3 financial years). |
| Re-Auth | Logs in to the broker again. Most brokers expire logins daily. |
| Import Trade / Import Template | Imports a broker file or the TradeLyser CSV template. |
| Set as Default | Makes this the account used by Manual Entry. |
After a sync, click the refresh icon in the header so every widget shows the new trades.
Troubleshooting
| Problem | Fix |
|---|---|
| My broker is greyed out | It's listed under Inactive Brokers. Use File Upload with a supported broker file or the CSV template. |
| Broker shows a redirect error after login | The redirect URL in your broker app doesn't match the one TradeLyser shows. Copy it again exactly. |
| Account shows Re-auth required | Use Re-Auth from the ⋯ menu before syncing. |
| Wrong FIFO/LIFO choice | It can't be changed. Add a new account with the right method. |
| Can't add another account | You've reached your plan's account limit. Check Settings → Pricing. |
See also Troubleshoot broker connection.
Frequently asked questions
Which brokers does TradeLyser support?
Every broker under Active Brokers on the Add Account screen. That includes Zerodha, Upstox, Dhan, Fyers, Angel One, 5paisa and Groww, among others.
Can I add more than one broker account?
Yes, up to your plan's limit. See Add multiple accounts.
Do trades sync automatically?
No. Click Sync Trades to fetch today's orders. Re-authenticate first if the login has expired.