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
- Name the circulars of the framework by number and date, and say who does what under them.
- List what each route needs: static IP, client key, OAuth, two factor login, daily logout, tags and registration.
- Design a rate limiter that holds under the ten orders a second line, and add the risk layer the framework leaves to you.

The idea, plainly
Which documents make up the framework?
Seven papers carry it, and a design should name the one it relies on, because dates and details moved between them. SEBI set the principles on 4 Feb 2025. The exchanges wrote the standards and operating detail, and SEBI moved the dates twice.
| Date | Document | What it fixes |
|---|---|---|
| 4 Feb 2025 | SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/0000013 | Roles of investor, broker, algo provider and exchange. Tagging. White box and black box. Applicable from 1 Aug 2025 |
| 29 Apr 2025 | NSE/MSD/67753 | Consolidated circular for non-NEAT front ends: pre-trade checks, no market orders in algo, mock sessions |
| 5 May 2025 | NSE/INVG/67858 | Implementation standards: static IP, API keys, ten orders per second, daily logout |
| 22 Jul 2025 | NSE/INVG/69255 | Detailed modalities: empanelment, registration, turnaround times, tag layout, risk checks, re-registration |
| 29 Jul 2025 | SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/108 | Start moved to 1 Oct 2025 |
| 19 Sep 2025 | NSE/INVG/70309 | Corrigendum to the modalities of 22 Jul 2025 |
| 30 Sep 2025 | SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/132 | Ready brokers live from 1 Oct 2025, three milestones for others, all brokers from 1 Apr 2026 |
Exchanges update operational detail by circular, so check the NSE algo page before relying on any figure here.
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.
2 terms this section turns on
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 go out under one predefined key and carry a generic tag: the algo ID field reads 99999 and the 13th digit of the order's NNF identifier is 0 (NSE/INVG/69255, para 8.2.4). 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.

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
Which route needs what?
The same ten orders a second line splits the investor's own algo into two routes, and the broker and the provider have their own. The table sets the routes side by side, with the static IP that each needs. The rows come from the standards of 5 May 2025, the modalities of 22 Jul 2025 as corrected on 19 Sep 2025, and NSE's FAQ.
| Route | Registration | Static IP of | Re-registration |
|---|---|---|---|
| Own algo, up to the line | None; generic tag; one predefined key | The client | Not applicable |
| Own algo, above the line | Exchange algo ID through the broker; auditor certificate, strategy and risk write ups | The client | Changes go through the broker, who seeks an update of the registration |
| Broker built algo | Each algo registered by the broker | The broker or the client | Changes reported to the exchange |
| Provider, white box | Provider empanelled; each algo registered through a broker | The provider or the client; the broker's server if hosted there | On a change in logic and the other changes of para 9 |
| Provider, black box | As above, plus research analyst registration and a research report | As above | No modification; any change in logic is a fresh registration |
Read one more paragraph, 52 words
Turnaround times are in the modalities too: the exchange aims to act within 10 working days of a complete application to register an algo, 7 for an execution algo, and 30 for the empanelment of a provider. These are maximum timelines for the exchange, and a registration plan should count them in.
What does a registration file hold?
For an own algo above the line, the broker applies on the investor's behalf and the application carries more than a name. It states five levels of category: the front end (client direct API), the developer (a tech savvy client above the threshold), the user (the client), the logical grouping (white box or black box) and the strategy type. White box types are execution, TWAP and VWAP; black box types are arbitrage, alpha seeking, high frequency, scalping and others. For a tech savvy client the broker also discloses the PAN and the client code as reported to the exchange. The documents are an auditor certificate in the exchange's format, a write up of the strategy and a write up of the risk management (NSE/INVG/69255, paras 2 and 8). A rule that cannot be written up in a page is a rule whose registration will be hard to defend.
Two terms to hold on to from 19.5
What can the exchange do to a running algo?
The exchange watches algo orders at all times and may simulate algos in testing. The circular of 4 Feb 2025 keeps its ability to use the kill switch on orders from one algo identifier, and the standards of 5 May 2025 add that the exchanges have the authority to kill any rogue algo that affects the market. Because every order carries a tag, the switch can stop one algo without halting the account's other trading. The tag works for the investor too: the same identifier ties a run of orders to the registration that approved them.
How do I keep under the rate line, in the model?
A limiter that looks safe can fail. The threshold is read on the calendar second of the broker's server, and a calendar second is any whole second on that clock. A limiter that allows at most ten orders in each fixed second of your own clock sends ten at the end of one second and ten at the start of the next, and the broker's second can fall across the join and see twenty. A sliding window, which refuses an order if ten have been sent in the last full second, keeps every one second interval at ten or fewer, whatever the clock. A token bucket gives the same bound and also smooths bursts.
Maths: bursts, windows and the share of the ceiling
Fixed window, worst case =
2 × limit per window
Sliding window, worst case =
limit
With a limit of 10 a window, the worst case in one broker second is 20 orders for a fixed window and 10 for a sliding one. The binding limit is the burst, not the total. A rebalance of 4 legs, each cancelled and replaced up to 3 times, sends 16 messages. At 10 a second that takes at least 1.6 seconds. 6 such rebalances in a session send 96 messages, which is 0.04% of the 2,25,000 the ceiling allows in a session. If orders arrive at random, as a model, with a mean of 5 a second, the chance of more than 10 in a given second is 1.4%. At a mean of 3 it is 0.03% and at 8 it is 18.4%.
Read one more paragraph, 85 words
The practical point is that a basket is a burst. NSE's FAQ treats basket orders through a client's API as algo orders too, tagged like the rest, so a design should count each leg of a basket against the line. A multi leg unwind sent in one second can breach a limit that the daily total never comes near. The remedy is pacing: queue the legs and release them at a set spacing, a tenth of a second at the ceiling and slower in practice.

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
- SEBI circular
The framework for safer retail participation in algo trading
- NSE standards
Threshold, static IP, API keys and tagging set out
- Start moved to 1 Oct 2025
SEBI extends the implementation date
- Glide path
Ready brokers go live, others follow three milestones to 3 Jan 2026
- Onboarding bar
Brokers that missed the milestones cannot onboard new API algo clients
- All brokers
The framework applies to every stock broker
Where this section sits in module 19.5
What checks does the broker run on every order?
The modalities list the pre-trade controls a broker must apply to algo orders, at the level of the order and of the client. At the order level: a price check against the exchange's bands, a quantity check, an order value check, protection against a bad trade price, and market price protection, which is why an algo order cannot be a market order. At the client level: a cap on the cumulative value of open orders, an automated execution check that stops an algo caught in a loop or a runaway, a check of net position against available margin, a market wide position limit check, and checks against the client's position, trading, exposure, turnover and per security limits (NSE/INVG/69255, para 11). The broker sets those limits from the client's risk assessment and margin, and the system must not accept an unlimited value.
Read one more paragraph, 64 words
A rejection from these checks is not an error to retry. It is information about a limit. An algo that resends a rejected order in a loop is the case the automated execution check exists to stop. Your own layer should mirror the same checks before the order goes out, so that a rejection is rare and, when it comes, is logged and read.
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.

