Dhan Trading Journal — API Sync with CernoQuant
Link Dhan to CernoQuant with a free DhanHQ access token — no developer app needed. Auto STT and charge calculation, 50+ analytics. Free to start.
Last updated
Before you connect: see what Dhan trading is costing you
Paste your tradebook — free, no sign-up, data stays in your browser.
Connection
Native API
Auth Method
Dhan Client ID + Access Token
Region
india
Segments
NSE Equity, BSE Equity +more
How to import Dhan trades to CernoQuant
- 1
Create CernoQuant account
Sign up free.
- 2
Generate your Dhan access token
web.dhan.co → profile → "DhanHQ Trading APIs" → generate Access Token. No developer app or approval wait.
- 3
Settings → Brokers → Dhan
Enter your Dhan Client ID and the access token. CernoQuant only reads your trades; it never places orders.
- 4
Or: upload a Dhan trade CSV
Download a trade report from Dhan Web and drop it into Smart Import — the Dhan format is auto-detected.
Why Dhan is the easiest broker to journal
Every other Indian broker API asks you to create a developer app first — Zerodha wants a Kite Connect app, Upstox wants an app in its developer console, Angel One wants a SmartAPI registration plus TOTP setup. Dhan skipped all of that: the access token a journal needs is generated inside the normal Dhan Web interface. Log in at web.dhan.co, open your profile, find "DhanHQ Trading APIs", and generate the token. Paste it into CernoQuant with your Client ID and the connection is live, read-only, in about two minutes.
One honest limitation, straight from Dhan's support pages: access-token validity is currently capped at 24 hours, in line with exchange guidelines (it used to be longer). That means the connection is not "set once and forget forever" — when the token lapses, you regenerate it in Dhan Web and paste the new one. For traders who sync daily this is a 30-second habit; for occasional reviewers, the CSV route below may honestly be less friction.
The CSV route: Dhan Web's statements section provides order and trade reports by date range. CernoQuant ships a dedicated Dhan parser, so the export imports without any column mapping. Backfilling months of history is usually one file.
Where your data lives in Dhan
- •DhanHQ Trading APIs (web.dhan.co → profile) — token generation for API access; the trade book endpoint is what a journal reads.
- •Statements / reports in Dhan Web — downloadable order and trade reports by date range and segment; the trade report is the file to import.
- •Contract notes (emailed) — the legal per-day record with exact charges; useful for cross-checking costs, not for building a journal.
What Dhan actually charges (as of 28 Sep 2026)
Per dhan.co pricing: equity delivery is ₹0 brokerage; equity intraday is ₹20 or 0.03% per executed order, whichever is lower; futures and options are ₹20 per executed order. Statutory charges — STT, exchange transaction charges, SEBI fees, stamp duty, GST — apply on top and vary by segment; CernoQuant decomposes all of them per trade.
The API side: trading APIs are free for every Dhan user (per Dhan support). The separate market Data API is ₹499 + taxes per 30 days, auto-debited from the trading ledger — irrelevant to journaling, which never reads market data.
Full breakdown: Dhan API charges — trading free, Data API ₹499 →
Dhan-specific journaling pitfalls
- •The 24-hour token surprises people. If your journal shows no trades from today, the first thing to check is whether the access token has lapsed — regenerate it in Dhan Web and reconnect. Older guides still describe long-lived Dhan tokens; that changed.
- •Trade reports are fills without the full charge stack. Like every broker's trade book, the export records price and quantity, not what the round trip cost. CernoQuant recomputes STT, exchange fees, GST and stamp duty per trade so options P&L is not silently overstated.
- •Intraday equity vs delivery matters for STT. Dhan's ₹0 delivery brokerage does not mean a delivery sell is free — STT at delivery rates plus DP charges still apply. A journal that flags which trades were intraday vs delivery keeps the cost picture honest.
- •Scalpers: order count is the cost driver. At ₹20 per executed F&O order, a 40-order day is ₹800 in brokerage before statutory charges. The charge-leak view exists precisely to make this visible per session.
- •Searching for a "Dhan webhook"? Dhan's Postback feature pushes order updates to developer apps — it is real, but CernoQuant does not consume it: sync here reads the trade-book API with your token. If you are building your own tooling on Postback, the webhook guide covers how it works.
What you get with Dhan + CernoQuant
- Dhan Client ID + access token — the lowest-friction API connect of any Indian broker
- NSE F&O analytics with Greeks at entry
- Scalping: win rate by time of day, hold time, loss streak alerts
- Auto charge calculation: brokerage, STT, exchange fees, GST
- Atlas AI behavioural coaching on Dhan history
Charges & P&L Accuracy
Dhan charges ₹20 flat per F&O order (₹0 equity delivery). CernoQuant calculates brokerage, STT, exchange fees, and GST automatically on every synced trade.
Frequently asked questions about Dhan + CernoQuant
Does CernoQuant support Dhan API sync?
Yes — and Dhan is the simplest Indian broker to connect. You generate an access token inside Dhan Web itself (no developer app, no OAuth redirect), paste it with your Client ID into CernoQuant, and your trades sync read-only.
How do I generate a Dhan access token?
Log in to web.dhan.co, open your profile, and go to "DhanHQ Trading APIs" — the token is generated there (per Dhan's own support guide). Per Dhan support, an access token is currently valid for up to 24 hours, in line with exchange guidelines, so expect to regenerate it when you want a fresh sync.
What are Dhan API charges?
Dhan's trading APIs are free for all Dhan users — orders, trade book, positions cost nothing to access. Only the optional market Data API costs ₹499 + taxes per month. A journal reads just your trade history, so it needs no paid plan. (Per Dhan support, verified 28 Sep 2026.)
Can I use CernoQuant for Dhan scalping analysis?
Yes. Time-of-day heatmap, holding-time vs outcome, and tilt detection after loss streaks — all from your Dhan history.
How do I export trade history from Dhan?
Dhan Web provides order and trade reports as downloadable statements, filtered by date and segment. Upload the trade CSV to CernoQuant's Smart Import — the Dhan format has a dedicated parser, so columns map automatically.
Does Dhan support algo or API-based F&O trading for journalling?
Yes, and read-only access is sufficient. A journal needs the executed order and trade endpoints, not order placement, so the narrowest permission scope is the correct one to grant.
Also supported
Start your Dhan trading journal today
Free during beta — invite-based access. Connect in under 2 minutes.
Connect Dhan FreeCernoQuant is a trading journal and analytics platform only. Not a SEBI-registered investment advisor. All information is for educational purposes. Trading decisions are your sole responsibility. Past performance is not indicative of future results.