Is Algo Trading Legal in India? SEBI Rules Explained (2026)
Yes — algo trading is legal in India through official broker APIs. What SEBI's framework requires, what 'SEBI-approved' really means, and what to avoid.
Yes, algorithmic trading is legal in India for retail investors — provided it runs through the official APIs of SEBI-registered brokers, with the risk controls the framework requires. That single sentence answers the search query, but the details underneath it matter, because the same rules that make algo trading legal also draw a sharp line between compliant setups and the grey-market tools that can get an account flagged.
This guide explains what SEBI actually regulates, what changed with the 2025 retail algo framework, what “SEBI-approved algo trading software” really means (and doesn’t), and how to stay clearly on the right side of the line.
The short history: how retail algo trading became regulated
Algorithmic trading has been part of Indian markets since SEBI first permitted Direct Market Access in 2008, and for years the rules were written for institutions — co-location, order-to-trade ratios, exchange approvals for broker algorithms. Retail traders were largely outside the frame, even as broker APIs like Zerodha’s Kite Connect, Angel One’s SmartAPI and Fyers API quietly made automation accessible to individuals.
That gap closed formally when SEBI issued its framework for safer participation of retail investors in algorithmic trading (circular of February 2025, implemented in phases through 2025). For the first time, the regulator explicitly recognised that retail investors automate trades through broker APIs — and set out who is responsible for what when they do.
What the SEBI retail algo framework actually says
The framework’s core ideas are straightforward:
- Brokers are the accountable gateway. All algo orders flow through the broker, and the broker is responsible for them as a principal. That is why legitimate automation always runs through a broker’s official API — the broker’s systems are where the regulatory controls live.
- API access must be authenticated and traceable. Brokers implement controls such as secured API authentication and measures like static IP allow-listing so that automated order flow is attributable to the client who authorised it.
- Algos are registered and tagged. Strategies that exceed exchange-defined order thresholds are registered through the broker with the exchange and tagged with an algo identifier, so exchanges can trace automated order flow.
- A distinction between transparent and black-box logic. Strategies whose logic is visible to the user (the “white-box” or execution-algo category) face lighter requirements than “black-box” products whose logic is hidden — providers of the latter face additional registration obligations.
- Kill switches and risk controls. The framework expects automated order flow to sit behind risk limits, and brokers/exchanges retain the ability to halt errant algos.
The practical takeaway for a retail trader: you do not need any personal SEBI registration to automate your own strategies. You need a SEBI-registered broker, its official API, and a platform that works through that API with proper controls — and where applicable, algo registration happens via your broker, not by you filing paperwork with SEBI.
Implementation details (thresholds, registration mechanics, timelines) have been operationalised by exchanges and the brokers’ industry standards forum, and brokers surface the requirements that apply to you inside their API programs. When in doubt, your broker’s current documentation is the authoritative source.
What “SEBI-approved algo trading software” really means
Here is an uncomfortable truth about a very popular search term: SEBI does not “approve” retail algo trading software. There is no certificate a platform can frame on its wall. Marketing that claims a platform is “SEBI approved” is at best sloppy and at worst a red flag.
What actually exists:
- SEBI-registered brokers — the regulated entities whose APIs execute your orders.
- Exchange-registered algorithms — strategies registered via brokers where thresholds require it.
- Platforms that operate compliantly — tools like INDfolio AI that connect exclusively through official broker APIs, enforce risk controls (position limits, daily loss caps, automatic square-off), and never touch your funds.
When you evaluate any algo platform, the questions that matter are: Does it use my broker’s official API? Does my money stay in my own broker account? Can I revoke its access at any time? Does it apply risk limits to automated orders? If the answer to all four is yes, the setup follows the framework’s design. If a tool automates a broker’s website or app by simulating clicks or hijacking sessions, it operates outside the framework — avoid it, whatever its marketing says.
What is clearly legal — and what is clearly not
Legal and mainstream:
- Automating your own strategies through official broker APIs (Kite Connect, SmartAPI, DhanHQ, FYERS API and peers).
- Using no-code platforms that sit on those APIs — the interface being no-code changes who can build algos, not their legality.
- Automating TradingView alerts or Chartink scanners into orders, when execution flows through an official broker API with risk controls.
- Backtesting and paper trading — simulations involve no live orders and no regulatory question at all.
Illegal, non-compliant or high-risk:
- Unauthorized offshore forex/CFD platforms. Retail forex trading outside recognised Indian exchanges violates FEMA rules, and the RBI maintains an Alert List of unauthorised platforms. Many “MT5 forex algo” offers aimed at Indians fall in this bucket — this is a different problem from equity algo trading, and a serious one.
- Screen-scraping and session-based automation that bypasses official APIs.
- Unregistered advisory dressed as algos. Selling “guaranteed return” strategy subscriptions can amount to unregistered investment advice; SEBI has acted against such schemes repeatedly.
- Profit-sharing arrangements with unregistered operators who trade your account — a classic fraud pattern, and handing over your credentials also breaches your broker agreement.
Does algo trading attract different taxes in India?
No special “algo tax” exists. Automated trades are taxed exactly like manual ones: intraday equity profits as speculative business income, F&O profits as non-speculative business income, and delivery-based investing under capital gains rules as applicable. The usual costs — STT, exchange charges, GST, stamp duty — apply per trade regardless of who (or what) clicked the button. A platform that models these costs in backtests, as INDfolio AI does, gives you a realistic picture of post-cost returns; the tax treatment is then a matter for your CA, not your code.
Frequently asked questions
Is algo trading legal for retail investors in India? Yes — through official broker APIs of SEBI-registered brokers, with the framework’s risk controls. No personal SEBI registration is needed to automate your own strategies.
Do I need SEBI’s permission to run my own algo? No. Where a strategy crosses exchange order-rate thresholds, registration happens through your broker with the exchange. Your broker’s API documentation reflects the current requirements.
Is no-code algo trading treated differently? No. The regulatory question is how orders reach the exchange (via a registered broker’s official API) — not whether you built the strategy with code, blocks or plain English.
Can I legally automate TradingView alerts? Yes, when the execution leg runs through an official broker API with risk controls — which is how INDfolio AI’s TradingView automation works.
Is MT5 legal in India? The software itself isn’t banned, but retail forex/CFD trading through unauthorised offshore brokers violates FEMA rules, and many such brokers appear on the RBI Alert List. Indian residents can trade exchange-listed currency derivatives through SEBI-registered brokers instead.
Will my broker allow it? Every major Indian broker with a public API explicitly supports automated trading through it — that is what the API is for. See our broker guides for Zerodha, Fyers, Dhan, Angel One, Upstox, Alice Blue and Shoonya.
This article is general information, not legal or investment advice. Regulations evolve — SEBI circulars, exchange notices and your broker’s current documentation are the authoritative sources.
Put this into practice
Build and backtest your own strategy free — no coding, no card.
Related guides
How Retail Traders Can Automate Trading in India
A practical roadmap for automating your trading on NSE — SEBI's framework in plain terms, DIY vs alerts vs no-code compared, and a 7-step path to going live.
8 min
How to Connect Zerodha for Algo Trading (Kite Connect Guide)
A practical guide to connecting Zerodha for algo trading with Kite Connect — app creation, API keys, the daily token refresh, safety, and troubleshooting.
8 min
Fyers API for Algo Trading: Complete Setup Guide
How to set up the Fyers API for algo trading — creating an app at myapi.fyers.in, the daily auth flow, connecting a no-code platform and common errors.
8 min