Incorrect P&L? Fix Profit & Loss in TradeLyser
Your trading journal is only as useful as the profit and loss (P&L) numbers you trust. When TradeLyser P&L disagrees with your broker contract note, dashboard widgets look wrong, win rate shifts, and AI analytics recommendations lose credibility. Most mismatches come from missing charges, calculation method differences, partial fills, or filters—not from random calculation bugs.
This guide helps Indian traders reconcile P&L between TradeLyser and Zerodha, Fyers, Angel One, and other brokers, using trade settings and systematic verification.
How TradeLyser calculates P&L
At a high level:
Gross P&L ≈ (exit value − entry value) × quantity, adjusted for long vs short direction.
Net P&L ≈ Gross − (brokerage + taxes + other fees you configure or import).
TradeLyser supports FIFO, LIFO, and weighted average methods for pairing entries and exits when multiple lots exist (trade settings). Your broker may display realized P&L using a different pairing rule—especially for scaled-in swing trades or rolled F&O positions.
Always compare net to net and gross to gross separately.
Quick reconciliation checklist
| Step | Action |
|---|---|
| 1 | Pick one closed trade on the same date in broker and TradeLyser |
| 2 | Match quantity, entry price, exit price to the fill, not order price |
| 3 | Add brokerage, STT, GST, stamp duty on broker side |
| 4 | Confirm fee defaults in TradeLyser include all charges |
| 5 | Verify calculation method (FIFO vs LIFO) matches your comparison basis |
| 6 | Clear date/account filters on Trades and dashboard |
Common P&L issues and fixes
1. Fees and taxes not included
Symptoms: TradeLyser net P&L higher than broker; win rate inflated.
Causes: Brokerage not imported; default fee schedule too low; manual trades without charges.
Fix:
- Open Settings → Trade Settings and review default brokerage and tax assumptions.
- For synced trades, confirm broker API sent charges—some exports omit taxes until EOD.
- Edit individual trades to add fees from contract note (edit trade).
- Re-import day via CSV including fee columns if available (CSV import).
Indian equity and F&O charges often include brokerage, STT, exchange charges, GST, stamp duty, and SEBI fees—your broker statement is the source of truth.
2. FIFO vs LIFO vs broker averaging
Symptoms: Per-trade P&L close but monthly total differs; multiple entries same symbol.
Causes: TradeLyser set to FIFO while you mentally track LIFO; broker uses weighted average on holdings view.
Fix:
- Settings → Trade Settings → set calculation method to match how you want the journal to behave (FIFO recommended for most tax-style pairing).
- Re-export broker trade-wise realized P&L, not holdings unrealized view.
- Document that scaling strategies may need tag-based review rather than single-trade comparison.
3. Wrong entry or exit prices
Symptoms: Large unexpected loss/win on one symbol; prices look like order price not fill.
Causes: Partial fill imported as single price; manual typo; corporate action not reflected.
Fix:
- Open the trade in TradeLyser and compare each fill to broker trade book.
- Correct prices and quantities; save.
- If imported from CSV, re-export broker file—do not average fills manually in Excel.
- For split adjustments, verify symbol still matches broker scrip code.
4. Quantity mismatch and partial fills
Symptoms: P&L off by a constant ratio; open position quantity wrong.
Causes: Scalping multiple fills aggregated incorrectly; one leg missing.
Fix:
- Count fills in broker for that order ID.
- Ensure each fill exists as a trade or correctly merged per broker template.
- Check open positions for leftover quantity.
- Run sync after session close when all fills are final.
5. Intraday vs delivery classification
Symptoms: Charges differ; MIS vs CNC mismatch in notes.
Causes: Product type affects brokerage slabs; journal missing product tag.
Fix:
- Match product type (MIS/CNC/NRML) on broker export columns.
- Use tags like “Intraday” vs “Delivery” for review (trade settings auto-tag rules).
- Compare MIS trades only to MIS lines on contract note.
6. Open vs closed P&L confusion
Symptoms: Dashboard shows loss while broker app shows open profit.
Causes: Comparing unrealized broker P&L to closed journal trades.
Fix:
- Use track live P&L for open positions.
- Compare realized numbers only on closed trades.
- Refresh dashboard after market close sync.
7. Currency, multipliers, and F&O lot size
Symptoms: Options P&L off by lot multiple; index trades scaled wrong.
Causes: Quantity interpreted as lots vs units depending on export.
Fix:
- Verify quantity column matches broker (shares vs lots).
- Cross-check one NFO trade manually: (sell − buy) × qty × lot if applicable.
- Re-import with correct broker template (CSV errors).
8. Duplicate or missing trades skewing totals
Symptoms: Monthly total wrong but individual trades look fine.
Causes: Duplicate import; missing session day.
Fix:
- Search symbol across All time.
- Remove true duplicates via delete trade only after confirming duplicate—not legit second entry.
- Fill gaps with CSV or sync (missing trades).
Manual verification formula
For a simple long equity round trip:
- Gross = (Exit price − Entry price) × Quantity
- Net = Gross − Total charges from contract note
Repeat for shorts with direction reversed. If gross matches but net does not, focus on fees. If gross fails, focus on prices, quantity, or method.
Using reports to spot systematic drift
- Generate reports for the same window as broker tax P&L.
- Symbol performance highlights one-symbol drift.
- Equity curve shows cumulative effect of small per-trade errors.
A ₹50 fee error on 200 trades can swing monthly net by ₹10,000—fix defaults once rather than editing each trade.
Settings that affect every trade
Configure once in Trade Settings:
- Default calculation method (FIFO / LIFO / weighted average)
- Timezone (IST)
- Default fees for manual entry
- Auto-tag rules for review (big win/loss thresholds)
Changing method does not always rewrite historical pairing instantly—confirm release notes or re-save trades if your deployment recalculates on change.
When numbers are correct but “feel” wrong
- Charges lag: Broker posts taxes after session; sync next morning.
- Corporate actions: Adjusted symbols may need manual notes.
- Span margin vs P&L: Margin is not P&L—do not mix metrics on dashboard widgets.
Escalating to support
Contact support@tradelyser.com with:
- TradeLyser trade ID or screenshot of one mismatched trade
- Broker contract note line for the same trade (redact account number)
- Calculation method setting
- Whether data came from sync or CSV
See Contact Support.
Frequently asked questions
Should TradeLyser match contract note to the paisa?
Aim for net within rounding (₹1–2) after all fees are entered. Larger gaps indicate missing fills or fees.
Does changing FIFO recalculate old trades?
Behavior may vary; verify a sample month after changing settings.
Are unrealized gains in reports?
Closed-trade reports use realized P&L; use open positions for mark-to-market.
Broker shows X, TradeLyser shows X minus fees—is that wrong?
If TradeLyser displays net and broker app shows gross, align definitions before “fixing.”
Can mentors see corrected P&L?
Mentee views reflect the underlying account data after your edits (mentee access).
Options multi-leg strategies?
Each leg may import separately; strategy-level P&L may require tags or strategy board grouping.
Will AI scores update after P&L fix?
Yes after analytics refresh—allow time for batch recompute.
Month-end and tax-season reconciliation
Indian traders often reconcile TradeLyser against contract notes and tax P&L exports at month or year end:
- Export broker tax P&L or ledger for the financial year segment.
- Run TradeLyser generate reports for the identical date range.
- Compare net realized P&L totals—not individual open positions.
- If gap > 1–2% of gross, drill into symbols with largest absolute difference.
- Fix systemic fee defaults first, then outlier trades.
Small per-trade rounding differences are common when brokers round charges per fill; systemic gaps usually mean a missing session day—see missing trades.
Journal discipline after reconciliation
After you trust P&L:
- Lock in fee defaults in trade settings.
- Add notes on trades you corrected for audit trail.
- Tag reconciled months (e.g.
FY25-Q4-verified) for mentor review. - Schedule weekly spot checks instead of annual fire drills.
Accurate P&L underpins discipline rules and daily journal reviews—fix data before changing strategy.
Scalping and high-fill-count sessions
Scalpers often see apparent P&L drift when comparing a single broker line to multiple TradeLyser rows. Brokers sometimes aggregate the session while TradeLyser stores each fill for accuracy. In that case:
- Sum TradeLyser net P&L for all fills of the symbol on that date.
- Compare the sum to broker realized line—not to a single fill.
- Ensure charges are applied per fill or verify broker posts one combined charge row in your fee settings.
This is expected behavior, not duplicate trades.