Tutorial

How to Buy a Static IP from AlgoIP and Use It on TradeCraft

Buy one IPv4 on AlgoIP, copy Host, Port, User and Password, and paste them into TradeCraft. It tests the IP before saving, so you know it works.

Written by Geet Ramchandani

Published 4 min read

Buy one IPv4 IP on AlgoIP, copy four details from its dashboard (Host, Port, User, Password), and paste them into TradeCraft under Use my own static IP. TradeCraft tests the IP and shows it to you. Register that IP at your broker, then connect. About 15 minutes, plus AlgoIP's approval time.

Before you start

  • About ₹299 a month for one IPv4 on AlgoIP (price at the time of writing, with their launch offer).
  • Your broker login. This guide uses Dhan; the steps are the same for other brokers.
  • Two tabs open: AlgoIP and TradeCraft.

Step 1: Buy the IP on AlgoIP

  1. On algoip.in, open Pricing. Choose Single Broker Integration and pick your broker.
  2. Keep 1 IPv4 IP and click Reserve Bundle.
AlgoIP plan page with Single Broker Integration and Dhan selected, one IPv4 IP, and the Reserve Bundle button
1One IPv4 IP is all you need.
  1. Enter your email and WhatsApp number, then Proceed to Payment and pay.
AlgoIP checkout form with email and phone hidden, and the Proceed to Payment button
1Use an email you'll keep. It is your AlgoIP login.
  1. Wait for AlgoIP's approval. They say it usually takes under 4 hours.

Step 2: Copy four details from AlgoIP

Open your AlgoIP dashboard. You'll see two cards. Use the one labelled IPv4 Proxy.

AlgoIP dashboard with two IP cards; the IPv4 Proxy card on the right is outlined
2Copy from the IPv4 Proxy card, not the free IPv6 one.
In TradeCraftCopy from AlgoIP
Proxy IP or server name2. Host
Port3. Port (443)
User4. USER_ID (starts with aip_live_)
Password5. PASSWORD (starts with aip_sec_)

Step 3: Add the IP in TradeCraft

  1. Go to Brokers, find your broker and click Connect.
  2. Choose Use my own static IP.
TradeCraft Register your trading IP window with Use my own static IP highlighted
3Pick your own IP instead of a TradeCraft one.
  1. Keep AlgoIP as the provider, paste the four details and click Test and save.
TradeCraft form with AlgoIP selected, host, port, user and password filled in, and Test and save highlighted
3Plan end date is optional. Add it so you know when to renew.
  1. You'll see Connection works and your IP. Click Copy.
TradeCraft confirming the connection works and showing the IP to register, with an I've registered it button
3This is the IP your broker must allow. Keep this window open.

Step 4: Register the IP at your broker

Paste the IP as your primary static IP in your broker's API settings. On Dhan: Profile → Get Trading & Data APIs → Add IP (full Dhan steps).

Step 5: Connect your broker

  1. Back in TradeCraft, click I've registered it.
  2. Fill in your broker's details. For Dhan: Client ID, PIN and TOTP secret (where to find them).
  3. Click Connect.
TradeCraft Connect Dhan window with Client ID, PIN and TOTP Secret filled in
5Same connect step as always. Your orders now go out from your AlgoIP IP.

Check it's working

On the Brokers page, Your own static IPs shows your IP with a green Working badge and the account using it.

Your own static IPs panel showing the IP with a Working badge, AlgoIP, the plan end date and Used by Dhan
Working, and used by your Dhan account.

If something goes wrong

You seeDo this
Your provider didn't accept that username and passwordCopy User and Password again from the IPv4 card
We couldn't reach your provider's serverCheck Host, and that Port is 443
Your provider's server refused the test connectionAlgoIP hasn't approved the plan yet, or it has ended. Check your AlgoIP dashboard
We connected but couldn't confirm an IPv4 addressYou copied the IPv6 card. Use the IPv4 Proxy card
That IP is already in use on TradeCraftWrite to us (below)
Badge shows Login rejectedYour AlgoIP password changed. Click Update login and paste the new one
Orders rejected with DH-905 Invalid IPThe IP on Dhan doesn't match. Fix it on Dhan, then click Reconnect

Still stuck? Write to [email protected] with the exact message. Never send your password.

Key takeaways

  • Buy IPv4, and copy from the IPv4 Proxy card.
  • Four details: Host, Port, User, Password.
  • Register the IP at your broker before you connect.
  • One IP works at more than one broker: add it once, choose it at each connect.

Frequently asked questions

Does TradeCraft charge for using my own IP?
No. You pay AlgoIP directly. TradeCraft charges nothing for routing your orders through an IP you bought.
Which AlgoIP card do I copy from, IPv4 or IPv6?
The IPv4 Proxy card. AlgoIP adds a free IPv6 card to your plan, but Indian brokers only accept IPv4.
Can I use one AlgoIP IP at two brokers?
Yes. Add the IP to TradeCraft once, register it at each broker, and choose it when you connect each account.
Is my AlgoIP password safe on TradeCraft?
It is stored encrypted and is never shown again after you save it, not even to you.
Can I change the IP later?
Brokers limit this. Dhan, for example, locks your static IP for 7 days after you set it. Pick the IP you will keep.

Want to try this yourself?

TradeCraft lets you build a strategy, backtest it against historical data, and deploy it on paper before risking a rupee — using your own broker account.

About the author

Geet Ramchandani

Founder & Engineer, TradeCraft

Geet is the founder of TradeCraft, a platform built for retail traders to automate their strategies and mirror trades across broker accounts. With 5+ years of experience trading the markets and hands-on experience with algorithmic trading, he writes about trading systems, execution, backtesting, risk, and what it takes to build them in the real world.