Static IP for a Trading Bot
The bot is compute. The static IP is network identity. Do not bind the whitelist to the VPS NIC; bind it to a dedicated proxy so you can move the process.
- Architecture: Bot → Algo-IP proxy → dedicated IP → broker API
- Python and Node on the same credentials
- REST and ticker must share the proxy
- Pre-market api.ipify.org check
Architecture
- Trading bot (home / office / VPS / Docker)
- HTTP CONNECT to HOST:443
- Dedicated Indian static IP
- Broker REST + WebSocket
Python
proxies = {"https": "http://USER:PASS@HOST:443"}
# attach to requests / SDK session
Node.js
Use an explicit HttpsProxyAgent. Node fetch() does not always honour HTTPS_PROXY. Full page: /integrations/nodejs.