Is algo trading legal in India? (2026, explained)
Yes — algorithmic trading is legal in India for retail investors, as long as it is done through a SEBI-registered broker and the algorithms are approved or tagged by the exchange (NSE or BSE). Routing strategies through your registered broker is fully permitted under the SEBI framework; an unregulated side-channel that bypasses it is not.
Last updated: 12 June 2026
The short answer
Retail algo trading is legal in India. The rule that matters is how the orders reach the market: they must flow through a broker registered with the Securities and Exchange Board of India (SEBI) and be approved or tagged as algorithmic orders by the exchange you trade on — the National Stock Exchange (NSE) or BSE. Within that channel, automating your entries, exits and risk rules is permitted. What is not permitted is routing automated orders through an unregulated side-channel that sidesteps your registered broker and the exchange's tagging. The legality has never been about whether software places the order; it is about who is accountable for it.
The legal framework: SEBI and the exchanges
India's securities markets are regulated by SEBI, and trading happens on exchanges — primarily the NSE and BSE — under SEBI's oversight. Algo orders sit inside this same structure rather than outside it. Your strategy does not connect directly to the exchange; it connects through a SEBI-registered broker, and the broker submits the order to the exchange. The broker and the exchange are the parties responsible for approving and tagging algorithmic orders so the system knows an order was generated by an algorithm rather than a human clicking by hand.
That accountability chain is the whole point. Because every automated order is identifiable and tied to a registered intermediary, the regulator can see what is happening, and there is always a responsible party. You can read SEBI's own material at sebi.gov.in. As of 2026, under the SEBI framework, check the latest SEBI circular for the current specifics that apply to your situation.
Retail algo trading through your broker
For a retail trader, the practical path is simple: you do not register with SEBI yourself. You open and use an account with a SEBI-registered broker, and your algorithm places orders through that broker — typically over the broker's API or an integration the broker supports. The broker, working with the exchange, is responsible for ensuring those orders are approved and tagged as algo orders. In other words, the heavy compliance obligation sits with the broker and the exchange, not on your shoulders as an individual.
This is why the question "do I need a licence to run an algo?" usually has a reassuring answer for retail traders. You are not setting up a regulated entity; you are using one. What you do need to do is trade through a registered broker and stay within whatever rules that broker and the exchange enforce — order limits, tagging, and the controls they put in place. If you ever see a service offering to route automated orders while bypassing a registered broker, treat that as a red flag.
How SEBI is formalising retail algo trading
For years, retail and API-based algorithmic trading grew faster than the rules that governed it, leaving grey areas around who was accountable when an automated strategy misfired. SEBI has moved to close that gap by formalising a framework that brings retail and API-based algos squarely under broker registration and exchange tagging, with the broker held accountable for the orders that flow through it. The intent, in SEBI's own framing, is investor protection, transparency, and clear broker accountability.
At the framework level, that means the same principle the rest of this page describes is being written down more explicitly: automated orders belong inside the regulated broker-and-exchange pipeline, properly identified, with a registered party answerable for them. Because the specific clauses, thresholds and timelines can change, we deliberately do not quote exact numbers or dates here. As of 2026, under the SEBI framework, check the latest SEBI circular for current specifics — start at sebi.gov.in and your broker's compliance notices.
What it means for you
If you are a retail trader curious about automating your strategies, the takeaways are straightforward:
- Use a SEBI-registered broker. That single choice keeps your live automated trading on the right side of the rules.
- Let the broker and exchange handle tagging. Approving and tagging algo orders is their responsibility, not a licence you personally apply for.
- Learning and testing are always free to do. Verifying a strategy on historical data places no live orders, so you can study and refine ideas without touching the live-trading rules at all.
- Verify the current specifics. Rules evolve. When the detail matters, read the latest SEBI circular and your broker's notices rather than relying on a summary.
This is general information for education, not investment or legal advice. Algorithmic trading carries risk; every strategy can lose money, and past or backtested results do not predict future outcomes.
Where Algoshastra fits
Algoshastra is an AI-powered, no-code strategy-verification platform for learning and testing options strategies on Indian indices — you can read what algo trading is, how strategies are validated on our methodology page, and how the verification step works in our verification guide. The platform is verification-focused — you verify strategies on real historical data, there is no live broker order routing and no live-money trading on the platform, and you export verified strategies to run on your own broker.
To be clear about our own status: Algoshastra is not SEBI-registered. We are verification-focused by design — you verify strategies on real historical data, and there is no live-money trading on the platform. Building and verifying a strategy here is education and research; it places no live orders, so it sits entirely within what is freely permitted. You export verified strategies to run on your own broker. If you are new to the mechanics, the no-code algo trading guide and how options backtesting works are good next reads.
Join the waitlist
Want to learn algo trading the safe way — by describing a strategy in plain English and watching it get backtested and verified on real historical data, with no real money at risk? Signing up is free to get started. Create an account and start verifying strategies. No card required.