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.

24 June 2026 · Last updated 27 October 2026 · 3 min read

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:

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:

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:

  1. Your new IP is no longer on the broker's whitelist.
  2. Your API requests start failing authentication.
  3. 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:

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.

Get IPv6 · ₹50/mo + GSTGet IPv4 · ₹200/mo + GST

Keep reading

13 November 2026

Angel One SmartAPI: "static IP is already associated with another app"

SmartAPI won't let you create an app because the static IP is already used. Why Angel One maps one IP to one client, and how to trade two accounts.
13 November 2026

Dhan API: DH-905 "Invalid IP"

Dhan rejects API orders with DH-905 Invalid IP when they come from an address it doesn't have on file, or when the token predates the IP. Fixes, step by step.
13 November 2026

Kite Connect: "IP address is already linked to another account"

Zerodha won't save your static IP because it's linked to another account. Why it happens, family sharing rules, and how to fix it without breaking Zerodha's terms.