Do you need a static IP for algo trading? A straight answer
If you place orders through a broker API in India, you almost certainly need a static IP. Here is when it is required, when it is not, and why a dynamic home IP breaks your bot.
Short answer: If you place orders through a broker API in India, yes, you almost certainly need a static IP. Most brokers require you to whitelist the exact IP address your orders come from, and a normal home or mobile connection changes that address without warning. When it changes, your whitelist breaks and your orders get rejected. A dedicated static IP keeps that address fixed so your bot stays authorised.
If you only trade manually through a broker's website or app, you do not need one. The requirement is specific to automated, API-driven order placement.
When you need a static IP
You need a static IP if any of these describe you:
- You place orders through a broker API (Zerodha Kite Connect, Angel One SmartAPI, Dhan, Fyers, Upstox, and similar).
- Your broker asks you to whitelist or register the IP address your API requests originate from.
- You run an algo or bot that must stay connected and authorised across a full trading session.
- You operate under SEBI's algo trading framework, which expects a static, identifiable source for automated orders.
In all of these, the broker is enforcing a simple rule: orders are only accepted from an address you have pre-declared. A static IP is what lets you declare it once and have it stay true.
When you do not need one
You can skip a static IP if:
- You trade manually through the broker's web or mobile app, with no API in the loop.
- You are only paper trading or backtesting against historical data, with no live order flow.
- You trade through a hosted algo platform such as Tradetron or AlgoTest, which places orders from its own or the broker's servers. NSE says a client's own static IP is needed only when the client uses the API themselves. See static IP by algo platform.
If there is no whitelist requirement on your account, there is nothing for a static IP to satisfy.
Why a dynamic home IP breaks your bot
Most Indian broadband and mobile connections hand out a dynamic IP. Your provider leases you an address and can change it at any time: on a router restart, a line drop, a lease renewal overnight, or for no visible reason at all.
For ordinary browsing this never matters. For an algo it is fatal. The moment your address changes:
- Your new IP is no longer on the broker's whitelist.
- Your API requests start failing authentication.
- Your orders are rejected, often mid-session, sometimes with positions already open.
You usually find out at the worst possible time, when an exit order silently fails. A dedicated static IP for algo trading removes that failure mode entirely, because the address you whitelisted is the address you keep.
Does SEBI require a static IP?
SEBI's framework for retail algo trading pushes brokers toward identifying and authorising the source of automated orders, and a static, registered IP is the practical way brokers implement that. In effect, a static IP is how you stay on the right side of both your broker's whitelist and SEBI's static-IP rule at the same time. A dedicated address is the clean way to meet it. Your broker remains the authority on exactly what they need from you.
IPv6 or IPv4: which do you need?
Either works, depending on your broker:
- IPv6 is supported by most modern broker APIs. IPv6 addresses are plentiful, which keeps a dedicated one cheap.
- IPv4 is still required by a few platforms that have not added IPv6 support yet. For those, you want a dedicated IPv4, not a shared one.
The key word in both cases is dedicated. A shared address that dozens of other people also use can get rate-limited or blocked for someone else's behaviour, and it is not something you can safely whitelist.
What to do next
If you trade through an API, get a dedicated static IP, whitelist it with your broker once, and point your client at it. That is the whole job. TrueIP gives Indian algo traders a dedicated IPv6 static IP for ₹50 per IP per month + 18% GST (₹59 in all), or ₹500 a year, and a dedicated IPv4 for ₹200 per IP per month + GST for brokers that still require it. Both run from our own Mumbai node and are never shared or rotated.
For the difference between a static IP and renting a full machine, see static IP vs VPS for algo trading.
Ready to whitelist a fixed address? See pricing or get your dedicated static IP.
Get your dedicated static IP
IPv6 ₹50 a month, IPv4 ₹200 a month, plus GST. Live in minutes, whitelisted once.