From 1 Apr 2026 SEBI's retail algo framework applies to every stock broker. A retail algo can send up to ten orders a second to an exchange without registering, and that ceiling is 600 orders a minute and 2,25,000 in a six and a quarter hour session. No hand clicks that fast. Under the rules, every order a program sends through the broker's API is an algo order whatever its rate: tagged, traced to a key and a static IP, risk checked by the broker and open to a kill switch. This lesson takes the framework as the circulars set it and turns it into an architecture. It is education about design and rules. It is not a strategy to run, not a view on any contract and not a list of vendors.

3By the end you can

  1. Say who does what under SEBI's retail algo framework and what changes at the order rate threshold.
  2. List what the connection needs: static IP, client key, OAuth, two factor login, daily logout and tagging.
  3. Add the risk layer the framework leaves to you, and see in a model why size decides ruin.
The RupeeCase terminal on sample data: The riskometer: what sets Low to Very High?
Watch in the terminal: what sets Low to Very High? A short tutorial on sample data.

The idea, plainly

Who does what under the framework?

The circular of 4 Feb 2025 splits the roles. The investor writes or buys the logic. The broker is the principal: it holds the API, answers for every order that comes through it and handles the grievances. An algo provider is the broker's agent and must be empanelled with the exchanges. The exchange registers algos, tags orders, runs surveillance and keeps a kill switch for orders from one algo identifier. The circular describes that switch as the last level of defence against an algo malfunction, expected to halt trading on pre-defined conditions.

What changes at the ten orders a second line?

Every order that reaches the broker through a client's API is an algo order and carries an exchange tag. The line decides registration, nothing else. The NSE standards of 5 May 2025 set the threshold, "not exceeding 10 orders per second" per exchange and segment to begin with, applied on the calendar second of the broker's server, and the exchange may change it after notice. A broker may set a lower limit for a client.

  • At or below the line: the investor's own algo runs through the broker's API without registration. Its orders carry a generic tag from the exchange. Above the line the broker rejects the excess.
  • Above the line: the algo is registered with each exchange where it will trade, through the broker. The exchange issues a registration ID and the orders carry it. The same registered algo may serve the investor's family: self, spouse, dependent children and dependent parents, and no other investor.
  • For others: giving an algo to people outside the family is the provider route, which needs exchange empanelment. A black box, whose logic the user cannot see, also needs the provider to register as a research analyst and keep a research report for each algo. A change of logic makes it a fresh algo.
The RupeeCase terminal on sample data: Rejected orders: why did my broker refuse an order?
Watch in the terminal: why did my broker refuse an order? A short tutorial on sample data.

What does the connection itself need?

The broker may allow no open API. Access is through an API key specific to the client and a static IP the broker has whitelisted, with OAuth and two factor authentication. The NSE standards add that a client may give one primary and one secondary static IP, may change them no more than once in a calendar week, and shares an IP with another client only inside one family. A client may hold several API keys, but unregistered algos run only through one predefined key. API sessions are logged out every day before the next trading day. Algo orders may not be market orders. The broker keeps an audit trail for at least five years and is liable for every order through its systems.

Every order passes your risk layer, the broker's checks and the exchange

Architecture of a compliant retail algo: strategy rule, the investor's own risk layer, the broker API with key and static IP, the broker's risk checks and exchange tag, the exchange, and logs for reviewDiagram with 6 boxes. Strategy rule to Your own risk layer; Your own risk layer to Broker API; Broker API to Broker risk checks; Broker risk checks to Exchange; Exchange to Logs and review.Strategy rulefixed before any testingYour own risk layersize, loss limit, rate, killBroker APIkey, static IP, OAuth, 2FABroker risk checkslimits, exchange tag addedExchangealgo ID, surveillance, killswitchLogs and reviewevery order and rejection
The parts of a retail algo built under SEBI's circular of 4 Feb 2025 and the NSE standards of 5 May 2025. A rule diagram with no market figures. The first two boxes are the investor's own design, the rest are set by the framework. Source: SEBI circular of 4 Feb 2025; NSE circular NSE/INVG/67858 of 5 May 2025. As of 17 Oct 2026.

