Articles on: Connecting Brokers

Dhan Broker Integration

Dhan Broker Integration with Static IP Process:


  1. Go to Tradetron Broker and Exchanges page, select Dhan and put Dummy credentials and save. (Only for time being).
  2. Buy Static IP from Broker and Exchanges page
  3. Once you have purchased the Static IP it will look as shown in image below- We will update you here when the issue is resolved sir, or you can check with us end of the day.



4. Now, Login to Dhan Terminal.
5. Select “DhanHQ Trading APIs”
6. Click on view “Static IP Settings”
7. Here in the static IP Settings, please note the following:
a) You can put the purchased static IP either in Primary or Secondary section.
b) You can keep secondary IP or either one blank.
c) 1st static IP shows option to fetch IP, its Ok if it is not fetched.
d) Update and Save Static IP.
8. Now, click on “Generate Access Token / API Key” as shown in the image below:
9. Note that above generated token has a validity of 1 day.
10. Token needs to be generated daily and needs to be updated in broker and exchanges page of Tradetron as shown in the image below:
11. The Client ID will be Dhan Client ID in the image below:
12. Update and Save the details.
13. That is all.
14. Make sure to Generate Fresh Token daily from Dhan website and update the same on Tradetron Broker and Exchanges page.



Updated on: 12/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!