Algo trading with HDFC Securities Ltd
Connect your HDFC Securities Ltd account to MyAlgoMate and automate your execution — one-click orders, risk controls and fast exits, no coding required.
Connecting HDFC Securities Ltd
MyAlgoMate connects to HDFC Securities through the HDFC Sky API. In the HDFC Sky developer portal you create a Trading API app to get your API Key and API Secret, activate the app, and register a static IP. You enter the API Key and API Secret into the broker login form in MyAlgoMate, and — because HDFC Sky uses a one-time password at login — you complete a quick OTP login each trading day to authorise the connection.
Use HDFC Securities Ltd with
Your HDFC Securities Ltd account works with all 6 of these MyAlgoMate products — plus custom automation of your own strategy.
- Stockmock and Algotest strategy automation tool (Time Based Straddle Strangle)
- Trademate
- Copy Trading Software
- TradeBridge
- Cloud Server for Algo Trading
- RMS Tool
- Custom strategy automation — your own logic, automated; you set the rules and stay in control.
Setting up HDFC Securities Ltd
Step 1 — Create a Trading API app and copy your API Key and Secret
- Log in to the HDFC Sky developer portal at developer.hdfcsky.com (with your HDFC Sky Client ID / email / mobile and the OTP).
- Go to My Apps → Create, register a Trading API app, and submit it.
- Open the app and copy your API Key and API Secret.
Step 2 — Activate your app
Step 3 — Register your static IP (mandatory)
A registered static IP is required for placing orders through the API (SEBI retail algo-trading rules, in force since 1 April 2026). Supply your static IP when you create the app.
- Which IP to use: your ISP's static IP if you run MyAlgoMate on your own machine, or your cloud machine's static IP if you run it on a server.
No static IP or cloud machine yet? Our Cloud Server for Algo Trading is a cloud machine specialised for algo trading, and it comes with its own static IP you can register.
Step 4 — Enter the details in MyAlgoMate and log in each day
- Open the broker login form in MyAlgoMate and enter your API Key and API Secret, then save.
HDFC Sky uses a one-time password (OTP) at login, sent to your registered mobile or email — not a stored TOTP secret. So each trading day you complete a quick OTP login to authorise MyAlgoMate for the session. This is an HDFC Sky requirement.
What you need to collect
To connect HDFC Sky, the broker login form in MyAlgoMate needs two details:
- API Key — from your Trading API app in the HDFC Sky developer portal
- API Secret — shown with the API Key in the same app
You also register a static IP on HDFC Sky's side, and you complete a short OTP login each trading day (below).
Logging in each trading day
HDFC Sky signs you in with a one-time password (OTP) sent to your registered mobile or email — not a stored TOTP secret. So HDFC Sky can't run fully unattended: each trading day you complete a quick OTP login to authorise MyAlgoMate for the session, then it trades to the rules you set. This is an HDFC Sky requirement.
No Redirect URL to enter
You don't enter a Redirect URL for HDFC Sky in MyAlgoMate — MyAlgoMate handles the connection callback. You only create the app for your API Key and Secret, activate it, register your static IP, and complete the daily OTP login.
Static IP — required by HDFC Sky
Since 1 April 2026, SEBI's retail algo-trading rules require a registered static IP for API order placement — HDFC Sky only accepts API orders that originate from your registered static IP. Use your ISP's static IP if you run MyAlgoMate on your own machine, or your cloud machine's static IP if you run it on a server.
If you don't have a static IP, our Cloud Server for Algo Trading is a cloud machine built for algo trading and includes a static IP you can register.
Cost
The HDFC Sky API is free to use.
Please check with HDFC Securities for latest terms.
Keep your credentials private
Your API Key and API Secret are the keys to your own trading account — never share them with anyone. MyAlgoMate provides the automation technology; you set the rules and stay in control of your own trades.
HDFC Securities Ltd — questions
What HDFC Sky details does MyAlgoMate need?
Your API Key and API Secret from a Trading API app in the HDFC Sky developer portal. You also register a static IP on HDFC Sky's side and complete a quick OTP login each trading day.
Where do I get my HDFC Sky API Key and Secret?
Log in to the HDFC Sky developer portal at developer.hdfcsky.com, go to My Apps → Create, register a Trading API app, then open it to copy the API Key and API Secret.
My HDFC Sky connection fails immediately — what should I check?
Make sure you activated the app — new apps are created deactivated — and that the static IP you registered matches the machine running MyAlgoMate.
Why do I have to log in to HDFC Sky every day?
HDFC Sky uses a one-time password (OTP) at login, sent to your mobile or email — not a stored TOTP secret. So each trading day you complete a quick OTP login to authorise MyAlgoMate for the session.
Do I need a Redirect URL for HDFC Sky?
No. You don't enter a Redirect URL in MyAlgoMate — MyAlgoMate handles the connection callback.
Do I need a static IP for HDFC Sky API trading?
Yes. Supply a static IP when you create the app in the developer portal. You can change a registered static IP only once every 7 days.
Is the HDFC Sky API free?
Yes, the HDFC Sky API is free to use.
Automate on HDFC Securities Ltd, the compliant way
Connect in minutes, automate without code, and stay in control — with a team that answers.

