Before you begin#
Open Broker settings, find HDFC SKY and choose Connect HDFC SKY. The setup panel shows your dedicated static IP, and once you save credentials, your personal Redirect URL. Use only the values shown in your own account.
Create your HDFC SKY app#
- In SSAlgo's HDFC SKY panel, choose Get my dedicated IP if no IP is shown yet, and copy it.
- Sign in at developer.hdfcsky.com and open My Apps.
- Create an app with Trading API ticked. Enter your dedicated IP as the Primary Static IP.
- For the redirect URL, enter any placeholder for now; you will replace it in step 7.
- Activate the app. New HDFC SKY apps start deactivated, and logins fail until you activate yours.
- Copy the app's API key and API secret into SSAlgo and choose Save credentials.
- SSAlgo now shows your personal Redirect URL. Copy it into your HDFC SKY app's redirect URL setting and save the app.
Connect#
- Choose Continue to HDFC SKY (or Connect HDFC SKY).
- Log in to HDFC SKY, complete the OTP and approve access.
- On return, check the status and run Health check.
Log in again each trading day; HDFC SKY sessions are daily. See reconnection and expired sessions.
Updating credentials#
Saving new credentials does not replace a working session immediately. They are used the next time you reconnect.
What a connected status means#
It records authentication. It does not confirm order permissions, contract availability, quote readiness, or successful execution for a strategy.
HDFC SKY only accepts limit orders from API apps; SSAlgo sends protected limit orders automatically. MCX orders through HDFC SKY are not enabled yet.
Common setup issues#
- Login rejected: check the API key and secret with Edit credentials, and make sure the app is activated in My Apps.
- IP rejected: the Primary Static IP on your app must be exactly the dedicated IP SSAlgo shows.
- Login didn't complete: the redirect URL in your HDFC SKY app must match the one SSAlgo shows, character for character.
If the problem continues, contact support with the error shown.