Static IP for Stoxxo
Yes, if Stoxxo places orders through your own broker API key. Stoxxo is software you install on your own PC or a VPS, so your broker sees that machine's public IP, and API orders are accepted only from an IP you've registered with the broker. Stoxxo has a proxy setting, so you can send its broker connections through a dedicated static IP without moving it to a new machine.
Why Stoxxo needs your own IP
- Stoxxo runs on your computer or a VPS, not on the broker's servers. Algobaba, which makes Stoxxo, describes its VPS as an option for users who can't use their own computer.
- NSE's retail algo FAQ says a client running their own algo hosts it with a static IP at their end, and that a client static IP is needed when you use the API yourself.
- Brokers accept API orders only from a registered IP, and most let you change it only once a week.
Two ways to get the static IP
- Run Stoxxo on a machine with a static IP, such as a VPS whose IP is fixed and only yours. Algobaba sells VPS plans with a static IP.
- Keep Stoxxo where it is and use its proxy setting with a dedicated static IP. Useful when you run Stoxxo on your own PC, on a home connection whose IP changes, or want to keep the same order IP when you move machines.
Set up a dedicated IP in Stoxxo
- Pick the IP type your broker accepts. Zerodha, Upstox and Dhan accept IPv6; Angel One, Samco and Kotak Neo need IPv4. See static IP by broker.
- Get the proxy details from your TrueIP dashboard: host, port, username and password.
- Check the exit address from the same machine:
curl -x http://USER:PASS@HOST:PORT https://ifconfig.co - Register that address with your broker, in the same place you manage your API app.
- Enter the host, port, username and password in Stoxxo's proxy setting, then restart the broker connection so it logs in again through the proxy.
- Place a small test order before you rely on it.
Some brokers check the IP on the login too, not just on orders, and some bind the session to the IP it was created from. Logging in again after you turn on the proxy covers both. If you trade through several broker accounts in Stoxxo, the same dedicated IP can be registered with each of your own accounts.
Stoxxo static IP: FAQs
Do I need a static IP for Stoxxo?
Yes, if Stoxxo places orders through your own broker API key. Your broker sees the IP of the machine running Stoxxo, or of the proxy you set in Stoxxo, and it must be one you've registered.
Can I use IPv6 with Stoxxo?
That depends on your broker, not Stoxxo. Use IPv6 for brokers that accept it, such as Zerodha, Upstox and Dhan, and IPv4 for Angel One, Samco and Kotak Neo.
Do I still need a VPS?
Only if you need Stoxxo running when your own computer is off. For the static IP alone, the proxy setting is enough.
Sources
- Algobaba: virtual private servers
- NSE: FAQs on retail algo trading
- Zerodha: static IP for Kite Connect
Get your dedicated static IP
IPv6 ₹50 a month, IPv4 ₹200 a month, plus GST. Live in minutes, whitelisted once.