GUIDE · 6 MIN READ

Is algo trading legal in India? SEBI's framework for retail algos explained

TopTradingBots editorial team · Published 20 Nov 2026 · Updated 20 Nov 2026 · Editorial policy

SHORT ANSWER

Yes, retail investors in India can use algorithmic trading, but only through a SEBI-registered stock broker under the framework in SEBI's circular of 4 February 2025. Brokers must give API access only with a unique key, a whitelisted static IP, OAuth and two-factor authentication. Algo orders carry an exchange-issued ID, and black box algo providers must register as Research Analysts. SEBI made the framework applicable to all brokers from 1 April 2026.

Yes, for retail investors who trade through a broker within SEBI’s rules. On 4 February 2025 SEBI issued a circular titled “Safer participation of retail investors in Algorithmic trading”. It notes that institutions could already trade through algorithms using mechanisms such as Direct Market Access, and that “there has been an increasing demand for algo trading by retail investors”. The circular sets out who does what among investors, brokers, algo providers and exchanges, “so that the retail investors are enabled to avail algo facilities with requisite safeguards”.

SEBI defines an algo as “orders generated using automated execution logic”. If software decides when to send your orders through a broker’s API, the framework is likely to apply to you, your broker or both.

This page summarises the circulars. It is not legal advice, and the exchanges’ operating rules add detail that we do not cover here.

What the February 2025 circular requires

API access through your broker

The core of the framework is the broker’s API. SEBI’s rules:

  • The broker is the principal. For algo trading through APIs, brokers “shall be the principal” and any algo provider or fintech vendor acts as the broker’s agent.
  • No open APIs. Access only “through a unique vendor client specific API key and static IP whitelisted by the broker”, so the provider and the end investor can be traced.
  • OAuth only, with “all other authentication mechanisms” discontinued, and two-factor authentication for API access.
  • Every algo order is tagged with a unique identifier from the stock exchange, to keep an audit trail.

In practice you should expect your broker to ask for a fixed IP address and to issue an API key tied to you and to a specific vendor. Treat that key like a password. Anyone who has it and your whitelisted IP can place orders.

Your own algo or someone else’s

The circular separates two cases:

  1. You write the algo yourself. Algos “developed by tech-savvy retail investors themselves” must be registered with the exchange through the broker “only if they cross the specified order per second threshold”. The threshold is set by the brokers’ Industry Standards Forum under the exchanges, in consultation with SEBI. A registered algo may be used for your family, meaning “self, spouse, dependent children and dependent parents”, but not for other investors.
  2. You use an algo provider. Providers are not regulated by SEBI, but any provider that places algo orders with brokers through an API must be empanelled with the exchanges. Brokers must deal only with empanelled providers and do due diligence before onboarding them.

White box and black box algos

SEBI sorts algos into two categories:

Category SEBI’s description Extra requirement
Execution or white box algos Logic is disclosed and replicable Exchanges may register certain types, such as execution algos, on a fast track
Black box algos Logic “is not known to the user and is not replicable” Provider must register as a Research Analyst and keep a detailed research report for each algo; a change in logic means registering a fresh algo

A simple execution tool that slices an order over time, like a TWAP order, is the kind of transparent logic the white box category describes. A subscription “strategy” that tells you nothing about how it decides to buy or sell is the black box case. Its provider has extra obligations under the circular.

Who is responsible for what

  • Brokers need exchange permission for each algo and must seek approval for changes. They are “solely responsible” for investor grievances about algo trading and for monitoring APIs for prohibited activities.
  • Exchanges supervise algo trading: a testing SOP, surveillance of all algo orders, and a kill switch for orders from a particular algo ID. SEBI describes the kill switch as “the last level of defence” against an algorithm malfunction.
  • Algo providers may share subscription charges and brokerage with the broker. However, “prominent and complete disclosures of all the charges shall be made to the client”.

