Skip to content

Automation

SEBI retail algo trading rules: algo IDs, APIs and providers

In February 2025 SEBI issued a framework for safer participation of retail investors in algorithmic trading. After two extensions it applies to all stock brokers from 1 April 2026. It makes brokers answerable for every algorithm that reaches the exchange through their APIs, requires third-party algo providers to be empanelled with exchanges, tags algo orders with exchange-issued identifiers and tightens how APIs can be accessed. This guide explains each element and what it means for someone using an automation platform.

Key points

  • The broker is the principal and any algo provider acts as its agent; the broker handles complaints about algos it offers.
  • Algo orders flowing through broker APIs carry a unique identifier issued by the exchange, creating an audit trail.
  • Self-built algos need exchange registration through the broker only above an order-per-second threshold set by the exchanges.
  • Black-box algos, whose logic the user cannot see, require the provider to be registered as a SEBI research analyst.
  • APIs must not be open: access needs vendor- and client-specific keys, whitelisted static IPs, OAuth and two-factor authentication.

Why SEBI created a retail algo framework

SEBI first issued broad rules on algorithmic trading in 2012, aimed at institutions using direct market access. Over the following decade retail traders began connecting their own scripts and third-party platforms to broker APIs, often with little visibility for the exchange about who was sending which orders. SEBI published a discussion paper in December 2021, consulted brokers, exchanges and algo vendors, and issued the circular on safer participation of retail investors in algorithmic trading on 4 February 2025.

SEBI's own 2026 study adds context: it found that about 99% of the equity derivatives profits of proprietary traders and foreign portfolio investors in FY26 came from entities that used algorithmic orders. The retail framework's goal is traceability and accountability. Every automated order should be attributable to a known algorithm, a known provider and a known client, and someone regulated by SEBI, the broker, should be responsible for it. The framework does not judge whether a strategy is good; it governs how automated orders are allowed to reach the market. Our algorithmic trading guide covers how such systems are built.

Who is responsible: broker, algo provider and exchange

  • Broker as principal: for algo trading through APIs, the stock broker is the principal and any algo provider, fintech or vendor using the broker's API acts as its agent. Brokers must obtain exchange permission for each algo, seek approval for changes to approved algos, monitor APIs for prohibited activity and handle all client grievances about algo trading.
  • Algo providers: SEBI does not regulate them directly, but any provider that lets clients place algo orders through a broker's API must be empanelled with the exchanges on criteria the exchanges set. Brokers must do their own due diligence before onboarding one.
  • Exchanges: they supervise algorithmic trading, publish a standard procedure for testing algos, run surveillance on algo orders, keep the ability to use a kill switch on orders from a particular algo ID, and define the empanelment process.
  • Charges: providers and brokers may share subscription fees and brokerage, but all charges must be disclosed fully to the client and must not create a conflict of interest.

Algo IDs and the order-per-second threshold

All algo orders that flow through a broker's API to an algo provider are tagged with a unique identifier issued by the exchange, usually called an algo ID. The tag lets the exchange trace each order back to the approved algorithm, and lets it stop that algorithm specifically if it misbehaves, without halting the broker's other clients.

Individuals who write their own code are treated differently. Their algos need exchange registration, through the broker, only if they cross a specified orders-per-second threshold. SEBI left the threshold to the brokers' Industry Standards Forum and the exchanges; the implementation standards NSE published in 2025 set it at 10 orders per second per exchange segment and allow the exchanges to revise it with notice. A registered self-built algo may be used for the investor's family, defined as self, spouse, dependent children and dependent parents, but not for anyone else.

Brokers must be able to detect and classify all orders above the threshold as algo orders, so a script that bursts past the limit without registration can be blocked. If you automate your own orders, design them to stay well within the rate your broker permits and expect rejections if you exceed it.

White-box and black-box algos

Algo categories under SEBI's February 2025 circular
CategoryWhat it meansExtra requirement
Execution or white-box algoLogic, rules and decision process are disclosed to the user and can be replicatedExchange registration through the broker
Black-box algoUser cannot see the internal logic, and it cannot be replicatedProvider must register as a SEBI research analyst, keep a detailed research report for each algo and register any logic change as a new algo

