Skip to main content

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​

RequirementNotes
A TradeLyser accountWith an active trial or plan. The number of accounts you can add depends on your plan.
Your broker loginFor 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 and import methods can't be changed later

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​

The Add Account screen in TradeLyser, listing active brokers with a green dot and upcoming brokers with a red dot

  1. Open the Accounts page (app.tradelyser.com/accounts), or click Manage accounts at the bottom of the account selector in the header.
  2. Click Add Account.
  3. 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:

MethodHow it matchesWhen to use it
FIFO (First IN First OUT)The oldest buy is closed firstRecommended. Matches how most Indian brokers report P&L.
LIFO (Last IN First OUT)The most recent buy is closed firstOnly if you deliberately track P&L this way.
WA (Weighted Average)Uses the weighted average priceIf 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 methodWhat it doesBest for
Auto Sync (Recommended)You authorise TradeLyser with your broker. Trades sync automatically every weekday at 10:30 pm, or anytime with Sync TradesDaily journaling with no downloads
File UploadYou import the trade file your broker provides, with Import TradeBrokers you don't want to connect, or history
Manual EntryYou enter trades one by oneOccasional 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:
    1. Enter an account name, such as Zerodha - F&O.
    2. Enter the credentials your broker requires. Each broker's screen includes a How to import trades from brokers guide.
    3. 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.
    4. Click Connect and Save Account. A broker login window opens. Sign in there and you're returned to TradeLyser.

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​

BrokerGuide
ZerodhaConnect Zerodha
FyersConnect Fyers
Angel OneConnect Angel One
UpstoxConnect Upstox
5paisaConnect 5paisa
DhanConnect Dhan
GrowwConnect 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​

Account Management in TradeLyser, with one card per broker account showing status, method and last 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:

ActionWhat it does
Sync TradesFetches today's orders from the broker (Auto Sync accounts).
Sync HistoryFetches older trades for a date range. Dhan and ICICI only (up to 5 days per request), and Upstox (last 3 financial years).
Re-AuthLogs in to the broker again. Most brokers expire logins daily.
Import Trade / Import TemplateImports a broker file or the TradeLyser CSV template.
Set as DefaultMakes 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​

ProblemFix
My broker is greyed outIt's listed under Inactive Brokers. Use File Upload with a supported broker file or the CSV template.
Broker shows a redirect error after loginThe redirect URL in your broker app doesn't match the one TradeLyser shows. Copy it again exactly.
Account shows Re-auth requiredUse Re-Auth from the ⋯ menu before syncing.
Wrong FIFO/LIFO choiceIt can't be changed. Add a new account with the right method.
Can't add another accountYou'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.

Next steps​