Upstox integration: sync Upstox Pro trades to TradeLyser

Upstox connects through sync only. Link it once, keep access current, and reconcile against Upstox Pro before you tag.

Karthikeyan Anbarasan

Founder, TradeLyser

Reviewed by Shankar Gajendran (CTO, TradeLyser) · Updated 18 Oct 2026

Login

Upstox OAuth

Segments

Cash · F&O · MCX

Fallback

None

Step by step

You authorise TradeLyser on Upstox’s page and it pulls executed trades after that. Confirm your F&O and commodity segments are active before you start, because heavy F&O histories take a while on the first link.

  1. Choose Upstox in TradeLyser

    Go to Settings → Broker connections, pick Upstox and press Connect.

  2. Log in on Upstox

    Complete the Upstox login on its authorisation page, with the 2FA or TOTP your account uses.

  3. Approve read access

    Approve read-only access to trade history.

  4. Wait for the backfill

    Heavy F&O histories can take longer on the first connect.

  5. Reconcile one full session

    Match the Upstox Pro order book trade count with the imported rows, and check that one multi-leg options trade brought in every leg with the right quantity.

What syncs from Upstox

What syncs

  • Executed trades in delivery, MIS, futures and options, with product type on each row
  • MCX commodity trades, where the segment is active
  • GTT and AMO orders once they execute
  • Charges, where the Upstox API provides them

What does not sync

  • Files. There is no CSV or upload route for Upstox in TradeLyser.
  • Basket and GTT parent labels
  • Live ticks. Sync runs after the session.
  • Expiry-week labels. Add them as tags.

Upstox Pro segments in the journal

SegmentUpstox Pro contextHow to use it in TradeLyser
Equity deliveryDelivery (CNC)Positional and swing tags, kept apart from scalps.
IntradayMIS equity and indexIntraday-only tags. Note auto square-off.
FuturesIndex and stock futuresRupee risk per lot. NRML and MIS behave differently.
OptionsWeekly and monthlyExpiry-week tags. Multi-leg trades import as separate rows.
CommodityMCX, where the segment is activeCommodity playbooks stay apart from NSE F&O.

The product type on each row tells you CNC, MIS or NRML, and margin or pledge mechanics do not change how executions import. NRML overnight futures and MIS scalps should never share a tag just because both trade Nifty.

Holiday half-days and Muhurat sessions import like normal sessions once the fills post to trade history. If the count looks short, wait for the T+1 sync before assuming anything is lost.

Upstox quirks worth knowing

  • Upstox access expires. Reconnect when TradeLyser prompts, ideally before an expiry cluster.
  • Pro mobile and desktop trades merge under one UCC, so the device does not matter.
  • GTT and AMO orders import once they execute and appear in trade history.
  • Basket and GTT parent labels may not appear in TradeLyser; the individual fills do.
  • Expiry-day load can delay sync. Check on the morning of T+1 before escalating.
Active Accounts table listing each linked broker account with its connection, token status, sync method and last updated date
Figure 1. Active Accounts. The Token column shows when a connection needs re-approval, and Method shows Auto Sync or Import.
Note
When Upstox and TradeLyser totals differ by a few rupees, compare one day line by line. Rounding, charges that post late or a partial sync usually explain it, and a re-sync is safer than any manual fix.

After the close with Upstox

  1. Run Sync Now after 3:30 p.m. and check that imported rows match the Pro trade count.
  2. Tag while Pro is still open. Flag rule breaks on winners and losers.
  3. Each week, split MIS from NRML and index from stock F&O.
  4. Once a month, check one random day against the Upstox contract note for charges.

No CSV fallback for Upstox

Upstox syncs without a CSV upload lane, so do not keep a side spreadsheet that drifts from the synced record. When a day is missing, work through these.

  1. Confirm the fills exist in Upstox Pro trade history.
  2. Check the Token column in Active Accounts and reconnect if access has expired.
  3. Press Sync Now, then retry on the morning of T+1 if the day is still missing.
  4. If it is still not there, contact support with the session date.

Trouble syncing?

Can I import an Upstox CSV like a Zerodha Console tradebook?

No. In TradeLyser, Upstox works through sync only. Reconnect and run a manual sync, and retry after maintenance windows.

Why do Upstox and TradeLyser totals differ slightly?

Compare one day line by line. Rounding, charges that post late or a partial sync usually explain small differences. Re-sync before assuming data is lost.

Does Upstox sync include F&O charges?

Rows include charges when the Upstox API provides them. Review net P&L in TradeLyser, especially in high-churn options weeks.

I trade on Upstox Pro mobile. Does sync still work?

Yes. Sync is tied to your Upstox account, not the device. Every executed order on it imports on the next pull.

How do I fix a missing trading day?

Confirm the fills in Upstox Pro trade history, then run a manual sync in TradeLyser. If the day is still missing after a T+1 retry, contact support with the session date.

Related guides