IIFL
Add and validate your IIFL account in AutoTrader Web.
To use IIFL with AutoTrader Web, generate API keys on the IIFL developer portal, register a TOTP key, then add the account under Accounts -> Trading Accounts using platform IIFL_MARKETS_API_IPV6. If your account is on the XTS API, ask your relationship manager to move it to the ONT (new IIFL Markets API) first.
This page explains how to onboard an IIFL trading account on AutoTrader Web. There are three steps: generate API keys, set up TOTP, and add the account.
Important: If your account is on the XTS API, please speak to your relationship manager to shift it to ONT (also known as the new IIFL Markets API). The steps below apply to ONT accounts.
Demo video
Generate API keys
- Go to https://developers.iiflcapital.com/
- Login as Individual Trader
- Click the Create App button
- App Name: My retail app
- Redirect URL:
https://webx.stocksdeveloper.in/auth/iifl - Static IP: See Static IP setup below
Set up TOTP
- Go to https://markets.iiflcapital.com/
- Login with your credentials. You will then 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 need this key, so save it.
A detailed document with screenshots is attached at the bottom of this page.
Add your account
- Go to the AutoTrader Web menu Accounts -> Trading Accounts.
- Click the Create button.
- Select Broker: IIFL
- Select Platform: IIFL_MARKETS_API_IPV6
- Add the following:
- Login Id
- Password
- TOTP Key
- API Key
- API Secret (Click the 3 dots to open the API menu, then click View all details)
- Click the Validate button.
- Once you see a success message, click the Save button.
Static IP setup
The static IP setup is the same for every broker. Follow the full guide here:
Static IP setup — set up a static IP or bring your own (BYOIP)
References
Bracket and cover orders on IIFL
Whether IIFL offers a bracket or a cover order of its own — and in which segments — is set by the broker, and it can change. Many Indian brokers withdrew bracket orders in 2020 and never brought them back.
You can place one anyway. An AutoTrader bracket order (AT_BO) attaches a target and a stop-loss to your IIFL order, with an optional trailing stop that follows the price in your favour and never moves back. An AutoTrader cover order (AT_CO) is the same thing with a stop-loss only. Your entry reaches IIFL as an ordinary intraday order — the one thing every broker accepts — and AutoTrader Web watches the price and sends the closing order when your level is reached.
Place one from the order window, from your own code, or from a chart alert. It is intraday only, it does not give you the extra intraday margin some brokers give on their own bracket orders, and the position is squared off automatically a short while before the market closes.
Read the risk before you use it. A stop-loss decides when we try to exit — it does not decide the price you get. A sudden move can take the price straight past your level, so your loss can be larger than the stop-loss you set. The full explanation, and the one-time terms you agree to before your first one, are on Bracket & Cover Orders.
Frequently asked questions
Does AutoTrader Web support IIFL?▾
Yes. IIFL is fully supported. You can connect one or many IIFL accounts and monitor live P&L, holdings and positions, place and manage orders, and copy trade across all of them from one screen, on web or mobile.
Can I copy trade with IIFL?▾
Yes. You can copy trade with IIFL in two ways — PMS copy from our terminal and master-child copy in the background — across accounts and brokers, with per-account sizing. You set up and control everything.
Can I manage multiple IIFL accounts together?▾
Yes. Add as many IIFL accounts as you like and see consolidated P&L, holdings and positions live, and trade across all of them at once.
How much does it cost to use IIFL with AutoTrader Web?▾
AutoTrader Web is ₹295 to ₹495 per account per month, with all taxes included, and a free 1-month trial. Your account also needs a static IP — this is required for every broker, not optional. It is ₹100 per month for one IPv6 static IP — you get a primary and a backup address, and the backup is included free (taxes included) — or bring your own IP for free. If IIFL charges separately for API access, that fee is set by the broker.
Can I place a bracket order on IIFL?▾
Yes. You can place an AutoTrader bracket order (AT_BO) or cover order (AT_CO) on your IIFL account, whether or not IIFL offers one of its own. It attaches a target, a stop-loss and an optional trailing stop, and it works because your entry goes to IIFL as an ordinary intraday order while AutoTrader Web watches your levels. It is intraday only and gives no extra margin, and a sudden price move can still take your exit past the level you set.
Next steps
Thanks for the feedback. Still stuck? Contact support.
Last updated 8 August 2026