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.
Does MyAlgoMate work with HDFC Securities Ltd?
Yes. Your HDFC Securities Ltd account works with 8 MyAlgoMate products: StockMock & AlgoTest Strategy Automation, TradeMate, Copy Trading Software, TradeBridge, Cloud Server for Algo Trading, RMS Tool, Virtual Trading Environment and Trade Scalper. In copy trading, a HDFC Sky account can be the master or a child — see copy trading with HDFC Sky, step by step. You connect it once with your own HDFC Securities Ltd API details. MyAlgoMate provides the technology only — the software places the orders you set up, and gives no tips or advice.
Last updated:
Connecting HDFC Securities Ltd
MyAlgoMate connects to HDFC Securities through the HDFC Sky Open API (the HDFC Securities API for placing orders). 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 8 of these MyAlgoMate products — plus custom automation of your own strategy.
- StockMock & AlgoTest Strategy Automation
- TradeMate
- Copy Trading Software — see HDFC Sky copy trading (master or child, API and static IP)
- TradeBridge
- Cloud Server for Algo Trading
- RMS Tool
- Virtual Trading Environment
- Trade Scalper
- 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.
HDFC Securities API: what it is and what it covers
When people search for the HDFC Securities API, the one that lets your own software place orders is the HDFC Sky Open API. HDFC Sky is HDFC Securities' trading platform, and its developer portal is developer.hdfcsky.com. MyAlgoMate connects to this API, so you do not write any code: you create an app in the portal, copy two values, and enter them in MyAlgoMate.
As described on HDFC Sky's own Open API guide (updated October 2026), the APIs are free to use and cover:
- Trading API — place buy and sell orders
- Position API — view your open positions
- Holding API — view the investments you hold
- Market Data API, GTT Order API and WebSockets — listed by HDFC Sky as "coming soon" at the time of writing, so they are not something to plan around yet
HDFC Securities' own algo trading page also names its Open API, which lets traders and developers connect external applications to its trading systems, alongside a Smart Order Routing feature that works inside the HDFC Securities platform. Smart Order Routing is not part of MyAlgoMate; MyAlgoMate uses the Open API connection.
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).
HDFC Securities API setup checklist
Tick these off in order. Each line says where the item comes from and where it goes:
- Active HDFC Sky trading account — this is the account the API trades on; you log in to the developer portal with its Client ID, email or mobile number plus an OTP
- Trading API app — created in the developer portal under My Apps, then Create
- Static IP — typed into the app when you create it; each trading account needs its own, and it can be changed only once in 7 days
- Activate the app — new apps start deactivated; activate it in My Apps before connecting, or every attempt fails
- API Key and API Secret — copied from the activated app and entered in the HDFC Sky broker login form in MyAlgoMate
- Daily OTP login — one quick OTP each trading day to authorise MyAlgoMate; HDFC Sky does not offer a stored TOTP, so this part cannot run unattended
- Redirect URL — nothing to enter; MyAlgoMate handles the callback
HDFC Sky and HDFC Securities: the same connection
HDFC Securities and HDFC Sky are the same broker for this purpose, so this single page covers both names. You will not find a second "HDFC Securities" API in MyAlgoMate: pick HDFC Securities (HDFC Sky) in the broker list and use the HDFC Sky developer portal. The HDFC Sky Open API is also different from a bank's partner or open-banking API: it is the trading API for your own HDFC Securities account.
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.
Is the HDFC Securities API the same as the HDFC Sky API?
For placing orders from your own software, yes. HDFC Sky is HDFC Securities' trading platform and its Open API is published at developer.hdfcsky.com. MyAlgoMate lists it as HDFC Securities (HDFC Sky) and this one page covers both names.
Which HDFC Sky APIs are available today?
HDFC Sky's own guide lists the Trading, Position and Holding APIs as available, and the Market Data API, GTT Order API and WebSockets as coming soon. Check the HDFC Sky developer portal for the latest list.
Can I use the HDFC Securities API without writing code?
Yes. MyAlgoMate does the API work for you. You only create the app in the HDFC Sky developer portal, activate it, register a static IP, and enter the API Key and API Secret in MyAlgoMate.
Automate on HDFC Securities Ltd, the compliant way
Connect in minutes, automate without code, and stay in control — with a team that answers.