Home / Brokers / Dhan

Dhan + AmiFeedX

Dhan live data in AmiBroker and Excel.

Connect your Dhan account through DhanHQ API, and AmiFeedX streams live prices into AmiBroker charts and Excel cells, with past data one click away. Then backtest on the same data, in your browser.

Set up Dhan in four steps

  1. Get API access

    Create DhanHQ API access from your Dhan account.

  2. Install AmiFeedX

    Download the Windows app and sign in with your email.

  3. Choose Dhan

    In Settings, pick Dhan and paste your details. They stay on your PC.

  4. Authenticate daily

    Click Authenticate once a day before the market opens, and sign in on Dhan’s own page.

What you get with Dhan

Live AmiBroker charts

Dhan ticks become one-minute candles that move in AmiBroker while the market is open.

Live Excel prices

LTP, OHLC, volume and time from Dhan, as RTD formulas in any sheet.

One-click backfill

Past candles from Dhan’s own history fill your charts.

Watchlists that match

Symbols come from Dhan’s own scrip list, so every name matches.

Backtests on the same data

Test strategies in your browser with 174 no-code blocks and Indian charges.

Your keys stay yours

Your Dhan keys are never written to our database. Revoke access any time from Dhan’s API console.

Other supported brokers

Zerodha · Upstox · Angel One · AliceBlue · TradeJini

Dhan and DhanHQ API are trademarks of their owners. AmiFeedX is independent and not affiliated with or endorsed by Dhan.

Dhan data, flowing.

7 days free. No card needed. Set up in about ten minutes.