---
title: "Home Static IP vs VPS vs Proxy for Algo Trading"
description: "Three ways to get a broker-whitelistable IP in India: an ISP static IP, a VPS with a reserved IP, or a static IP proxy. Costs in INR, CGNAT, and IPv6 traps."
canonical: https://fixedmark.com/blog/home-static-ip-vs-vps-vs-proxy-for-algo-trading
updated: 2026-11-10
source: Fixedmark (https://fixedmark.com), BitMask LLP
---

Algo trading · 11 min read

# Home Static IP vs VPS vs Proxy for Algo Trading

You can get a broker-whitelistable IP from your ISP on a business plan, from a VPS or cloud VM with a reserved IP, or from a dedicated static IP proxy. For most retail traders, a VPS in India (from about ₹375 a month) or a dedicated proxy beats a home line, because consumer fibre connections are usually dynamic, often behind CGNAT, and can send orders over IPv6.

## What the broker actually checks

Under SEBI's retail algo framework, your broker accepts API orders only from an IP address you registered with it. The [SEBI rules post](https://fixedmark.com/blog/sebi-algo-trading-static-ip-rules) covers the circulars and dates. This post compares where the IP can come from.

When an order request reaches the broker, it compares the source IP of the connection with the addresses on your app. [Zerodha](https://support.zerodha.com/category/trading-and-markets/general-kite/kite-api/articles/static-ip) requires a static IP for API order placement from 1 April 2026, and says the WebSocket market data stream and read APIs such as orderbook and positions are not restricted. So only your order calls need the fixed IP. Your data feed can come from anywhere.

Three broker rules shape every option below.

- Two slots. Most brokers take one primary IP and one optional secondary IP. [Upstox](https://upstox.com/developer/api-documentation/appendix/my-apps-support-for-algo-trading-circular/) says each user has two, and orders are accepted only from them.
- Slow changes. Zerodha and [Angel One](https://www.angelone.in/news/market-updates/what-s-changing-in-angel-one-s-smartapi-access-from-april-1-2026) allow one change per calendar week. [Kotak Neo](https://www.kotakneo.com/platform/kotak-neo-trade-api/static-ip-details/) allows one every 7 days. An IP that drifts costs you a week.
- Exclusive use. Zerodha asks you to confirm the IPs will be used exclusively by you and your immediate family. Angel One maps a static IP to one client at a time, with family sharing on a written request and 2FA validation. An address shared with strangers fails this test.

Kotak Neo and [Angel One](https://smartapi.angelone.in/smartapi/forum/post/18513) accept only IPv4 static IPs for now. Zerodha, Upstox, and Dhan accept IPv4 or IPv6.

## Option 1: a static IP from your ISP

### Why your home IP does not qualify today

A normal home fibre plan gives you a dynamic IP. It changes when the router reconnects. On a [Kite Connect forum thread](https://kite.trade/forum/discussion/comment/53031/), a JioFiber user reports that the IP changes every time the power goes out. With a one-change-per-week limit, that alone rules the line out.

Many home and mobile connections are also behind carrier-grade NAT (CGNAT). Your router does not get a public IPv4 address at all. It gets one from the shared range `100.64.0.0/10`, which [RFC 6598](https://www.rfc-editor.org/rfc/rfc6598.html) reserves for exactly this purpose. The ISP then translates many subscribers to one public address. That public address is shared with strangers and can change without notice. You cannot honestly confirm it is used only by your family, so do not register it.

Find the WAN IP on your router's status page, then compare it with what the internet sees.

**Terminal**

```bash
# The IPv4 address the internet sees for your connection
curl -4 -s https://api.ipify.org; echo

# Your IPv6 address, if the line has one (fails if it does not)
curl -6 -s https://api6.ipify.org; echo

# Now open your router's status page and read its WAN IPv4.
# WAN starts with 100.64 to 100.127   -> you are behind CGNAT
# WAN differs from the curl -4 result -> some NAT sits upstream
# WAN equals the curl -4 result       -> public IP, maybe still dynamic
```

You can also open [What's my IP](https://fixedmark.com/tools/whats-my-ip) in a browser on the same network. The [CGNAT post](https://fixedmark.com/blog/expose-a-local-service-behind-cgnat) explains the mechanism in more detail.

### Getting a real static IP from Jio, Airtel, or ACT

A static IP in India is usually a business product. [Tradejini's guide](https://www.tradejini.com/support/knowledge-base/api/static-ip/basic/how-do-i-get-a-static-ip-from-my-isp) tells clients to ask their ISP for a static IP on a business broadband plan, and warns you may need to upgrade. What the three big fibre providers publish is thin.

- Jio. The [Business Broadband Max](https://www.jio.com/business/services/connectivity/business-broadband-max) page lists a public static IP among the features, with no price on the page. Treat consumer JioFiber as dynamic.
- Airtel. Airtel's [B2B blog](https://www.airtel.in/b2b/insights/blogs/what-is-static-ip/) offers static IP plans to businesses through a request form. It names no price and says nothing about home Xstream Fiber plans.
- ACT Fibernet. ACT sells a static IP as a paid add-on through customer support. In a [March 2026 TechEnclave thread](https://techenclave.com/t/act-fibernet-provide-static-ip/419810), one customer reports paying ₹250 plus GST a month, and another was quoted ₹350 plus GST. These are user reports, not a price list.

We could not find an official, published static IP price from Jio, Airtel, or ACT. Ask for a written quote for your city and plan, and confirm the address is IPv4 and dedicated to your connection.

### How a home static IP fails

Even a true static IP leaves you with one line, one router, and one machine. A fibre cut, a long power cut, or a surprise Windows update reboot stops your orders. The IP also belongs to the connection, not to you. Move house or change ISP and you get a new address, and the weekly change limit applies. Filling the secondary slot means a second static line from a second ISP, which few people pay for.

## Option 2: a VPS or cloud VM with a reserved IP

A small Linux VM in Mumbai or Bangalore runs your bot 24 hours a day, close to the brokers. The catch is the address. On most clouds the default public IP is temporary. You need the provider's reserved or static IP product, attached to the VM.

- AWS EC2. The auto-assigned public IPv4 is [released when the instance is stopped, hibernated, or terminated](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html), and a new one comes back on start. Use an Elastic IP. Since February 2024 AWS charges [$0.005 per hour for every public IPv4 address](https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address-charge-public-ip-insights/), about $3.65 a month, on top of the instance. The [IPv4 charge post](https://fixedmark.com/blog/aws-public-ipv4-charge-explained) has the details.
- AWS Lightsail. The default IP [changes every time you stop and restart](https://docs.aws.amazon.com/lightsail/latest/userguide/lightsail-create-static-ip.html). A static IP is [free while attached](https://docs.aws.amazon.com/lightsail/latest/userguide/understanding-static-ip-addresses-in-amazon-lightsail.html) and charged when unattached. The cheapest [bundle with public IPv4](https://aws.amazon.com/lightsail/pricing/) is $5 a month, and Mumbai bundles get half the listed transfer allowance.
- DigitalOcean. The cheapest [Basic Droplet](https://www.digitalocean.com/pricing/droplets) is $4 a month, with a datacenter in Bangalore. [Reserved IPs](https://docs.digitalocean.com/products/networking/reserved-ips/details/pricing/) are free when assigned to a Droplet and cost $5 a month when not.
- Oracle Cloud. The [Always Free tier](https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm) includes small VMs in your home region. An ephemeral [public IP](https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingpublicIPs.htm) is deleted when the instance is terminated, while a reserved public IP exists until you delete it. We could not confirm from Oracle's docs how many reserved IPs a free tenancy gets, so check the limit in your console. Oracle may reclaim idle Always Free instances when CPU and network use stay under 20% for 7 days, and a bot that waits for signals can look idle.

Here is the reserved-IP step on the two AWS products. Run it before you register anything with your broker, then register the address the last command prints.

**Lightsail**

```bash
# Mumbai is ap-south-1. The instance "trading-bot" already exists.
aws lightsail allocate-static-ip \
  --static-ip-name trading-bot-ip --region ap-south-1

aws lightsail attach-static-ip \
  --static-ip-name trading-bot-ip \
  --instance-name trading-bot --region ap-south-1

# The address to register with your broker
aws lightsail get-static-ip \
  --static-ip-name trading-bot-ip --region ap-south-1 \
  --query 'staticIp.ipAddress' --output text
```

**EC2**

```bash
# Allocate an Elastic IP in Mumbai and attach it to the instance
ALLOC_ID=$(aws ec2 allocate-address --domain vpc --region ap-south-1 \
  --query 'AllocationId' --output text)

aws ec2 associate-address --region ap-south-1 \
  --instance-id i-0123456789abcdef0 --allocation-id "$ALLOC_ID"

# The address to register with your broker
aws ec2 describe-addresses --region ap-south-1 \
  --allocation-ids "$ALLOC_ID" \
  --query 'Addresses[0].PublicIp' --output text
```

### How a VPS fails

The IP stays put, but you now run a server. You patch it, secure SSH, and restart the bot after a crash. Filling the secondary slot means a second VM, ideally in another zone, with its own reserved IP and its own copy of the bot or a failover plan. That doubles the cost. A common self-inflicted outage is recreating the VM to resize it and forgetting to move the reserved IP.

## Option 3: a static IP proxy

A static IP proxy is a server with a fixed public IP that relays your connections. Your bot connects to the proxy, sends an HTTP CONNECT request for the broker's host, and the proxy opens the TCP connection to the broker. The broker sees the proxy's IP. TLS runs end to end between your bot and the broker through that tunnel, so a passthrough proxy carries encrypted bytes it cannot read. The [CONNECT walk-through](https://fixedmark.com/blog/http-connect-proxy-explained) shows this on the wire.

The bot can now run anywhere. A home desktop, a laptop, Railway, or AWS Lambda all reach the broker from the same address. The [serverless post](https://fixedmark.com/blog/algo-trading-on-serverless-with-a-static-ip) covers that setup.

Broker SDKs built on Python `requests` can usually take a proxy. The official Python client for Kite Connect takes a `proxies` argument and passes it to every `requests` call, as its [source](https://github.com/zerodha/pykiteconnect/blob/master/kiteconnect/connect.py) shows. Route only the client that places orders, and leave the market data socket direct.

**bot.py**

```python
# pip install kiteconnect requests
import os

import requests
from kiteconnect import KiteConnect

proxy = os.environ["FIXEDMARK_PROXY_URL"]  # or any static IP proxy URL
proxies = {"http": proxy, "https": proxy}

# Confirm the broker will see the IP you registered
print(requests.get("https://api.ipify.org", proxies=proxies, timeout=10).text)

kite = KiteConnect(
    api_key=os.environ["KITE_API_KEY"],
    access_token=os.environ["KITE_ACCESS_TOKEN"],
    proxies=proxies,
)
print(kite.profile()["user_id"])
```

### What to check before you pick one

- Dedicated, not shared. A proxy IP shared with other customers fails the exclusive-use rule, exactly like a CGNAT address. Ask the provider in writing whether the address is yours alone.
- Not rotating. Rotating and residential proxies change the exit IP by design. They are the wrong product.
- IPv4. Kotak Neo and Angel One accept only IPv4 static IPs today.
- Close to the broker. Each order takes one extra hop. A proxy in Mumbai adds little for a bot in India. A proxy in another country adds a full round trip.
- What it can see. A passthrough proxy sees the broker's hostname, timing, and byte counts, but not your API key or orders. A proxy that terminates TLS can read everything. The [passthrough post](https://fixedmark.com/blog/tls-passthrough-zero-knowledge-proxy) shows how to verify which one you have.

Measure the extra hop instead of guessing. Run the same request direct and through the proxy and compare the totals.

**Terminal**

```bash
FMT='connect %{time_connect}s  tls %{time_appconnect}s  total %{time_total}s\n'

# Direct
curl -s -o /dev/null -w "$FMT" https://api.kite.trade/

# Through the proxy
curl -s -o /dev/null -w "$FMT" --proxy "$FIXEDMARK_PROXY_URL" https://api.kite.trade/
```

### How a proxy fails

You depend on someone else's servers. If the provider's node is down, your orders stop, so a single-IP proxy has the same single point of failure as a single VPS. A provider that runs two IPs on two hosts lets you fill both broker slots with addresses that fail independently. The [failover post](https://fixedmark.com/blog/static-ip-pairs-and-failover) explains why that matters. The proxy credential is also a secret. Anyone who has it can send traffic from your registered IP.

## Cost in rupees, side by side

Dollar prices are converted at about ₹94 to the dollar, close to the [RBI reference rate](https://www.msei.in/markets/Currency/Historical-Data/RBIReferenceRateArchives.aspx) in early November 2026. Add GST where it applies. The cheapest row is not always the cheapest choice, because the home and VPS options cost time to run.

_Monthly cost of one whitelistable IP, November 2026 (approximate)_

| Option                                | Monthly cost                                                                    | Second slot            | You run              |
| ------------------------------------- | ------------------------------------------------------------------------------- | ---------------------- | -------------------- |
| ACT static IP add-on                  | About ₹250 to ₹350 plus GST on top of the plan (user reports)                   | Needs a second line    | Home PC, router, UPS |
| Jio or Airtel business plan           | Quote only, business plan required                                              | Needs a second line    | Home PC, router, UPS |
| DigitalOcean Basic Droplet, Bangalore | $4, about ₹375, reserved IP free while assigned                                 | Second Droplet         | A Linux server       |
| Lightsail bundle, Mumbai              | $5, about ₹470, static IP free while attached                                   | Second instance        | A Linux server       |
| EC2 Elastic IP, Mumbai                | $3.65, about ₹345, for the address, plus the instance                           | Second instance and IP | A Linux server       |
| Oracle Cloud Always Free              | ₹0 for the VM, check your reserved IP limit                                     | Second free VM         | A Linux server       |
| Fixedmark India Trader (planned)      | See [planned India pricing](https://fixedmark.com/india/algo-trading-static-ip) | Included with the pair | Only your bot        |

## The IPv6 trap on dual-stack lines

This one breaks setups that look correct. If the `curl -6` check above printed an address, your line is dual-stack. Several broker API hosts publish both IPv4 (A) and IPv6 (AAAA) DNS records. When we ran `dig AAAA` on 10 November 2026, `api.kite.trade`, `api.upstox.com`, `api.dhan.co`, and `api.icicidirect.com` all returned IPv6 addresses.

Operating systems usually prefer IPv6 when both work, because the [RFC 6724](https://www.rfc-editor.org/rfc/rfc6724.html) default policy gives IPv6 higher precedence than IPv4. So your bot connects to the broker over IPv6, and the broker sees your IPv6 address, not the IPv4 you registered. The order is rejected even though your static IPv4 is correct. On a dynamic line the IPv6 prefix can change too, so registering it is no fix, and Kotak Neo and Angel One do not accept IPv6 yet.

If the bot connects directly from home or from a dual-stack VPS, force IPv4 for the order client. In Python, `requests` builds on `urllib3`, and one line restricts its DNS lookups to IPv4.

**Python**

```python
import socket

import requests
import urllib3.util.connection as urllib3_connection

# Resolve IPv4 only for every requests call in this process,
# including broker SDKs built on requests.
urllib3_connection.allowed_gai_family = lambda: socket.AF_INET

# api64 answers over whichever family you connect with.
# It should now print your IPv4 address.
print(requests.get("https://api64.ipify.org", timeout=10).text)
```

**Linux host**

```bash
# Turn IPv6 off for the whole VM, for a box that only runs the bot.
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

# Should fail now, since there is no IPv6 left
curl -6 -s --max-time 5 https://api6.ipify.org || echo "no IPv6"
```

A proxy removes the problem for the order path. Your bot connects to the proxy, and the proxy connects to the broker. The broker sees the proxy's address whatever family your home line prefers. The [IPv6 post](https://fixedmark.com/blog/ipv6-egress-and-ipv4-only-allowlists) covers other clients and clouds, and the [troubleshooting guide](https://fixedmark.com/blog/fixing-ip-not-whitelisted-errors-on-broker-apis) covers other causes of rejected orders.

## Which option fits which trader

- Pick a home static IP if you already pay for a business line with a dedicated IPv4, your machine has a UPS, and you watch it during market hours. Do not pick it on consumer JioFiber or Airtel Xstream.
- Pick a VPS if you are happy running a Linux server and want the bot itself in a data centre near the broker. Use a reserved IP from day one, and budget for a second VM if you want the secondary slot to mean something.
- Pick a dedicated static IP proxy if the bot runs somewhere whose IP you do not control (a laptop, a PaaS, serverless), or if you want both broker slots filled without running two servers.
- Mix them if you like. A VPS IP in the primary slot and a proxy IP in the secondary slot gives two independent paths, as long as both are yours alone.

Whichever you choose, verify the exact address the broker will see before you register it, because a wrong entry can cost you a week. Each [broker guide](https://fixedmark.com/docs/brokers) lists that broker's slots and change limits.

## Doing this with Fixedmark

Fixedmark is the proxy option, built in India. The planned India Trader plan gives you dedicated IPv4 addresses in Mumbai. See [planned India pricing](https://fixedmark.com/india/algo-trading-static-ip). It is in early access, and prices may change before launch. The pair runs on two nodes, so you register one IP as primary and one as secondary. Each new connection can leave from either IP, so register both. Kotak Neo needs the session created from the IP that sends the orders, so ask [Fixedmark support](https://fixedmark.com/docs/support) before you rely on the pair with Kotak Neo.

1. 1

   **Set the proxy URL as a secret** Store `FIXEDMARK_PROXY_URL` as an environment variable on the machine or platform that runs your bot.
2. 2

   **Check the egress IPs** Run `curl --proxy "$FIXEDMARK_PROXY_URL" https://fixedmark.com/api/ip` a few times and confirm each answer is one of your pair. Seeing only one address is fine. The [verify guide](https://fixedmark.com/docs/verify-egress-ip) has more checks.
3. 3

   **Register both addresses** Follow your broker's page, for example the [Zerodha guide](https://fixedmark.com/docs/brokers/zerodha), to add the pair as primary and secondary.
4. 4

   **Route only the order client** Pass the proxy to the client that places orders, as in the Kite example above. The [Python docs](https://fixedmark.com/docs/python) cover `requests` and `httpx`.

The trial and Starter run on a shared IP pair. Do not register shared addresses with a broker. Use a dedicated plan for whitelisting. This post is technical information, not legal or investment advice. Check your broker's current rules before you register an IP.

## Sources

Checked November 2026. Confirm current details on the vendor's site before you decide. Prices and limits change.

- [Zerodha support: static IP for Kite Connect](https://support.zerodha.com/category/trading-and-markets/general-kite/kite-api/articles/static-ip)
- [Kotak Neo: static IP details for the Trade API](https://www.kotakneo.com/platform/kotak-neo-trade-api/static-ip-details/)
- [Angel One: what is changing in SmartAPI access from April 1, 2026](https://www.angelone.in/news/market-updates/what-s-changing-in-angel-one-s-smartapi-access-from-april-1-2026)
- [Upstox developer docs: My Apps support for the algo trading circular](https://upstox.com/developer/api-documentation/appendix/my-apps-support-for-algo-trading-circular/)
- [SmartAPI forum: important updates to SmartAPI in compliance with SEBI guidelines](https://smartapi.angelone.in/smartapi/forum/post/18513)
- [RFC 6598: IANA-reserved IPv4 prefix for shared address space](https://www.rfc-editor.org/rfc/rfc6598.html)
- [Kite Connect forum: static IP is not supported by Jio fiber](https://kite.trade/forum/discussion/comment/53031/)
- [TechEnclave: does ACT Fibernet provide static IP](https://techenclave.com/t/act-fibernet-provide-static-ip/419810)
- [Jio: Business Broadband Max](https://www.jio.com/business/services/connectivity/business-broadband-max)
- [Tradejini: how do I get a static IP from my ISP](https://www.tradejini.com/support/knowledge-base/api/static-ip/basic/how-do-i-get-a-static-ip-from-my-isp)
- [AWS: Amazon EC2 instance IP addressing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html)
- [AWS News Blog: new AWS public IPv4 address charge](https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address-charge-public-ip-insights/)
- [AWS: Lightsail static IP addresses](https://docs.aws.amazon.com/lightsail/latest/userguide/understanding-static-ip-addresses-in-amazon-lightsail.html)
- [AWS: create and attach a Lightsail static IP](https://docs.aws.amazon.com/lightsail/latest/userguide/lightsail-create-static-ip.html)
- [DigitalOcean: Droplet pricing](https://www.digitalocean.com/pricing/droplets)
- [Airtel Business: what is a static IP](https://www.airtel.in/b2b/insights/blogs/what-is-static-ip/)
- [RFC 6724: default address selection for IPv6](https://www.rfc-editor.org/rfc/rfc6724.html)
- [ipify: IPv4 and IPv6 address API](https://www.ipify.org/)
- [AWS: Lightsail pricing](https://aws.amazon.com/lightsail/pricing/)
- [DigitalOcean: reserved IP pricing](https://docs.digitalocean.com/products/networking/reserved-ips/details/pricing/)
- [Oracle Cloud: Always Free resources](https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm)
- [Oracle Cloud: public IP addresses](https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingpublicIPs.htm)
- [GitHub: pykiteconnect connect.py](https://github.com/zerodha/pykiteconnect/blob/master/kiteconnect/connect.py)
- [MSEI: RBI reference rate archive](https://www.msei.in/markets/Currency/Historical-Data/RBIReferenceRateArchives.aspx)

Keep reading

## Related guides

- [Guide Static IP for algo trading A dedicated Mumbai IPv4 pair for broker whitelisting, priced in rupees.](https://fixedmark.com/india/algo-trading-static-ip)
- [Tool What's my IP See the address your connection shows the internet right now.](https://fixedmark.com/tools/whats-my-ip)
- [Integration AWS Lambda A fixed IP for Lambda without VPC, subnets, and two NAT Gateways.](https://fixedmark.com/integrations/aws-lambda)
- [Integration Railway A dedicated IP pair for Railway services when shared static IPs are not enough.](https://fixedmark.com/integrations/railway)
- [Guide Security Zero-knowledge TLS passthrough and per-token destination allowlists.](https://fixedmark.com/security)

## Frequently asked questions

### Can I register my JioFiber or Airtel home IP with my broker?

Usually not. Consumer plans give a dynamic IP that changes on reconnect, and many lines sit behind CGNAT, where your public IPv4 is shared with other subscribers. Ask your ISP for a dedicated static IPv4, which is usually sold on business plans.

### Can I use a VPN for broker whitelisting?

A normal consumer VPN shares each exit IP among many users and changes it between sessions, so it fails both the static and the exclusive-use rules. Only an address dedicated to you and your family fits.

### Does my bot have to run on the machine that owns the static IP?

Not with a proxy. Only the connection that reaches the broker needs the fixed IP. Your code can run at home, on a laptop, or on a cloud platform and send its order calls through the proxy.

### What happens to my IP if I resize or recreate my VPS?

An ephemeral or auto-assigned IP is lost when the instance is stopped or deleted on most clouds. A reserved IP (Elastic IP, Lightsail static IP, DigitalOcean reserved IP, OCI reserved public IP) survives, but you must attach it to the new VM yourself.

### Is a free Oracle Cloud VM good enough for algo trading?

It can work with a reserved public IP. The risk is Oracle's idle reclamation rule for Always Free instances, which a low-CPU bot can trigger. Keep a paid fallback ready if a lost VM would cost you trading days.
