Dhan Broker + Static IP Setup for Algo Trading | Beginner to Pro (April 2026)
In this video, I will show you how to set up a static IP connection with Dhan Broker for algo trading.
If you are running automated trading strategies or using APIs, a static IP is essential for secure and stable execution. This step-by-step guide will help you configure everything properly.
👉 What you will learn: - What is a Static IP in trading? - Why a static IP is important for Algo Trading - How to connect Static IP with Dhan Broker - Common issues and fixes - Best practices for stable trading setup
This tutorial is perfect for traders using APIs, bots, or automated strategies with Dhan Broker.
Disclaimer: This content is for educational purposes only and should not be considered financial advice. The creator is not a SEBI-registered advisor. Stock market and derivatives trading involve substantial risk. Past performance is not indicative of future results. Any trading decisions you make are solely your responsibility. Always conduct your own research and consult a licensed financial advisor before investing. The use of automated trading systems, APIs, or third-party platforms is entirely at your own risk. The creator will not be liable for any financial losses or damages.
Hello everyone, in this video I will tell you how to make a Dhanka IPI connection.
If you want to establish an IPI connection with Dhanka, you can do so easily.
How to obtain a static IP, how to assign it, and what happens afterward will be explained to you.
So first of all, you have to go to the Next Level Algo platform.
You can see the name of the website.
After arriving here, you must register.
After registering, you must log in.
After logging in, you will see this kind of dashboard icon.
As soon as you click on this dashboard icon, a page like this will open in front of you.
And if you have assigned a static IP.
Since the cost of assigning a static IP is Rs. 500 per month.
So your static IP will look like this.
I will also tell you that if you assign this static IP, you can use it across multiple brokers.
You can use it in Dhanme, Finvecia, Fiers, and with various brokers.
It is not the case that a single static IP address will be assigned to one broker.
For another broker, we are taking Rs. 500 from you separately.
So it won't happen.
Now the main thing is how to add it.
First of all, you must go to the Dhanka platform.
The Dhanka platform will look like this.
You must click on the profile icon.
Here you will see Get Trading and Data APIs.
So you have to click on it.
As soon as you click on it, you must enter your static IP here.
So as soon as you click on the static IP, the add IP will appear like this.
Now let me tell you one thing.
When you add a static IP, a fetch will be written here.
Don't click on that fetch.
Otherwise, your PC's IP will retrieve your internet IP.
And you won't be able to add a new IP.
You will have to add it in the secondary.
What you need to do is click on Add and copy your IP from here.
I have already copied it and brought it.
And add it.
First of all, you have to do this.
After that, you must reboot your generated API.
This means deleting it in one way.
We have deleted it.
After deleting it, you must create a new API.
And you must create an access token.
Keep this in mind.
You will click on the first option.
Generate Access Token
Okay.
So you need to generate a new access token.
So we put IP with Dhan Token.
Okay.
We put Dhan Token.
And you don't have to put anything here.
Just click on generate.
Your access token has been generated.
You have to copy it.
After copying, you must proceed to your next level algorithm.
You will see the option here.
You must click on API Management.
And you don't have all these APIs in your account.
That's why you need to click on it and add a new API.
You must select the broker's name.
I select Dhan.
And as soon as I do Dhan, you have to give it a name.
You can use any name.
Dhan User 1.
Whatever name you want to give it, according to you.
You must enter the access token here.
And after entering the access token.
You have to enter your number here.
I gave my number.
9873
And then add it.
Like this.
Okay.
The number you need to add is the number you have assigned with Dhan.
You have to add that number.
It's not that you're adding any random number.
After that, your API will look something like this.
We have放入 this Dhan User 1.
You have to turn it on.
After that, whatever order you put.
Your order will be sent to your broker.
Keep one thing in mind.
It is valid for 24 hours.
One trading session is valid.
What will you do tomorrow?
You will go to the Dhan account again.
You will revoke it.
I will revoke it.
And you will create a token once more.
Token Day 2
You can use any name like this.
And you will generate it.
As soon as this token is generated, you will copy it.
Now that you've come here, you don't need to delete it and create a new API.
You will click on Update API here.
You will add a token here.
And you will save it.
Thus, the token will be successfully updated.
Your token will be updated.
You must do this once a day in the morning.
After that, your orders will continue.
So you can place an order like this with a static IP.
If you have multiple Dhan accounts for your family.
And you want to trade them in as well.
You will need to assign multiple IPs for that.
You can contact me regarding this.
You can talk to our team.
You will find the contact number in the video description.
Thank you for watching this video and goodbye.