Free trial
Menu
Broker integrationIIFL Capital API

IIFL Algo Trading with QuantPower

Connection guide. Verify current release/account availability before relying on this setup. Check Available connections.

IIFL algo trading with QuantPower runs your own strategy rules on your IIFL account through the official Trading APIs of IIFL Capital, the new name of IIFL Securities. You create your own API app, register a static IP with IIFL and log in each trading day with two-factor authentication, and your funds and securities stay with IIFL.

What you need
  1. 01An IIFL trading account, with F&O enabled if you trade options or futures. Accounts opened under the IIFL Securities name work the same way.
  2. 02Your own IIFL API app, created free, with its app key and secret.
  3. 03A static IP address registered with IIFL as the app's primary static IP. Orders from any other address are blocked.
  4. 04Your IIFL login with two-factor authentication, once every trading day.
  5. 05A QuantPower plan with algo bots. The QuantPower Standard plan is free during the Beta (₹299/month after); Professional is ₹499/month and Ultimate ₹999/month, GST extra. See pricing.
Key point
IIFL Securities is now IIFL Capital Services, and API apps are set up on the IIFL Capital developer portal, where you enter the static IP allowed to send your orders. Before a strategy can trade, you need your own app, that registered IP and a fresh two-factor login for the day.

How to connect IIFL

  1. Create an API app. Sign in to the IIFL Capital developer portal (developers.iiflcapital.com) as an individual trader with your IIFL login, open My Apps and choose Create App.
  2. Enter your primary static IP in the app form, with the redirect URL shown in QuantPower's broker settings, and note the app key and secret the portal gives you. The IP must match the public address your orders leave from.
  3. Add the app in QuantPower. Open broker settings, choose IIFL and enter your app key and secret.
  4. Log in on IIFL's page with your client ID, password and the two-factor code IIFL asks for.
  5. Check the connection. Your funds, holdings and positions should appear in QuantPower.
  6. Test before you go live. Run a new strategy in paper trading first, then deploy it on your account with a small size.

IIFL API rules under SEBI's framework

SEBI's framework for retail algo trading has applied to every broker since 1 April 2026, and it sets the terms for IIFL algo trading as for any other broker.

RuleWhat it means on IIFL
Your own API appA unique app key and secret you create; access without a key is not allowed
Registered static IPOrders must come from the primary static IP entered for your app
Changing the IPPossible, but brokers limit how often, usually to once a week
Daily loginAPI sessions end before the next trading day, and you log in again with two-factor authentication
Order rateFewer than 10 orders a second; faster algos must be registered with the exchange through the broker
Kill switchIIFL can stop algo orders on your account at once, as the framework requires of every broker

The static IP is the fixed public address of the computer or VPS that sends your orders. QuantPower runs on your own computer or VPS, so your API key stays with you and orders go to IIFL's API from the static IP you register with IIFL. Keep that computer or VPS secure, and keep it on and logged in to IIFL during market hours while your bots run.

How an algo order reaches the exchange: your strategy in QuantPower on your own computer or VPS, your static IP registered with your broker, your broker's checks, then the exchange (illustration)

QuantPower is trading software. It is not a stockbroker or a SEBI-registered investment adviser or research analyst, and it gives no tips, calls or buy and sell advice. With IIFL, the strategies it runs are your own rules, fully visible to you, and IIFL checks every order for price, quantity, margin and order rate before it reaches the exchange. Ready-made strategy templates, such as straddles and iron flies, load into the strategy builder; you edit and run them as your own strategy.

What QuantPower can and cannot do

QuantPower canQuantPower cannot
See your funds, holdings, positions and ordersWithdraw money from your IIFL account
Place, modify and cancel orders for your strategiesChange your bank account, address or nominee
Exit positions when your MTM stop loss is hitSee the password or code you type on IIFL's page
Read live prices for your strategiesTrade after your session has ended

IIFL API costs and charges

IIFL offers its Trading APIs to account holders at no additional cost. You pay brokerage under your IIFL plan, and statutory charges.

ItemIIFL
Trading APIsNo additional cost
BrokerageAs per your IIFL plan, shown on IIFL's brokerage page
Example
A strategy that sends 20 option orders a day for 22 trading days places 440 orders a month. On a plan that charges ₹20 an order, brokerage comes to ₹8,800 before GST and statutory charges, so check your plan's rates before you automate.

Statutory charges are the same at every broker. Our brokerage calculator adds them to the brokerage for any trade.

Every trading day

  • Before 9:15 am: log in to IIFL from QuantPower. Strategies scheduled before you log in will not trade.
  • Before each entry: check free margin. Option buyers pay the full premium upfront, and sellers need SPAN and exposure margin.
  • On expiry day: short index options expiring that day need an extra 2% exposure margin.
  • After the close: the session ends, and the next trading day starts with a fresh login.

Things to know about IIFL

  • The new name. IIFL Securities Ltd is now IIFL Capital Services Ltd. The developer portal uses the IIFL Capital name, and older guides and API pages may still say IIFL Securities.
  • Check the outgoing IP. The primary static IP must match the address your orders actually leave from. A VPN, a proxy or a new router address breaks the match, and orders are blocked.
  • Stop losses in options. NSE does not accept SL-M orders in options. Build options strategies with limit and stop-loss limit orders, with a buffer between trigger and limit.
  • Multi-leg strategies. A short straddle sends two orders at entry and an iron condor four. Space the legs so your account never sends 10 or more orders in a second.

Start your free trial

Connect your broker, build a strategy and test it on paper before a single live order goes out.

Frequently asked questions

Does QuantPower see my IIFL password?

No. You type your password and two-factor code on IIFL's own page. QuantPower receives and stores only an access token for the day's session.

Do I need a static IP for IIFL algo trading?

Yes. Orders through IIFL's API must come from the primary static IP registered for your app, as SEBI's framework requires at every broker.

Is the IIFL Capital API free?

Yes. IIFL offers its Trading APIs to account holders at no additional cost. You pay brokerage under your IIFL plan, and statutory charges.

Is IIFL Capital the same as IIFL Securities?

Yes. IIFL Securities Ltd changed its name to IIFL Capital Services Ltd. The broker, and your account with it, are the same.

What if the IIFL login fails?

Check that your phone's clock is on automatic time for two-factor codes, and that pop-ups are allowed for quantpower.tech. If the login works but orders fail, check that they come from your registered static IP.

Can I trade options through the IIFL API?

Yes, once F&O is enabled on your IIFL account. Options strategies need limit and stop-loss limit orders, because SL-M orders are not accepted in options on NSE.

Sources

  • SEBI, circular on safer participation of retail investors in algorithmic trading, 4 February 2025, and glide-path circular, 30 September 2025 (sebi.gov.in)
  • NSE, implementation standards for retail algo trading, 5 May 2025, and operational modalities, 22 July 2025 (nseindia.com)
  • SEBI, measures to strengthen the equity index derivatives framework, 1 October 2024
  • NSE, circular NSE/FAOP/49677 on discontinuation of stop-loss market orders in options, September 2021
  • IIFL Capital Services (formerly IIFL Securities): Trading APIs page (api.iiflsecurities.com) and developer portal at developers.iiflcapital.com (checked 20 October 2026)
  • IIFL Capital Services: published brokerage pages (checked 20 October 2026)
Broker names are trademarks of their owners. Charges and broker rules change, so check IIFL's current pages before you trade. This page is for information and is not investment advice. Trading involves substantial risk.