Copy Trading with Dhan
Step-by-step guide to connect your Dhan account for copy trading. Learn how to set up and start trading effortlessly in just a few minutes.
Table of contents
To connect Dhan to AlgoDelta’s Copy Trading software, follow these steps: 1.Generate the Dhan ‘Access Token’ from the Dhan portal. 2. Add Dhan account details in Algodelta’s Copy Trading.
Step 1:
- Go to https://login.dhan.co/ to log in.
- Enter the Register ‘Mobile Number’ and Dhan ‘Password’, and you will get an OTP in your registered email and in your registered mobile number.
- After logging in, click on the top-right corner profile icon and click on “My Profile on Dhan.”.
- You will see “Client ID” in the ‘Profile Details’ section.





Step 2:
For the generation of “TOTP key,”.
- Click on the top right corner profile icon, and then in the drop-down menu, click on “Access DhanHQ APIs.”.
- Now click on the “Add TOTP” button.
- Next, click on the “Enable TOTP” button.
- Then enter the OTP received on your registered Dhan mobile number and click on the “Verify OTP” button to complete the authentication process.✅ Copied!



Now copy the provided TOTP key or scan the QR code using your Authenticator app to continue the secure login setup.

Now enter the
long Setup key
into your
Authenticator app
. The app will generate a
6-digit TOTP code
, which you need to enter here to complete the authentication process.
Download link of google Authenticator :
https://chromewebstore.google.com/detail/authenticator/bhghoamapcdpbohphigoooaddinpkbai?hl=en
Steps for google
Authenticator app




In the “Secret” field, enter the TOTP key to generate the 6-digit authentication code using your authenticator app.

After completing these steps, you will receive a
6-digit TOTP code
in your Authenticator app. Enter this
6-digit TOTP
in the
“Enter 6 digit TOTP”
section in the Kotak broker window to complete the verification process.

(You can use any
Authenticator app
to generate the TOTP code. In this guide, we are using
Google Authenticator
as an example, but other authenticator apps will work the same way.)
Step 3:
For the static IP
To configure a static IP in Dhan, go to the “DhanHQ Trading APIs” tab and click on the “Add IP Settings” option.

Next, click the “Add” button under “IP Address 1” to add your static IP provided by AlgoDelta.

Step 4 : For getting Static IP
Now, go to AlgoDelta’s Copy Trading using the following link:
https://algodelta.com/platform/login
. Enter your AlgoDelta register mobile number and password.

To get your
Static IP
, log in to your
AlgoDelta account
and navigate to the
“Static IP”
tab. Click on the
“Purchase IP”
button to continue.

Next, select
IPv4
, click on the
Purchase
button, and wait a few seconds for the Static IP to be activated.

Once the process is complete, you will be able to view your
Static IP
, which is required for connecting Dhan with AlgoDelta for secure copy trading.

To bind the Static IP with your
Dhan account
, go to the
Demat
tab and click on the
three-dot menu
. Select the
Reconnect
option.

Next, enable the
“Connect with IP”
setting and choose the Static IP that you purchased and linked for Dhan copy trading.

Then click on the dropdown menu to view and select your Static IP for Dhan copy trading integration. Enter the following details: Nickname, Mobile Number, Email, Dhan Client ID, and Dhan 6 digit pin , TOTP key (generated from the Dhan portal), then click ‘Add.’ A ‘Broker Connected’ pop-up will appear, confirming successful integration.” ✅

Conclusion:
By following these steps, you will successfully connect your Dhan account to AlgoDelta’s Copy Trading software and gain access to its features for enhanced trading experiences.