The distinction matters because a black-box algorithm is effectively advice: the user follows signals without being able to check the reasoning. SEBI therefore applies research-analyst obligations to its provider. A white-box algorithm shows its rules, so a user can understand when and why it trades. Either way, a disclosed rule can still lose money; transparency helps you evaluate a strategy, it does not make it profitable.

API access controls

  • No open APIs: access is allowed only through a unique vendor- and client-specific API key.
  • Static IP: orders must come from a static IP address whitelisted by the broker, so the provider and end user can be identified. Exchange FAQs describe how this applies to individuals and to broker-hosted platforms.
  • OAuth only: brokers must use OAuth-based authentication and discontinue other API login mechanisms, so third parties never need your password.
  • Two-factor authentication: API access must be authenticated with two factors.
  • Kill switch: exchanges can halt orders from a specific algo ID, and brokers keep their own risk controls on API orders.

For a user, these controls mean some extra setup, such as a fixed IP address for any self-hosted script and regular re-authentication, and some protection: a platform that asks for your broker password, or offers to place orders without your broker's OAuth consent screen, is not following the framework. Our broker connectivity guide explains API sessions and tokens in more detail.

Implementation timeline and status in late 2026

Key dates for SEBI's retail algo framework
DateEvent
4 February 2025SEBI circular on safer participation of retail investors in algorithmic trading
1 August 2025Original effective date, later deferred
1 October 2025Revised date; brokers ready with systems could go live
31 October and 30 November 2025Glide-path milestones for brokers to apply for, and complete, registration of retail algo products and strategies
3 January 2026Deadline for brokers to take part in an exchange mock session
5 January 2026Brokers that missed milestones barred from onboarding new retail API algo clients
1 April 2026Framework, exchange implementation standards and operational modalities applicable to all brokers

Exchanges issued detailed operational modalities in July 2025 and clarifications in September 2025, and they continue to publish FAQs. Specific details, such as the threshold, static IP arrangements and the empanelment list, can change by exchange circular. As of 25 November 2026 we have not found a further SEBI extension beyond 1 April 2026, but check the latest SEBI and exchange circulars before relying on any detail.

What this means for users of platforms like AlgoStok

If a platform will route your orders to a broker, three questions matter. Is the provider empanelled with the exchanges for that broker? Will orders carry an exchange-issued algo ID? Is access through your broker's OAuth flow from a whitelisted static IP, without sharing your password? If the answers are unclear, ask the broker, because under the framework the broker is responsible for algos offered through its API.

On AlgoStok today, strategy signals, backtesting and paper scenarios are available in configured environments, and live order placement is disabled. AlgoStok does not claim any exchange empanelment or algo registration. Any future live routing would have to operate through SEBI-registered brokers under this framework, and we will describe it only once it exists. You can read about our approach on the security and how it works pages.

Frequently asked questions

Do I need to register my own trading script with the exchange?

Only if it crosses the order-per-second threshold set by the exchanges, which NSE's 2025 standards put at 10 orders per second per exchange segment. Below that, you still need to follow your broker's API rules, such as a whitelisted static IP and OAuth login.

Is AlgoStok an empanelled algo provider?

AlgoStok does not claim exchange empanelment or registration of any algo, and live order placement on AlgoStok is disabled. The platform currently offers signals, backtests and paper scenarios in configured environments.

What is the difference between a white-box and a black-box algo?

A white-box algo discloses its logic so the user can understand and replicate it. A black-box algo hides its logic; SEBI requires its provider to be registered as a research analyst and to keep a research report for each such algo.

Who do I complain to if an algo misbehaves?

Your broker. Under SEBI's framework the broker is the principal for algos offered through its API and is responsible for handling investor grievances about algo trading, even when a third-party provider built the algo.

Sources and further reading

Facts in this guide were checked against these publications on the review date shown above. Rules, rates and contract specifications change; confirm the current version with the source.

  1. Safer participation of retail investors in algorithmic trading (circular, 4 February 2025) · SEBI
  2. Extension of timeline for implementation of the 4 February 2025 circular (30 September 2025) · SEBI
  3. Safer participation of retail investors in algorithmic trading (circular page) · SEBI
  4. A comprehensive overview of NSE's circular on the new retail algo trading framework · Zerodha Z-Connect
  5. Profitability of individual traders in the equity derivatives segment (FY25–FY26) · SEBI