---
title: "Copy Trading with Dhan: A Step-by-Step Guide · MyAlgoMate"
source: https://myalgomate.com/copy-trading/dhan
retrieved: 2026-10-30
publisher: MyAlgoMate (Myalgomate Technologies LLP, Rajkot, India)
---

1. [Home](https://myalgomate.com/)
2. [Copy Trading Software](https://myalgomate.com/products/copy-trading-software)
3. [Supported brokers](https://myalgomate.com/products/copy-trading-software/brokers)
4. Dhan

// COPY TRADING · DHAN

# Copy trading with Dhan

Place an order once and have it copied into every account you link — between Dhan accounts, or between Dhan and any of 152 other Indian brokers. Dhan can be the master you trade in, or a child that receives the copies, each child sized by its own multiplier.

[Start 7 days free trial](https://myaccount.myalgomate.com/user/account/free-trial/1) [Buy now](https://myaccount.myalgomate.com/1) [Chat on WhatsApp](https://wa.link/g2p74z) 💬 Ask about Dhan

## Does MyAlgoMate's copy trading work with Dhan?

Yes. MyAlgoMate's Copy Trading Software connects to Dhan through DhanHQ API. A Dhan account can be the master — the account you trade in — or a child that receives a copy of every order, and it can copy to or from 152 other Indian brokers. Data API subscription for the master only; children use the free API. The software runs on your own Windows PC or cloud server, so your Dhan logins stay on your machine. MyAlgoMate provides technology only, not investment advice.

## // Key facts

**Connection**

DhanHQ API

**As master**

Dhan's Trading API is free, but the master needs Dhan's Data API subscription — ₹499 plus taxes a month at the time of writing, billed by Dhan.

**As child**

Dhan's free API is enough. A child account does not need the Data API subscription.

**Static IP**

Needed for every Dhan account. Whitelisted with Dhan. Orders from any other IP are rejected with the DH-905 Invalid IP error.

**Daily login**

Not needed — the software signs Dhan in for you with your TOTP key.

**You enter**

Client ID, API Key, API Secret and TOTP key

**MyAlgoMate**

From ₹400 a month per account (+ GST)

**Other brokers**

Copy to or from 152 other Indian brokers

Last updated: 31 October 2026

// HOW IT WORKS

## Dhan as the master, Dhan as a child

Copy trading has two roles. The master is the account you trade in; every child gets a copy of each order.

Master

### Trade in Dhan, copy everywhere

You place orders in your Dhan account exactly as you do today. The software watches that account and places the same order in each child account — at Dhan or at any other supported broker.

Dhan API as master: Dhan's Trading API is free, but the master needs Dhan's Data API subscription — ₹499 plus taxes a month at the time of writing, billed by Dhan.

Child

### Copy into Dhan from anywhere

Your master can be at another broker and this Dhan account follows it, trading the master's quantity times its own multiplier. Nothing is installed for a child account.

Dhan API as child: Dhan's free API is enough. A child account does not need the Data API subscription.

### Worth knowing about Dhan

- Dhan API keys are valid for 12 months. Set a reminder to renew them before they expire.

// BEFORE YOU START

## What you need

- A Windows PC, or a Windows cloud machine you rent, that stays on and connected during market hours.
- A MyAlgoMate Copy Trading subscription covering your master and the child accounts you want copying.
- Dhan API access for each Dhan account. As the master: Dhan's Trading API is free, but the master needs Dhan's Data API subscription — ₹499 plus taxes a month at the time of writing, billed by Dhan. As a child: Dhan's free API is enough. A child account does not need the Data API subscription.
- A static IP registered with Dhan for each Dhan account — and, for accounts at other brokers, one registered with their broker. No static IP yet? Our [Cloud Server for Algo Trading](https://myalgomate.com/products/cloud-server-for-algo-trading) comes with one, and the free [static IP checker](https://myalgomate.com/tools/static-ip-checker) shows the IP you connect from.
- TOTP turned on for each Dhan account, with its secret key saved.

// STEP BY STEP

## Set up copy trading with Dhan

Six steps, from API keys to the first copied order. No coding at any point.

1. Step 1 ### Get your Dhan API details 1. Generate an API Key and Secret from your Dhan profile, with the Redirect URL http://web.dhan.co/.
2. Set up TOTP and save the secret key.
3. For the master account, subscribe to the DhanHQ Data API.
4. Whitelist your static IP. Do this for every Dhan account you will use, master and children alike. [The full Dhan setup, field by field →](https://myalgomate.com/brokers/dhan)
2. Step 2 ### Install the software and sign in Install MyAlgoMate's Copy Trading Software on a Windows PC or a Windows cloud machine that stays on during market hours, and sign in with your MyAlgoMate account. Turn on *Set time automatically* in Windows first: Dhan logins use a TOTP code worked out from the clock, and a clock that is out by a minute makes them fail. [Read this step in the user guide →](https://myalgomate.com/guide/copy-trading-software#install-first-run)
3. Step 3 ### Add Dhan as your master or as a child On the ACCOUNTS screen press **Add Master** (the account you trade in) or **Add Child** (an account that receives copies). Choose Dhan, type an A/C Name you will recognise and enter Client ID, API Key, API Secret and TOTP key. If this account connects through its own static IP (a proxy), fill in the account's proxy block too. [Read this step in the user guide →](https://myalgomate.com/guide/copy-trading-software#add-child-account)
4. Step 4 ### Run the broker IP check The check opens by itself when you save the account. It confirms Dhan accepts orders from this account's IP before the market opens, so you never find out from a rejected order. You can re-run it any time from the account's ⋯ menu. [Read this step in the user guide →](https://myalgomate.com/guide/copy-trading-software#broker-ip-check)
5. Step 5 ### Set each child's multiplier and segments Every child account trades the master's quantity times its own multiplier — whole numbers, fractions or decimals, and a different figure per segment if you want. Untick any segment you don't want copied into that account. [Read this step in the user guide →](https://myalgomate.com/guide/copy-trading-software#per-child-multipliers)
6. Step 6 ### Log in all accounts and start copying Press **Login All**: the master logs in first, then the children. Press **START COPY** and trade as you always do — in Dhan's own app or terminal, or from your own algo. Each order is copied into every child account the moment it appears. [Read this step in the user guide →](https://myalgomate.com/guide/copy-trading-software#start-copy)

// ANY BROKER

## Copy between Dhan and other brokers

The master and each child can be at different brokers, in any combination.

[Dhan ↔ Zerodha Copy Dhan orders into Zerodha accounts, or the other way round.](https://myalgomate.com/copy-trading/zerodha) [Dhan ↔ Angel One Copy Dhan orders into Angel One accounts, or the other way round.](https://myalgomate.com/copy-trading/angel-one) [Dhan ↔ Upstox Copy Dhan orders into Upstox accounts, or the other way round.](https://myalgomate.com/copy-trading/upstox) [Dhan ↔ Groww Copy Dhan orders into Groww accounts, or the other way round.](https://myalgomate.com/copy-trading/groww) [Dhan ↔ Fyers Copy Dhan orders into Fyers accounts, or the other way round.](https://myalgomate.com/copy-trading/fyers) [Dhan ↔ Kotak Neo Copy Dhan orders into Kotak Neo accounts, or the other way round.](https://myalgomate.com/copy-trading/kotak-neo)

[All 153 supported brokers →](https://myalgomate.com/products/copy-trading-software/brokers)

// WHAT GETS COPIED

## What reaches your Dhan child accounts

| You place | Each child gets |
| --- | --- |
| Market order | A limit order, priced from your own Order settings |
| Limit order | A limit order at your price |
| Stop-loss limit (SL) | The same waiting stop-loss order |
| Stop-loss market (SL-M) | The same waiting stop-loss order |
| A change to price or trigger | The same change |
| A cancellation | The matching orders are cancelled |

Equity, F&O and commodity orders across eight segments (NSE, NFO, NCO, MCX, CDS, BSE, BFO, BCD), each switchable per account. Not copied: after-market, bracket and cover orders, quantity changes on a waiting order, and anything your master's broker rejects. [Copy settings in the user guide →](https://myalgomate.com/guide/copy-trading-software#copy-option-settings)

// CONTROLS

## Built for running many accounts at once

[Multiplier per account Size each child on its own — and per segment — with rounding to whole lots decided in advance.](https://myalgomate.com/guide/copy-trading-software#per-child-multipliers) [Rejection handling Decide what one refused child order does: carry on, stop, or retry then stop.](https://myalgomate.com/guide/copy-trading-software#rejection-settings) [Unfilled child orders Move the price a set number of times, or wait, when a child order lags behind.](https://myalgomate.com/guide/copy-trading-software#order-settings) [Auto order slicing Orders above the exchange freeze limit are split into smaller orders automatically.](https://myalgomate.com/guide/copy-trading-software#quantity-settings) [Re-Balance Find any child not holding what the master holds, and place the orders that fix it.](https://myalgomate.com/guide/copy-trading-software#re-balance-screen) [Per-account limits Max Loss and Max Profit per account, plus one-press Exit All.](https://myalgomate.com/guide/copy-trading-software#risk-limits)

// PRICE

## What copy trading with Dhan costs

- **MyAlgoMate:** from ₹400 a month per account (+ GST), or ₹500 month to month. Every account counts, the master included; a live setup needs at least one master and one child. [See plans](https://myalgomate.com/products/copy-trading-software#pricing)
- **Dhan API:** As the master: Dhan's Trading API is free, but the master needs Dhan's Data API subscription — ₹499 plus taxes a month at the time of writing, billed by Dhan. As a child: Dhan's free API is enough. A child account does not need the Data API subscription.
- **Brokerage:** Dhan's own charges on your trades are separate and unchanged.

// FAQ

## Copy trading with Dhan — questions

Can I do copy trading with Dhan?

Yes. MyAlgoMate's Copy Trading Software connects to Dhan through DhanHQ API. A Dhan account can be the master — the account you trade in — or a child that receives a copy of every order, and it can copy to or from accounts at any of the other 152 supported brokers.

Do I need a paid Dhan API for copy trading?

As the master: Dhan's Trading API is free, but the master needs Dhan's Data API subscription — ₹499 plus taxes a month at the time of writing, billed by Dhan. As a child: Dhan's free API is enough. A child account does not need the Data API subscription.

Does every Dhan account need a static IP?

Yes. Every account that places orders through a broker API — the master and each child — needs a static IP registered with its broker, and orders from an unregistered IP are rejected. At Dhan: Whitelisted with Dhan. Orders from any other IP are rejected with the DH-905 Invalid IP error. The software lets you give each account its own proxy, so accounts can connect from different static IPs.

Do I have to log in to Dhan every day?

No. You enter each Dhan account's details once, and the software logs it in for you using the TOTP key. Nobody needs to log in to Dhan separately.

Can I copy trades from Dhan to another broker?

Yes. The master and every child can be at different brokers. Place an order in your Dhan master and it is copied into child accounts at Zerodha, Angel One, Upstox or any other supported broker — or make Dhan the child of a master held elsewhere.

Can one Dhan account copy into several other Dhan accounts?

Yes. Add one Dhan account as the master and the others as children. Each child is sized by its own multiplier, and each one needs its own Dhan API access and its own registered static IP.

What Dhan details does the software need?

Client ID, API Key, API Secret and TOTP key, plus the account's Client ID. You enter them once, and they are stored on your own machine — never on MyAlgoMate's servers.

Can I keep trading in Dhan's own app while copying?

Yes. The software watches your master account's order book, so an order placed in Dhan's app, its website or your own algo is copied the same way. If your own algo also signs in with the same Dhan API key, ask us on WhatsApp before you start — brokers set their own rules on one API key being used by two programs at once.

How fast are orders copied into Dhan?

The software sends the child orders as soon as the master's order appears. What you actually see also depends on how quickly each broker's API replies and on your internet connection; a cloud machine with a good connection is quicker than a home PC.

How much does copy trading with Dhan cost?

MyAlgoMate's Copy Trading Software costs from ₹400 a month per account (+ GST), or ₹500 month to month. Every account counts, the master included, and a live setup needs at least one master and one child. Dhan's own API is separate. As the master: Dhan's Trading API is free, but the master needs Dhan's Data API subscription — ₹499 plus taxes a month at the time of writing, billed by Dhan. As a child: Dhan's free API is enough. A child account does not need the Data API subscription. Dhan's brokerage on your trades is separate too.

Disclaimer

**MyAlgoMate Technologies LLP has no partnership, agreement, or affiliation with any broker named on this website.** Broker names are shown for information only — to indicate which broker APIs MyAlgoMate is compatible with. All broker names and trademarks belong to their respective owners.

MyAlgoMate is a technology provider. The software places the orders you tell it to place, in the accounts you link to it; it does not advise you on what to trade. Dhan rules and charges change — details are as of 31 October 2026; check with Dhan for the latest.

## Start copy trading with Dhan

Add your Dhan account as a master or a child and copy your first order — 7 days free trial.

[Start 7 days free trial](https://myaccount.myalgomate.com/user/account/free-trial/1) [WhatsApp us](https://wa.link/g2p74z)

---
MyAlgoMate is a technology provider: its software automates the user's own trading rules. It does not give
trading tips, calls or investment advice and never promises returns. Site map for AI assistants:
https://myalgomate.com/llms.txt
