SEBI White Box vs Black Box Algo Rules, Explained for Retail Traders

Why every algo order in India now carries an ID, why black-box algo providers must register as Research Analysts, and what the white box / black box split means for you, in plain English.

By StockYatra Team
SEBI white box vs black box algo rules explained — cover

In short

  • SEBI's circular of 4 February 2025 created a framework for retail investors using algorithms through broker APIs.
  • White box algos disclose their logic and can be replicated; black box algos do not.
  • Black-box algo providers must register as a SEBI Research Analyst and keep a research report for each algo.
  • Every algo order carries an exchange-issued identifier; API access needs a static IP and two-factor authentication.
  • After extensions, the framework became mandatory for all brokers from 1 April 2026.

Until recently, a retail trader in India could connect almost any third-party "algo" to a broker's API, often with little idea of who wrote it or what it did. SEBI's framework for safer participation of retail investors in algorithmic trading changed that. Its most talked-about idea is a simple label: is the algorithm a white box or a black box?

The two definitions

The circular (SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/0000013, dated 4 February 2025) describes:

  • White box, or execution, algos: algos "where logic is disclosed and replicable".
  • Black box algos: algos "where the logic is not known to the user and is not replicable".
Comparison of SEBI white box algos and black box algos
How the framework sorts retail algos. The Research Analyst requirement applies to black-box providers.

What changes because of the label

White box algoBlack box algo
LogicDisclosed to the user and replicableNot known to the user, not replicable
ProviderEmpanelled with exchanges, onboarded by the brokerMust also register with SEBI as a Research Analyst
PaperworkAlgo registered with the exchange through the brokerA detailed research report maintained for each algo
OrdersTagged with an exchange-issued algo identifierTagged with an exchange-issued algo identifier
ChangesA changed algo needs fresh approvalA changed algo needs fresh approval

The logic is simple: if you cannot see what an algorithm does, someone accountable should. A registered Research Analyst can be inspected and held to SEBI's rules for research.

The plumbing every algo trader now lives with

  • Brokers are the principal. Algo providers act as the broker's agents, and the broker is responsible for what runs through its systems.
  • No open APIs. API access uses a vendor-specific key and a static IP address whitelisted by your broker.
  • Two-factor authentication is required to access the API, and OAuth-based login replaces older methods.
  • Algo ID on every order. Each algorithmic order is tagged with an identifier from the exchange, which leaves an audit trail.
  • Kill switch. Exchanges can halt orders coming from a particular algo ID.
  • Your own algo. If you write your own and stay below an order-per-second threshold set by the industry standards forum, you do not need to register it, but you cannot hand it out beyond close family. Cross the threshold and it must be registered through your broker.

Key dates

Timeline: 4 Feb 2025 circular, start moved to 1 Oct 2025, ready brokers live, late brokers stop new sign-ups 5 Jan 2026, mandatory 1 Apr 2026
The framework arrived in steps. Dates as reported from SEBI circulars; your broker's notices have the details that apply to you.

The provisions were first due from 1 August 2025. SEBI moved that to 1 October 2025, and then set a glide path: brokers that were ready could go live from 1 October 2025, the rest had milestones through late 2025 and a mock session by early January 2026, brokers that missed them could not onboard new retail algo clients from 5 January 2026, and the framework became mandatory for all brokers from 1 April 2026.

Key idea: The rules regulate the pipe (brokers, providers, APIs), not your results. A registered black box can still lose money. Registration tells you who is accountable, not whether the strategy works.

Questions to ask before you use any algo

  1. Is it a white box or a black box under SEBI's framework?
  2. If black box: what is the provider's SEBI Research Analyst registration number? Check it on SEBI's website.
  3. Is the provider empanelled with the exchange, and does my broker list this algo?
  4. What are the live results since launch, with maximum drawdown and costs included?
  5. What happens if it misbehaves: who can stop it, and how fast?
  6. What am I paying, and can I stop at any time?

Learning before automating

Automating a strategy you do not understand only makes mistakes faster. A better order is: learn the rule, test it on charts, practise it by hand, and only then think about automation. StockYatra's Pro Chart is a practice version of the white-box idea: every one of its 41 strategies shows its rules and draws each signal on NSE, NEPSE and US charts, and you can write your own in Pine Script or with the no-code builder. Nothing there connects to a broker or trades real money.

Key takeaways

  • White box = disclosed, replicable logic; black box = hidden logic.
  • Black-box providers must register as SEBI Research Analysts and keep a research report per algo.
  • Every algo order carries an exchange ID; APIs need static IPs and 2FA.
  • Mandatory for all brokers from 1 April 2026.
  • Registration shows who is accountable; it does not promise profits.

Understand a strategy before you automate it

StockYatra is a free practice app for Nepal (NEPSE), India (NSE) and US stocks. Test 41 transparent strategies, write your own rules or Pine Script, and backtest them on the chart with virtual coins. Nothing is hidden and nothing is real money.

Get StockYatra Black box AI, explained

The black box AI series

StockYatra is an education app, not a broker, adviser or research analyst. Nothing here is a recommendation to buy or sell any security or to use any trading product. Rules and dates are summarised for learning; check the regulator's and your broker's current notices before acting. Practice prices are simulated and coins are virtual.

Frequently asked questions

What is a black box algo according to SEBI?
An algorithm where the logic is not known to the user and is not replicable. A white box (execution) algo is one whose logic is disclosed and replicable.
Who must register as a Research Analyst under the algo framework?
Providers of black-box algos. They must register with SEBI as a Research Analyst and maintain a detailed research report for each such algo.
Do I need to register my own trading algorithm?
Under the framework, a retail investor's own algo needs registration through the broker only if it crosses the order-per-second threshold set for the industry, and it can be shared only with close family. Check your broker's current rules.
When did SEBI's retail algo rules come into force?
They were first due from 1 August 2025, moved to 1 October 2025 with a glide path, and became mandatory for all brokers from 1 April 2026, as reported from SEBI's circulars.
Does a SEBI-registered black box algo guarantee profits?
No. Registration makes the provider accountable to SEBI. It says nothing about whether the strategy will make or lose money.