Features
Now, let’s take a look at how to add IIFL account in Stocks Developer.
The process to onboard IIFL trading account on AutoTrader Web.
IMPORTANT: If your account is on XTS api, then please speak to your relationship manager to shift it to ONT (also known as new IIFL Markets Api).
Generate API Keys
- Go to https://developers.iiflcapital.com/
- Login as Individual Trader
- Click Create App button
- App Name: My retail app
- Redirect URL: https://webx.stocksdeveloper.in/auth/iifl
- Static IP: See below “Static IP Setup“
Setup TOTP
- Go to https://markets.iiflcapital.com/
- Login with your credentials & then you will be asked for an SMS OTP
- On this same screen, you will see an option called Register TOTP
- During TOTP registration, you will get an option called “Can’t Scan. Copy the key“
- We will need this key, so save it.
- A detailed document is attached at the bottom of this page which describes TOTP setup with screenshots.
Add your account
- Go to AutoTrader Web menu (Settings -> Trading Accounts)
- Click Create button
- Select Broker: IIFL
- Select Platform: IIFL_MARKETS_API_IPV6
- Add following
- Login Id
- Password
- TOTP Key
- API Key
- API Secret (Click “3 dots” to open API menu & click “View all details”)
- Click Validate button
- Once you see a success message, click Save button
Static IP Setup
This is a 2 step process:
1. Before Account Creation
- During creation of your API on the broker’s website, create API with a dummy IP address
- IP Type: IPv4
- Primary Static IP: Just google “what is my ip” & enter your IP (we will update this later, see below section “Static IP Setup”)
- Algo Registration Type: Non-Registered
- Now add your account in our system (as explained above) & then come back to Step 2 given below.
2. After Account Creation
Once your account is added in our system, then do the following:
- Get Static IP
- In our system, go to menu (Settings -> Trading Account)
- Click the “Pencil icon” next to your account to EDIT it
- Click “Get Static IP” button
- You will get static IPs unique to your account
- Assign Static IP in our newly created API on broker’s API screen
- IP Type: IPv6
- Primary Static IP: (You will be shown in the EDIT screen)
- Secondary Static IP: (You will be shown in the EDIT screen)
- Algo Registration Type: Non-Registered (less than 10 orders / second)
For further help, check this YouTube video showing “How to map Static IP?“