Which VPS for algo trading in India with a static IP for the broker API?
Pick a Linux server in Mumbai or Delhi NCR whose public IPv4 address stays the same for as long as you keep it. If you place orders through a broker API from code you wrote yourself, Indian brokers accept those orders only from the IP you register. If you use an empanelled algo provider's platform hosted at your broker, the broker's server IP is used and you don't need one. AWS Lightsail in Mumbai bundles a static IP into its plan price, AWS EC2 charges for the Elastic IP by the hour, and Indian providers such as E2E Networks and Bigdomainhost bill in rupees, so compare the total monthly cost, the region and whether you need Windows. Latency to the exchange matters less than you might think, because your orders go to your broker's systems first, not straight to NSE or BSE.
Bigdomainhost wrote this guide and is one of the providers in the table below. Prices are as each provider lists them on its own site, checked on 21 November 2026, and they change, so check again before you buy. We have not measured ping from any of these servers to NSE, BSE or any broker, so the table says so rather than guess.
| Provider | Monthly cost with a static IP, as listed | Region in India | OS | Ping to NSE/BSE | Notes |
|---|---|---|---|---|---|
| AWS Lightsail | From $5 USD/mo on Linux (0.5 GB RAM, 2 vCPUs, 20 GB SSD) or $7 USD/mo (1 GB); Windows from $9.50 USD/mo. A static IP address is included in all plans. | Asia Pacific (Mumbai) | Linux or Windows | Not measured | Billed in US dollars. AWS says Mumbai plans include half the data-transfer allowance of each bundle. Often the cheapest simple option if dollar billing suits you. |
| AWS EC2 + Elastic IP | Instance: see site. Public IPv4, including an Elastic IP: $0.005 USD per hour, in use or idle (about $3.60 USD per 30 days). | Asia Pacific (Mumbai) | Linux or Windows, priced separately | Not measured | You pay for each part by usage. The better choice if the rest of your setup already runs on AWS. |
| Vultr | See site | Mumbai, Delhi NCR and Bangalore | See site | Not measured | Vultr's website refused our automated check, so we could not confirm a price today. The regions come from Vultr's public API region list. |
| E2E Networks | From ₹894.02/month on Linux (E1LC-2.6GB: 2 vCPUs, 6 GB RAM), plus a reserved IP at $3.00 USD per calendar month. Windows plans from ₹6,951.04/month with the licence included. Prices exclude GST. | Delhi NCR and Chennai | Linux or Windows | Not measured | Indian company, billed in rupees by the hour. No Mumbai region is listed on its pricing page. |
| Bigdomainhost | ₹674 per 30 days for 2 vCPUs, 4 GB RAM and 40 GB NVMe on Linux, with a dedicated IPv4 address included. Windows Server 2019 or 2022 needs a licence, priced on request. Prices exclude 18% GST. | Mumbai (BOM-1) and Delhi NCR (DEL-1), same price | Linux or Windows | Not measured | Prepaid 30-day periods from a rupee wallet, no free trial. Phone support in IST hours, WhatsApp at any time. Confirm with us that the IP stays with your server before you register it. |
None of these is right for everyone. If you want the lowest price and are fine with dollar billing, Lightsail is hard to beat. If you need Chennai, or prefer an Indian cloud company that bills hourly in rupees, look at E2E Networks. If you want a rupee price in Mumbai or Delhi NCR and someone to call in IST hours, that is where we fit. Whichever you choose, register the server's address with your broker only once you know it will not change.
Static IP rules by broker
Each broker below needs a registered static IP to place orders through its API, but not for market data or other calls that only read information. This applies when you place orders from code you wrote yourself. NSE's FAQ on retail algo trading says that if you trade through an empanelled algo provider's platform hosted on your broker's infrastructure, the broker's server IP is used, not yours. The details differ, so read your own broker's page before you set anything up.
- Zerodha (Kite Connect): a static IP is required for API-based order placement from 1 April 2026; the WebSocket market data stream and APIs such as the order book and positions work from any IP. You add up to two IPs (one primary, one optional secondary) in the developer console, can change them once per calendar week, and may share an IP only with immediate family through one developer account. Source: Zerodha's static IP article.
- Upstox: placing, modifying and cancelling orders, multi orders, GTT orders and exit-all must come from a registered static IP; holdings, positions, funds and historical candles are not restricted. You get one primary and one secondary IP, in IPv4 or IPv6. An IP is linked to one customer, except within a linked family group of up to 5 members, and you can change it once per calendar week, after which existing access tokens stop working. Sources: Upstox's algo registration and static IP notice (which still says one customer per IP); an Upstox developer confirmed family sharing in the Upstox Community on 23 October and 11 November 2026.
- Dhan (DhanHQ): static IP whitelisting is mandatory for the order placement APIs (Orders, Super Order, Forever Order) but not for fetching order or trade details. You set a primary and a secondary IP, in IPv4 or IPv6, each person needs a unique static IP, and a whitelisted IP cannot be changed for 7 days. Source: DhanHQ API authentication docs.
- Fyers: a static IP is required only for order placement; data APIs and other non-trading APIs do not need one. The Fyers team says it is "one app, one IP" and that shared IPs are not allowed, except a common static IP for family members on request. Fyers staff also say a home connection works only if your ISP gives you a static IP. Sources: Fyers API page; Fyers Community threads 12267 (March 2026) and 22987 (4 August 2026).
- Angel One (SmartAPI): from 1 April 2026, API orders are accepted only from your registered primary static IP; you may add a secondary static IP for redundancy, and update the mapping no more than once a calendar week. An IP can be mapped to one client at a time, or shared within a family as SEBI defines it on a written request with 2FA validation. Angel One says a no-code platform hosted on the broker's servers needs no static IP from you. Source: Angel One's SmartAPI changes from 1 April 2026.
- Kotak Neo (Trade API): the IP is checked only on order APIs (place, modify and cancel); login, reports, portfolio, data and WebSocket calls work from any IP, and the API session must be created from the same IP that sends the orders. You can register a primary and an optional secondary IP, change them once every 7 days (then start a new session), and add up to 10 family members to share the IP. IPv4 is supported now, with IPv6 to follow. Source: Kotak Neo's static IP page.
- ICICI Direct (Breeze API): orders must be placed only from the static IP registered with ICICI Direct when you get your API key, and the primary or secondary IP can be updated only once a week. Source: ICICI Direct's Breeze Python SDK README.
The Upstox, Angel One, Kotak Neo and ICICI Direct pages and the community threads above were checked on 23 November 2026; the Zerodha, Dhan and Fyers API pages on 21 November 2026.
If you used Streak
Streak says it will discontinue its platform and all associated services from 4:00 PM on 10 December 2026, and Zerodha shows the same notice (banner on Zerodha's technicals site, linking to Streak's full notice). What you need next depends on where your strategy runs. If you trade through Zerodha and move to your own code on Kite Connect, placing orders through the API, Zerodha needs a registered static IP, as described above. If you move to an empanelled algo provider's platform hosted at your broker, the broker's server IP is used and you don't need your own. Ask your broker which applies to you. For a step-by-step look at the options and a checklist for before the deadline, see Streak is shutting down: what to use next.
Behind all of these is SEBI's February 2025 retail algo circular, which the exchanges turned into implementation standards. NSE circular NSE/INVG/67858 (5 May 2025) says clients must give their broker a static IP for API access, may add a secondary IP for redundancy, and may change it no more than once a calendar week, though a client can ask the broker for a further change in extraordinary cases. An IP can be mapped to one client at a time, or shared within a family as defined in SEBI's circular of 3 December 2024, if the client asks the broker in writing, from the registered email address or with 2FA validation. It also sets a threshold of 10 orders per second per exchange, above which a client's algo must be registered. SEBI's circular SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/132 (30 September 2025) set a glide path to full implementation on 1 April 2026.
A later NSE circular, NSE/INSP/77559 dated 20 November 2026 and applicable with immediate effect, says the retail algo framework took effect on 1 April 2026 and that the static IP is intended only for "tech-savvy" retail investors who develop their own algos using programming knowledge. Brokers and algo providers must not, under any circumstances, give static IP access to other retail clients; NSE says some empanelled algo providers had been handing out static IPs "under the guise" of clients being tech-savvy. Brokers must take an undertaking from each such client in two parts: that the client develops their own algos using programming knowledge, and that the client has no recourse to the exchange's Investor Grievance mechanism for losses caused by the logic of the algo. A broker that does not take the undertaking faces a penalty of ₹5,000 per client, up to ₹1 lakh, with a 50% escalation the second time and 100% from the third; an algo provider in breach may have its empanelment suspended or revoked. Renting a server does not change which category you fall into. If you use a ready-made strategy from an algo provider, ask your broker how it has to be run before you rent a server for it.
What a trading VPS is for
Trading software only works while it is running and connected. MetaQuotes says as much in the MetaTrader 5 help: robots, copied signals and similar setups "require constant connection to a trade server and uninterrupted power supply." A home PC on a broadband line struggles with both. A power cut, a forced Windows update, a router restart or a closed laptop lid can stop an expert advisor in the middle of a trade.
A VPS moves the terminal or bot onto a server in a data centre, with its own power and network, which you reach over Remote Desktop (Windows) or SSH (Linux). Your strategy and your broker account stay yours; the server just keeps them running. MetaQuotes sells its own virtual hosting inside the terminal for this reason, and lets you choose the hosting server closest to your broker to cut latency. A general-purpose VPS does the same job and can also run anything else you need alongside it, such as a Python bot, a store of tick data or a small dashboard.
The usual setups are:
- MetaTrader with expert advisors, which must stay open for the EA to act.
- Signal copying, where a terminal mirrors another account's trades.
- An API bot written in Python, Node.js or similar, placing orders through a broker's API such as Zerodha's Kite Connect.
A VPS only runs the trading software. It does not make a broker, app or platform legitimate, and it cannot protect money held by one that is not. For shares and derivatives, trade through a broker registered with SEBI. For forex, resident Indians may deal only with entities authorised by the Reserve Bank of India, and only in permitted rupee currency pairs on SEBI-recognised exchanges or RBI-authorised electronic trading platforms. RBI publishes an Alert List of unauthorised forex trading platforms on the Reserve Bank of India website; check it before you install any forex app on your server.
Windows or Linux VPS for MT5 and trading bots
MetaTrader 5 is a Windows program, and MetaQuotes' installation page lists Windows 10 and 11 as the supported systems. Windows Server, which most Windows VPSs run, is not on that list. In practice that means you should install your terminal, EAs and indicators on the server and watch them through a full session before you rely on them.
MT5 also runs on Linux through Wine, a compatibility layer for Windows programs. MetaQuotes publishes an installer script for Ubuntu, Debian, Linux Mint and Fedora, and says to run it as a normal user, not with sudo. That saves the Windows licence, but you are running a Windows program through a translation layer, so test every EA and custom indicator you depend on before you trust it with money.
Bots that talk to a broker's API directly do not need Windows at all. A Linux server costs less, builds faster and is easier to automate with scripts and scheduled jobs.
| Windows VPS | Linux VPS | |
|---|---|---|
| MetaTrader 5 | Runs natively; MetaQuotes lists Windows 10 and 11, so test on Windows Server | Runs through Wine; test your EAs and indicators |
| Python or Node.js API bots | Yes | Yes, and the usual choice |
| How you log in | Remote Desktop (RDP), full desktop | SSH, command line |
| Operating-system licence | Windows Server licence | None |
| Memory for the system itself | Microsoft's minimum is 2 GB with the desktop | No desktop to run unless you add one |
| Build time on our platform | 5–10 minutes | Under 60 seconds |
How much RAM and CPU does a VPS for trading need?
There is no official figure. MetaQuotes says hardware requirements depend on how you use the platform, and it does not publish a memory figure per terminal. Treat any "1 GB per terminal" rule you read online as somebody's estimate, not a specification.
What is published is the floor for Windows itself. Microsoft lists a minimum of 2 GB of RAM for Windows Server 2019 and 2022 with the Desktop Experience (1 GB for Server Core, which has no desktop), and for Windows Server 2025 a minimum of 2 GB with 4 GB recommended for the Desktop Experience. A 32 GB disk is the absolute minimum. Microsoft itself says to test your own deployment rather than rely on these numbers, and your terminals, charts and EAs come on top of them.
So size by measuring. Open every terminal you plan to run, with the charts and EAs you will use live, and watch memory and CPU through a full trading session, including the busiest part of your market's day. If memory stays near the top, move up a size. On our servers the control panel shows live metrics, and a resize applies new CPU and RAM on the next boot, so schedule it outside market hours. Disk grows online but cannot be shrunk later.
If you trade several accounts, MetaQuotes says to install a separate copy of the terminal in a different directory for each one. Every copy uses its own memory, so test with the number of terminals you will actually run.
CPU is a second question. A VPS shares physical CPU time fairly between customers, with room to burst, which suits a terminal or bot that spends most of its time waiting for ticks. A VDS pins dedicated cores to your server, so heavy EAs or several busy terminals run at a steady speed whatever the neighbours are doing. Backtests and optimisation runs can use every core you give them, so it is often better to run them on a separate machine than on the server that is trading live.
As a starting point on our plans:
| Setup | Where to start | Notes |
|---|---|---|
| One API bot on Linux | Starter KVM VPS: 2 vCPU, 4 GB RAM, 40 GB NVMe, ₹674 (US$7.66)/mo | Plenty for most single bots; watch memory if you also store tick data |
| One or two MetaTrader terminals | KVM VPS with Windows Server 2019 or 2022 | Windows needs a licence, so ask us for the price on your plan size; allow for Windows' own memory |
| Several terminals or heavy EAs | Windows VDS 4: 4 dedicated cores, 16 GB RAM, 240 GB NVMe, ₹4,499 (US$51.13)/mo | Windows Server licence included; set up after an enquiry |
Prices exclude 18% GST, and each /mo price covers one 30-day period. The Linux price above does not include a Windows licence.
Mumbai or Delhi? Choose the region by ping to your broker
Every order and every price update makes a round trip between your terminal and the broker's trade server. What matters is the distance between your server and that trade server, not the distance from your home. That is why MetaQuotes' own hosting picks the server nearest the broker.
Brokers do not always publish where their trade servers sit, so measure rather than guess from the broker's name or head office. Set up the server, connect your terminal or bot, and compare the ping your terminal reports, or the time your API calls take, from each region you are considering.
For reference, from our Mumbai region (BOM-1), users within Mumbai see 6–12 ms and Pune around 14–22 ms. Mumbai to Singapore is roughly 55–70 ms, and Mumbai to US East 220–260 ms. If your broker's trade server turns out to be in another continent, a server in India adds that distance to every order, and a server near the broker may suit you better. Our Delhi NCR region (DEL-1) costs the same as Mumbai, so the choice can rest on the ping alone. You can check your own connection with our latency test.
A fixed IP for broker APIs and algo trading
Brokers tie API orders to a registered IP address. Zerodha is one example: its Kite Connect FAQ says orders from unregistered IPs are rejected, while other API calls still work from any IP, and its static IP article dates the requirement to 1 April 2026. (The FAQ itself still says 1 April 2025; the exchange's framework took effect on 1 April 2026.) A home broadband connection often does not give you a fixed address, while a server has one, so a server is the simpler place to run an API bot that places orders.
NSE's operational modalities circular, NSE/INVG/69255 (22 July 2025, Annexure I, para 14), says retail algo strategies run on the broker's servers, and NSE's FAQ and NSE/INSP/77559 add that a tech-savvy client "is required to host the Algo using a static IP at their end" instead. A server you rent and control is one way to host code at your end. NSE does not mention VPSs, and renting one does not make you a tech-savvy client; ask your broker whether you qualify.
The rules come from SEBI's circular Safer participation of retail investors in Algorithmic trading (SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/0000013, dated 4 February 2025) and the exchanges' implementation standards, summarised above. Brokers apply rules in this area in their own ways, so read your broker's current API terms and the circular itself rather than relying on a blog post, this one included.
On our platform each server gets its own public IPv4 address. Before you register it with your broker, confirm with us that the address stays with the server for as long as you keep it. If you later replace the server, expect to register the new address with your broker.
Securing Remote Desktop on a trading VPS
A server that holds broker logins and API keys is worth attacking, and Remote Desktop is a common way in. Microsoft notes that turning Remote Desktop on opens a port on the machine, and CISA's ransomware guide says not to expose services such as RDP on the web without compensating controls. On a Windows trading server:
- Keep Network Level Authentication on. Microsoft recommends it whenever possible, so a login is checked before a desktop session starts.
- Use a strong, unique password for every account that can log in remotely, and turn on account lockout so repeated guesses are blocked.
- Allow RDP only from your own addresses. Our servers deny inbound traffic by default except SSH on port 22, and you edit the inbound rules for each server in the control panel, so check that the rule for your RDP port exists and limit it to the IPs you connect from. Close any port you do not use.
- Use multi-factor authentication where you can, and keep a log of RDP logins so you can spot one you did not make.
- Protect the account that controls the server. Turn on two-factor authentication in our client area, and invite anyone who helps you as a separate user with their own login rather than sharing yours.
If a firewall change locks you out, the out-of-band console in the control panel still lets you in. For more on Windows itself, see our Windows VPS guide.
Backups, uptime and keeping the server paid
CISA also advises keeping offline, encrypted backups and testing them regularly. On a trading server, the things worth backing up are small: the terminal's folder with your EAs, indicators and settings, and your bot's code and configuration. Keep a copy off the server as well.
On our servers, snapshots are taken by hand and cost ₹5 per GB per month; take one after setup and before any big update. Scheduled off-server backups are an add-on. Network and power are covered by a 99.9% uptime SLA with service credits, and DDoS filtering is free on every plan. An SLA pays credits; it cannot stop a missed trade, so build your EA or bot to handle a dropped connection safely.
Billing matters more for a trading server than for a website, because a suspended server stops your EA. Servers are billed in 30-day periods, paid in advance from a rupee wallet, and the first 30 days are charged when you order. A renewal invoice is raised 3 days before the period ends and, with auto-renew on (the default), is paid from the wallet. If a renewal goes unpaid, the server is suspended 2 days after the due date and deleted 7 days after that, so keep the wallet topped up. There is no setup fee and no free trial, and deleting a server early does not refund the rest of the period, so even a one-day test costs 30 days. How server billing works has the detail.
A checklist before you go live
- Does the operating system match your software: Windows for MetaTrader, Linux or Windows for an API bot?
- Have you run every terminal and EA through a full session and watched memory and CPU?
- Have you measured ping to your broker's trade server from each region you considered?
- If your broker's API needs a registered IP, have you registered the server's address?
- Is NLA on, RDP limited to your own IPs, and two-factor authentication on the hosting account?
- Have you taken a snapshot after setup and kept a copy of your EAs and bot code off the server?
- Is the wallet funded for the next renewal, with auto-renew on?
- Have you read your broker's current API terms?
This guide is about the server your trading software runs on. It is not investment advice, and it does not say whether any strategy, broker or algorithm suits you.
Sources (checked )
- MetaQuotes: Virtual Hosting - MetaTrader 5 Help
- MetaQuotes: Platform Installation - MetaTrader 5 Help
- MetaQuotes: Installation on Linux - MetaTrader 5 Help
- Microsoft Learn: Hardware Requirements for Windows Server
- Microsoft Learn: Enable Remote Desktop on your PC
- CISA: #StopRansomware Guide
- Securities and Exchange Board of India: Safer participation of retail investors in Algorithmic trading (SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/0000013)
- Zerodha Support: Kite connect API - FAQs
- Reserve Bank of India: Reserve Bank of India (Alert List and FEMA notices)
Added for the provider table and broker rules, each checked :
- AWS: Amazon Lightsail pricing (checked 21 Nov 2026)
- AWS: Amazon EC2 On-Demand pricing (checked 21 Nov 2026)
- AWS: Amazon VPC pricing, public IPv4 addresses (checked 21 Nov 2026)
- Vultr: Vultr API region list (checked 21 Nov 2026); Vultr pricing page, archived 17 Oct 2026 (vultr.com refused our check on 21 Nov 2026)
- E2E Networks: E2E Networks pricing (checked 21 Nov 2026); E2E Networks rate card in INR (checked 21 Nov 2026)
- Zerodha Support: What is a static IP and how to add one to your developer account? (checked 21 Nov 2026)
- Upstox Developer API: Algo Registration & Static IP Requirement (checked 21 Nov 2026)
- DhanHQ: API documentation, Authentication and Setup Static IP (checked 21 Nov 2026)
- Fyers: FYERS Trading API (checked 21 Nov 2026)
- National Stock Exchange of India: Circular NSE/INVG/67858, Safer participation of retail investors in Algorithmic trading (5 May 2025), archived copy (checked 21 Nov 2026)
Added for the regulatory detail, broker rules and Streak notice, each checked :
- Securities and Exchange Board of India: Circular SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/132 (30 September 2025), extension of timeline and glide path to 1 April 2026
- National Stock Exchange of India: Circular NSE/INVG/69255, Detailed Operational Modalities (22 July 2025), archived copy
- National Stock Exchange of India: FAQ on Retail Algo (3 November 2025), archived copy
- National Stock Exchange of India: Circular NSE/INSP/77559 (Ref. No. 58/2026, 20 November 2026), on nsearchives.nseindia.com (not linked because the NSE archive does not answer automated link checkers and blocks web archives)
- Upstox Community: Upstox API vps setup questions and Can we use multiple accounts with single static IP
- Fyers Community: thread 12267 and thread 22987
- Angel One: What's Changing in Angel One's SmartAPI Access from April 1, 2026
- Kotak Neo: Static IP Whitelisting for Retail Algo Trading
- ICICI Direct: Breeze Python SDK README
- Zerodha: Streak discontinuation banner on technicals.zerodha.com, linking to Streak's full notice