Static IP for OpenAlgo

Yes, OpenAlgo needs a static IP. It's self-hosted software, so your broker sees the IP of the machine running OpenAlgo, and order calls are accepted only from an IP registered with the broker. If that machine is a home PC or a server without a fixed IP, you can send OpenAlgo's broker calls through a proxy with a dedicated IP.

Last checked against the platform's own docs on 13 November 2026

Why OpenAlgo needs your own IP

Two ways to get the static IP

  1. Run OpenAlgo on a server with a static IP. A cloud VPS with a reserved IP works. OpenAlgo's docs cover this route.
  2. Keep OpenAlgo where it is and route broker calls through a proxy. Useful if you run it on your own PC, or on a server whose IP you can't keep.

Route OpenAlgo through a proxy

OpenAlgo's shared broker HTTP client is built on httpx with environment proxy settings kept, and OpenAlgo loads its .env file at startup. So you can add the proxy to .env:

HTTPS_PROXY = 'http://USER:PASS@HOST:PORT'
HTTP_PROXY = 'http://USER:PASS@HOST:PORT'
NO_PROXY = 'localhost,127.0.0.1'

NO_PROXY keeps OpenAlgo's calls to itself, and tools like AmiBroker posting to it locally, off the proxy. Restart OpenAlgo after the change.

  1. Check the proxy's exit IP from the same machine: curl -x http://USER:PASS@HOST:PORT https://ifconfig.co
  2. Register that address with your broker. Most brokers allow one change a week. See your broker's page.
  3. Confirm the broker sees the right address before trading. Some brokers show it: Kotak Neo has a "what's my IP" call and Dhan shows a detected IP in its sandbox.

Some broker integrations in OpenAlgo also stream market data. Brokers usually check the IP only on order calls, so streaming needn't go through the proxy.

IPv4 or IPv6?

That's set by your broker, not OpenAlgo. Zerodha, Upstox and Dhan accept IPv6, which is cheaper. Angel One accepts only IPv4. Check static IP by broker.

OpenAlgo static IP: FAQs

Do I need a static IP if I run OpenAlgo on my laptop?

Yes. Your broker sees your laptop's public IP, which changes on most home connections. Either move OpenAlgo to a server with a static IP or route its broker calls through a dedicated-IP proxy.

Can AmiBroker or TradingView use the same IP through OpenAlgo?

Yes. They send signals to OpenAlgo, and OpenAlgo places the orders, so only OpenAlgo's broker calls need to leave from the static IP.

Sources

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

Other platforms

AmiBroker bridges

AmiBroker sends signals to a bridge on your machine, and the bridge calls your broker's API. That machine's IP must be registered with the broker. How to set it up.

TradingView webhooks

TradingView only sends the alert. The server that receives it places the order, and that server's IP must be registered with your broker. When you need one and when you don't.

Tradetron

Tradetron strategies run on Tradetron's servers, so your own IP never reaches the broker. Where a broker needs an IP, Tradetron supplies it. When you'd still need one.

AlgoTest

AlgoTest runs strategies in its own cloud and sells a machine with a fixed IP for brokers that need one. Your own static IP isn't needed for AlgoTest orders.

Stoxxo

Stoxxo runs on your own PC or VPS and places orders through your broker API, so your broker needs that IP registered. Use Stoxxo's proxy setting with a dedicated static IP.

All platforms · Static IP by broker