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.
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.
Common questions
Is algo trading legal in India?
Yes. Algorithmic trading is legal in India for retail investors when it is done through a SEBI-registered broker and the algorithms are approved or tagged by the exchange (NSE or BSE). The broker and exchange remain responsible for routing and tagging algo orders. Trading through an unregulated side-channel that bypasses your registered broker is not permitted.
Do I need SEBI permission to run an algo as a retail trader?
You do not register with SEBI yourself. As a retail trader you route your strategy through your SEBI-registered broker, and the broker — together with the exchange — handles approving and tagging the algo orders. Your responsibility is to trade through a registered broker rather than an unregulated channel. For current specifics, check the latest SEBI circular.
Is API-based or automated trading legal in India?
Yes, when it goes through your SEBI-registered broker and the orders are tagged as algo orders by the exchange. SEBI has moved to bring retail and API-based algos under a formal framework that keeps the broker accountable. The key test is the same: orders flow through a registered broker, not an unregulated side-channel. Verify details against the latest SEBI circular.
Is using a no-code algo platform legal?
Building and testing a strategy on a no-code platform is education and research, which is freely permitted. Live order execution is where the rules apply: those orders must be routed through a SEBI-registered broker with exchange-approved, tagged algorithms. A no-code tool that only verifies strategies on historical data places no live orders, so no live-trading registration is involved.
Can I trade real money on Algoshastra right now?
No. Algoshastra is a strategy-verification platform — no real money and no live broker orders on the platform. You verify strategies on real historical data and then export the verified strategy to run on your own broker. Today the platform is for learning and testing strategies on real historical data, not for executing live trades.
Read next
The honest frame
Investment in securities market are subject to market risks. Read all the related documents carefully before investing.
Backtested results are hypothetical, do not represent actual trading, and are not indicative of future results. This article is educational and is not investment advice or a recommendation; Algoshastra is a strategy-building and testing tool, not a registered investment adviser or research analyst. Past or backtested performance does not guarantee future returns.