When did all this apply?

The dates moved more than once, so name the circular a page relies on. The circular was due to apply from 1 Aug 2025. NSE issued its detailed operational modalities on 22 Jul 2025 and SEBI moved the start to 1 Oct 2025 on 29 Jul 2025. A circular of 30 Sep 2025 let brokers who were ready go live on 1 Oct 2025 and gave the others three milestones, with those missing them barred from onboarding new API algo clients from 5 Jan 2026. From 1 Apr 2026 the framework applies to all stock brokers. Exchanges update operational details by circular, so check the NSE page before relying on one.

The retail algo framework applied to all brokers from 1 April 2026

  1. SEBI circular

    The framework for safer retail participation in algo trading

  2. NSE standards

    Threshold, static IP, API keys and tagging set out

  3. Start moved to 1 Oct 2025

    SEBI extends the implementation date

  4. Glide path

    Ready brokers go live, others follow three milestones to 3 Jan 2026

  5. Onboarding bar

    Brokers that missed the milestones cannot onboard new API algo clients

  6. All brokers

    The framework applies to every stock broker

Dates of the SEBI circulars and NSE standards that set the framework. A record of rule dates with no market figures. Later exchange circulars change operational details. Source: SEBI circulars of 4 Feb, 29 Jul and 30 Sep 2025; NSE circular of 5 May 2025. As of 17 Oct 2026.

The term this section turns on: Static IP

The term this section turns on: Static IPThe term this section turns on: Static IP. Static IP: A fixed internet address the broker whitelists for a client's API access. It may be changed no more than once in a calendar week.Static IPA fixed internet address the broker whitelistsfor a client's API access. It may be changedno more than once in a calendar week.
From the module glossary; every term is in the Learn glossary too. Source: Module 19.5, Building a compliant retail algo.

What should the investor's own layer add?

The framework puts risk management on the broker and the kill switch on the exchange. Neither knows your intention. A design that follows the rules still needs its own guards, written before the first live order: a size limit per order, a loss limit per day that stops the program, a rate limiter set well under the threshold, a guard against sending the same order twice, a check of positions against the broker's at each start, and a log of every order and every rejection. The daily logout means the program must log in again each day and must not trade on a stale session.

What does one trading day look like?

Before the open the program logs in again, because its session was logged out the evening before, and it checks that the static IP the broker has mapped is still the one it runs from. It reads its positions and open orders from the broker and compares them with its own records. It starts with the rate limiter live and the loss limit armed. Each order goes out with a limit price and never as a market order, and every response, fill and rejection is written to a log with a time stamp. If the loss limit trips or the data feed fails, the program cancels what it can, stops sending and tells its owner. After the close it reconciles again. Only the login, the static IP and the order type come from the circulars. The rest is practice, and it turns the broker's audit trail into a record the owner can read too.

Two terms to hold on to from 19.5

Two terms to hold on to from 19.5Two terms to hold on to from 19.5. Threshold orders per second: The order rate, ten a second per exchange to begin with, above which an investor's own algo must be registered with the exchange. Algo ID: An identifier issued by the exchange that tags algo orders, so that the exchange can trace and, if needed, halt them.Threshold orders per secondThe order rate, ten a second per exchange tobegin with, above which an investor's own algomust be registered with the exchange.Algo IDAn identifier issued by the exchange that tagsalgo orders, so that the exchange can traceand, if needed, halt them.
From the module glossary. Source: Module 19.5, Building a compliant retail algo.

Worked example: why a risk layer sets the size

Take a rule with an assumed edge, made up for the model and not found in any market: it wins 55% of the time and each win equals each loss. The Kelly fraction of such a rule is 10% of the account. The model below runs 250 trades on 2,000 simulated paths and counts how often the account falls by half at four sizes of risk per trade.

Model, not market data

The same rule rarely ruins at a small size and ruins two paths in five at a large one