For you, this means a complaint about an algo goes to your broker first, and you are entitled to see every charge.

Timeline: from August 2025 to April 2026

The start date moved several times. These are the dates stated in SEBI’s circulars:

Date What SEBI said
4 February 2025 Framework issued; implementation standards to be formulated by 1 April 2025
1 August 2025 Original effective date in the February circular
29 July 2025 Effective date extended to 1 October 2025, as recorded in the September circular
30 September 2025 Brokers ready with the systems go live from 1 October 2025; others follow a glide path
31 October 2025 Milestone 1: retail algo product through API and at least one strategy applied for registration
30 November 2025 Milestone 2: registration of retail algo products and a few strategies completed
3 January 2026 Milestone 3: broker takes part in at least one complete mock session
5 January 2026 Brokers who missed the milestones barred from onboarding new retail clients for API-based algo trading
1 April 2026 Framework, implementation standards and exchanges’ operational modalities applicable to all stock brokers

The September 2025 circular also says the exchanges issued detailed operational modalities on 22 July 2025 and clarifications in the second half of September 2025.

The most recent SEBI circular on this framework that we found is the one of 30 September 2025. On 19 November 2026 we checked the first page of SEBI’s circulars list, covering late August to mid-November 2026, and found no new circular on retail algo trading. SEBI can change the rules at any time, so check the list before you rely on a date.

What the framework does not cover: crypto bots

The circulars are addressed to stock exchanges and stock brokers. A bot that trades crypto on an exchange’s API is outside them, because crypto is a virtual digital asset, not a SEBI product. Different rules apply:

  • Tax: see our guide to crypto tax in India for bot traders.
  • Exchange registration: in a notice dated 4 July 2023, FIU-IND said virtual digital asset service providers must register with it as reporting entities under the PMLA.

Do not assume that a crypto bot platform is approved by SEBI. SEBI’s algo rules do not cover it.

Checklist before you automate stock or F&O trades

  • Use your broker’s official API route. Confirm it supports static IP whitelisting, OAuth and two-factor login.
  • Check the provider. If a third party runs the algo, ask your broker whether that provider is empanelled with the exchange.
  • Ask how the logic works. If the provider won’t explain it, it is a black box algo, and the provider must be a SEBI-registered Research Analyst.
  • Read every charge. Subscription and brokerage sharing must be disclosed to you.
  • Know your order rate. If your own code may cross the order-per-second threshold, the algo has to be registered through your broker.
  • Plan for failure. Exchange kill switches and broker risk checks can stop an algo mid-strategy. In F&O, a halted algo can leave you holding an open position, possibly with leverage.

Automation changes how orders are placed, not the market risk. No framework protects you from losses. To compare tools, see our rankings of stock trading bots and options trading bots, or browse all India rankings.

FAQ

Do I have to register my own Python strategy with the exchange?

Only if it crosses the order-per-second threshold. SEBI's circular says algos built by retail investors themselves must be registered with the exchange through their broker if they cross that threshold. The threshold itself is set by the brokers' Industry Standards Forum under the exchanges, in consultation with SEBI, so check the current figure with your broker.

Can I share my algo with friends?

A registered algo built by a retail investor may be used for that investor's family only, which SEBI defines as self, spouse, dependent children and dependent parents. Offering it to other investors would make you an algo provider, and providers must be empanelled with the exchanges.

Does the SEBI framework cover crypto trading bots?

No. The circular is addressed to stock exchanges and stock brokers and covers orders placed through brokers' APIs. Crypto is a virtual digital asset, not a SEBI product. It falls under tax rules and FIU-IND registration of service providers.

What is a black box algo under SEBI's rules?

SEBI defines it as an algo where the user cannot see the internal workings and rationale, or where the logic is not known to the user and is not replicable. Providers of such algos must register as Research Analysts and keep a research report for each algo.

Sources

Not financial advice. Trading bots do not remove market risk.