Do you need a static IP for algo trading? A straight answer
June 25, 2026 · 3 min read
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.
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 the SEBI requirement at the same time. A dedicated, SEBI compliant address is the clean way to meet it.
IPv6 or IPv4: which do you need?
Either works, depending on your broker:
- IPv6 is supported by most modern broker APIs and is what lets a provider hand you a dedicated address for free.
- 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, SEBI compliant IPv6 static IP for free while we grow the network, with IPv4 at cost for brokers that still require it.
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? Get a free static IP here.
Keep reading
Can a static IP provider see your trades? What TLS actually hides
If your trades route through a provider's static IP, can they read your orders or positions? The short answer is no, and here is exactly why, in plain terms.
ReadStatic IP vs VPS for algo trading: which one do you actually need?
A static IP and a VPS solve different problems. Many traders rent a whole VPS just for its fixed address and overpay. Here is how to tell which one your setup needs.
Read