Model, not market data. Share of simulated paths that lose half the account over 250 trades at four sizes of risk per trade for a rule that wins 55 percent of the time: none at 1 percent, almost none at 2, about 9 percent at 5 and about 41 percent at 10Risk 1% a trade 0.0%; Risk 2% a trade 0.1%; Risk 5% a trade 8.6%; Risk 10% a trade 41.0%.Paths that hit the ruin level, percent of 2,000Risk 1% a trade0.0%Risk 2% a trade0.1%Risk 5% a trade8.6%Risk 10% a trade41.0%
A model of one assumed rule, not a strategy and not market data. Only the risk per trade changes between the bars. Inputs: win rate 55.0%, average win 1.00 times the average loss, 2% of the account risked on each trade, ruin at a 50% loss of the starting account, 250 trades, 2,000 simulated paths, seed 1. Source: RupeeCase model, seeded simulation. As of 17 Oct 2026.
The maths: rate and ruin

Orders in a session =
rate x seconds
Kelly = p minus (q / b)

A session of six and a quarter hours has 22,500 seconds. At ten orders a second that is 2,25,000 orders. The Kelly fraction for win rate p, loss rate q and a win of b times the loss is p less the ratio q over b. With p of 55% and b of one it is 10%. Kelly is a limit, not a target, and it assumes the edge is known exactly. The ruin figures come from the engine's seeded simulation, so the same inputs give the same bars.

Read one more paragraph, 82 words

At 1% of the account per trade, 0.0% of the paths lose half. At 10%, 41.0% do, with the same rule and the same edge. The framework cannot fix that. It tags the order, checks the margin and can halt the algo. It does not decide the size, and a size that is too large ruins a rule that works as designed. The size is a line in your own risk layer, fixed in the rules file before the first order.

What about testing and claims?

Test on dated data first, as in the backtest biases module, with the costs of each date. The exchanges run a standard procedure for testing algos and mock sessions, and the NSE FAQ says an individual tech savvy client is not required to join the monthly mock sessions. Claims are a separate rule. SEBI allows only registered advisers, research analysts and empanelled algo providers to state past performance, as risk and return figures verified by a recognised verification agency. That agency has operated since 4 May 2026. A backtest chart posted in a group is not that.

The common mistake

The belief: My algo stays under ten orders a second, so it is outside the rules. The line decides only whether the algo is registered with the exchange. Below it, every order through the API is still an algo order. It still comes from a static IP the broker has whitelisted, through a client key, after OAuth and two factor login, with a daily logout, an exchange tag and a trail the broker keeps for five years, and the broker answers for it. Selling or sharing the algo outside the family is a different step again. Read the circular and the exchange standards, name their dates, and keep your own risk layer.

Where this section sits in module 19.5

Where this section sits in module 19.5Where this section sits in module 19.5. 1. The idea, plainly 2. Worked example: why a risk layer sets the size 3. The common mistake 4. Key takeaways01The idea, plainly02Worked example: why a risk layersets the size03The common mistake04Key takeaways
Sections 1 to 4 of 4; the highlighted one is next. Source: Module 19.5, Building a compliant retail algo.

Key takeaways

  • The broker is the principal. The algo provider is its agent.
  • Ten orders a second per exchange decides registration, not whether the rules apply.
  • Every API order is tagged. Static IP, client key and two factor login apply.
  • Algo orders may not be market orders. Sessions log out daily.
  • The exchange keeps a kill switch. The size limit is yours to design.
  • Only registered firms may state past performance, as verified figures.
The RupeeCase terminal on sample data: Holdings, Returns, Risk, History: what is in each tab?
Watch in the terminal: what is in each tab? A short tutorial on sample data.

Before you trade. Derivatives trading carries a high risk of loss. SEBI's study "Profitability of Individual Traders in the Equity Derivatives Segment (FY25 to FY26)" (August 2026) found that 87.7% of individual traders in equity F&O made net losses in FY26, with aggregate net losses of Rs 91,685 crore. Read the SEBI study