AlgoDevStudio Logo AlgoDevStudio
Developer Resource

Static IP Setup & Integration Guide

Step-by-step instructions to configure your dedicated proxy credentials and whitelist your source IP with leading Indian brokers.

1

Whitelist with your Broker

Copy the Whitelist IP listed on the right and paste it into your broker's API settings or developer console. This tells the broker to only accept requests originating from this address.

Zerodha Console Apps > Redirect & Postback IP
Upstox API Developer Console > Authorized IPs
Groww / Dhan Settings > API Keys > IP Whitelisting
2

Connection Details (Sample)

These credentials format matches what you received in your dashboard or mail. Use them to configure your routing middleware.

Whitelist IP 2401:c080:2400:2f10::146
Proxy Host quant.algodevstudio.in
Proxy Port 10146
Username u_demo_user
Password demo_password_xyz
Protocol HTTP / HTTPS

Important: Keep your proxy credentials secure. Real credentials can be viewed under the Static IP Management section inside your client dashboard.

3. Integration Code Samples

Select your runtime to view connection middleware samples.

# Install requests package if needed: pip install requests import requests # Mock connection parameters proxy_host = "quant.algodevstudio.in" proxy_port = "10146" proxy_user = "u_demo_user" proxy_pass = "demo_password_xyz" # Format authenticated proxy URL proxy_url = f"http://{proxy_user}:{proxy_pass}@{proxy_host}:{proxy_port}" proxies = { "http": proxy_url, "https": proxy_url, } # Target Broker API Endpoint (e.g. Groww API) api_url = "https://api.groww.in/v1/orders" headers = {"Authorization": "Bearer YOUR_API_TOKEN"} payload = { "symbol": "NIFTY", "quantity": 50, "order_type": "MARKET" } # Send order requests via your Dedicated Static IP proxy response = requests.post(api_url, json=payload, headers=headers, proxies=proxies) print(response.status_code) print(response.json())

Performance & Design Best Practices

  • Selective Proxy Routing: Route only sensitive order execution traffic (like order placement, updates, and cancellations) through the proxy to conserve proxy bandwidth and minimize latency.
  • Bypass Market Feeds: Do not route WebSocket feeds or live market data HTTP requests through the proxy. Market data endpoints do not require whitelisting, and bypassing the proxy keeps your data feed fast.
  • Reconnection Policies: Keep proxy sockets open (using connection pools) to ensure zero handshake latency for speed-critical order executions.