Read one more paragraph, 111 words
Four of those guards are worth a line each. The duplicate guard gives every order a number of its own and refuses to send a number twice, so a retry after a timeout cannot double a position. The position check at each start compares the broker's book with the program's, and stops if they differ. The loss limit is read from the broker's account of fills, not from the program's belief about them. And the stop is a state, not a message: once the loss limit trips, the program refuses new orders until a person clears it, because a stop that resets itself on the next signal is not a stop.
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.
Where does the algo run, and what is kept?
The standards say retail algos run on the broker's servers, with order messages originating from the broker's server, so that the broker controls the risk checks and the confidentiality of client data. NSE's FAQ makes one exception: a tech savvy client who holds the logic hosts it at the static IP on their side. The broker's server routing API orders to the exchange must be in India, and the broker keeps an audit trail of orders and trades for at least five years (NSE/INVG/69255, para 10). The standards also bind the system to the SEBI cyber security circular of 20 Aug 2024. A design that keeps the algo's logic on a machine the investor controls should keep that machine's logs, patches and access list as carefully as the broker keeps its own.
Where this section sits in module 19.5
What about testing and claims?
Test on dated data first, as in the backtest biases module and backtesting options, with the costs of each date. Registered retail algos take part in monthly mock sessions (NSE/INVG/69255, para 12), and the NSE FAQ says an individual tech savvy client is not required to join them. Claims are a separate rule. SEBI asks registered investment advisers and research analysts who communicate verified past performance to enrol with the Past Risk and Return Verification Agency, which began work on 4 May 2026 (SEBI circular of 3 Aug 2026, which extends the date set in its circular of 29 Apr 2026). A provider of a black box algo has to be a registered research analyst, so it is on that side of the line. A backtest chart posted in a group is not verified performance.
What does the research say?
The framework rests on a policy view more than a literature, but the wider evidence on algorithms is worth reading beside it. Hendershott, Jones and Menkveld (2011) use the rate of electronic message traffic on the NYSE as a proxy for algorithmic trading and find that more of it narrows quoted spreads, with the strongest effect in larger stocks. Kirilenko, Kyle, Samadi and Tuzun (2017) study the 6 May 2010 US flash crash with account level data and find that high frequency traders did not trigger it, but that their response to the heavy selling pressure of that day added to the volatility. The first supports the case for letting algos in. The second is the case for risk controls, rate limits and a kill switch. SEBI's Aug 2026 study of FY26 found that 87.7% of individual F&O traders had a net loss; an algo does not change the arithmetic of costs and odds, it only speeds them up.

Stretch: speed, latency and sizing
The ten orders a second line is slow beside the world of high, medium and low frequency trading, and colocation and latency shows where speed starts to matter. The size of the risk layer's limit is a sizing question, taken up in Kelly and sizing for option strategies. The test of the rule itself is in walk forward testing and Monte Carlo and bootstrap.
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
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, 115 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. On an account of Rs 10,00,000, half is Rs 5,00,000: the model puts that loss on 41.0% of the paths at the large size and on 0.0% at the small one.
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. Four specific errors follow. First, a market order: it is not permitted in an algo, so the broker's market price protection check stops the order and the exit that depended on it does not happen. Second, a fixed window limiter set at the threshold: it can put 20 orders in one broker second and the excess is rejected. Third, a second change of the static IP inside one calendar week: the standards allow one, so a second needs the broker's approval in an extraordinary case, and until then the mapped address stays as it was. Fourth, no size limit: on an account of Rs 10,00,000, ruin of half the account is Rs 5,00,000 and the model gives it 41.0% of paths at the large size. Read the circular and the exchange standards, name their dates, and keep your own risk layer.
What I'd keep from this
- 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.
- A fixed window limiter can double the rate; use a sliding window.
- The exchange keeps a kill switch. The size limit is yours to design.

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