Algorithmic Trading in India: Who Sets the Rules
Algorithmic trading in India is trading in which orders are generated by automated rules instead of being typed in by hand. It is allowed, but it runs through a stock broker and under rules set by SEBI (the Securities and Exchange Board of India, the market regulator) and the stock exchanges. If you are a retail investor, your broker is the gatekeeper for everything you automate.
Risk note, up front: automation does not make a trading decision better, it only makes it faster and more repeatable. A flawed rule loses money faster when a program runs it. This article is education, not investment advice, and it names no strategy, signal or expected return.
What counts as algorithmic trading in India?
SEBI's circular of 30 March 2012 defines it in one line: "any order that is generated using automated execution logic" is algorithmic trading. The definition says nothing about speed. A program that sends one order a day is covered, and so is a system that sends thousands.
For the basics of how the idea works, see what is algo trading. This guide is about the Indian setting: who is involved and who is responsible for what.
Who are the parties, and what does each one do?
| Party | Role in a retail algo order |
|---|---|
| You (the investor) | Write or choose the rules, set your own limits, keep credentials private |
| Stock broker | Provides API access, applies risk checks, is the principal for the order |
| Algo provider or vendor | Supplies software or strategies; acts as the broker's agent when it uses the broker's API |
| Stock exchange (NSE, BSE) | Sets implementation standards, issues the order tag, empanels algo providers |
| SEBI | Sets the framework through circulars; does not regulate algo providers directly |
The "principal and agent" wording is from SEBI's circular of 4 February 2025, "Safer participation of retail investors in Algorithmic trading". It says that for API-based algo trading the broker is the principal and any algo provider or fintech vendor acts as the broker's agent. The same circular says algo providers are not regulated by SEBI, but must be empanelled with the exchanges, and brokers must do due diligence before onboarding them.
How does a retail algo order travel through the system?
Here is the path, in the order an order takes it:
- Your program applies your rules to market data and decides to send an order.
- The broker's API receives it. Access is tied to a client-specific API key, a static IP address the broker has whitelisted, and two-factor authentication.
- The broker's risk checks run on the order before it is released. SEBI's 2012 circular lists minimum checks, including a price check, a quantity check and an order value check.
- The order is tagged with an identifier provided by the stock exchange, so every algo order can be traced.
- The exchange matches it like any other order.
Your program sits at step 1. Steps 2 to 5 are not yours to bypass. If a check rejects an order, your code must handle that safely instead of retrying in a loop. SEBI's 2012 circular requires the algo system to have pre-defined parameters for an automatic stoppage if execution leads to "a loop or a runaway situation".
What changed in 2025?
The 4 February 2025 circular set up a specific framework for "safer participation" of retail investors, with brokers and exchanges playing required roles in risk management. Its main points:
- Brokers must not allow open APIs. Access goes through a client-specific key and a whitelisted static IP, with OAuth-based authentication and two-factor authentication.
- All algo orders flowing through APIs are tagged with a unique identifier provided by the exchange.
- Algos built by "tech-savvy" retail investors themselves must be registered with the exchange only if they cross a specified orders-per-second threshold.
- Algos split into types: ones where the logic is disclosed and can be replicated, and "black box" ones where it is not. For black box algos, the provider must register as a Research Analyst and keep a research report.
The dates then moved. SEBI's circular of 30 September 2025 records an extension of the original start date, a glide path for brokers that were not ready, and 1 April 2026 as the date from which the framework, with the exchanges' standards, applies to all stock brokers (paragraphs 1, 4 and 8). Our longer guide, is algo trading legal in India, walks through the NSE standards and the timeline with circular numbers.
What can go wrong for a retail trader in India?
- Rule risk: the logic is wrong, or it only worked in one period of past data.
- Technical risk: a dropped connection, a bad data feed, or a login that expires at the wrong moment. NSE's implementation standards (circular NSE/INVG/67858, section A.8) say all API sessions must be logged out every day before the next trading day, so a program must be able to restart cleanly.
- Vendor risk: a seller promising returns. In June 2022 SEBI cautioned investors against unregulated platforms offering algo trading, and its September 2022 circular barred stock brokers from referring to the past or expected return of an algorithm. Treat any promised return as a warning sign.
- Credential risk: anyone with your API key can place orders in your account. Never share it.
- Cost risk: brokerage, taxes and slippage reduce results, and simple tests often leave them out.
A worked example: reading a vendor's pitch
Say a website offers "automated strategies for Nifty" and shows a profit chart. Check these in order, and stop at the first failure:
- Does it name which broker the orders go through? If not, you cannot tell who is responsible.
- Is the provider empanelled with the exchanges? Ask for the exchange name and do not accept "approved by SEBI" as an answer, since SEBI does not register algo providers.
- Is the logic disclosed? If it is a black box, the provider needs to be a registered Research Analyst.
- Does it quote past or expected returns? SEBI told brokers not to associate with platforms that do.
- Does it ask for your broker password or API secret? Walk away.
This checklist is not a verdict on any product. It only tells you what to ask.
A checklist before you automate anything
- Ask your broker in writing whether it offers API access to retail clients, what it needs from you (such as a static IP), and how your setup is classified.
- Write your rules in two sentences, including the maximum loss you will accept.
- Test on past data, then on live prices with no real money. See how to backtest a trading algorithm and paper trading vs live trading.
- Set an order size cap, a daily loss cap and a stop switch you can reach quickly.
- Log every order your program sends.
- Re-read the current circulars from SEBI, the exchanges and your broker before going live.
Frequently asked questions
Is algorithmic trading legal in India? Yes, for retail investors through a stock broker and within SEBI and exchange rules. The rules cover API access, order tagging and the use of vendors.
Does SEBI approve algo trading software? SEBI's 2025 circular says algo providers are not regulated by SEBI, but must be empanelled with the exchanges. A claim of "SEBI approved" is not a substitute for that check.
Do I need to register my own algo? Under the 2025 framework, a retail investor's own algo needs exchange registration only if it crosses the specified orders-per-second threshold. Orders are still tagged. Ask your broker how your setup is treated.
Can algorithmic trading guarantee profits? No. Nothing in the SEBI documents cited here suggests it can, and SEBI has acted against promised returns.
Where should a beginner start? With the broker's written answer on API access, then a no-money test. Read python algo trading: what to learn before you code if you plan to write your own code.
Where a custom build fits
Some traders want software built to their own written rules, with backtesting and options analytics, connected to their broker's API. The home page describes the kinds of systems built, and the FAQ answers common questions. A developer can make your rules explicit and run them consistently. A developer cannot make a strategy profitable.
Limits of this article
It draws on the SEBI circulars and the NSE standard listed below, each read in full text on 5 November 2026. It does not cover taxation, your broker's own terms, or circulars issued after the date of writing (5 November 2026). Check the current rules before you trade.
Sources
- SEBI, circular CIR/MRD/DP/09/2012, "Broad Guidelines on Algorithmic Trading", 30 March 2012: https://www.sebi.gov.in/sebi_data/attachdocs/1333109064175.pdf
- SEBI, circular SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/0000013, "Safer participation of retail investors in Algorithmic trading", 4 February 2025 (full text read from the PDF): https://www.sebi.gov.in/sebi_data/attachdocs/feb-2025/1738665456458.pdf
- NSE, circular NSE/INVG/67858, "Safer participation of retail investors in Algorithmic trading" (implementation standards), 5 May 2025: https://nsearchives.nseindia.com/content/circulars/INVG67858.pdf
- SEBI, circular SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/132, "Extension of timeline for implementation of SEBI Circular dated February 04, 2025", 30 September 2025: https://www.sebi.gov.in/legal/circulars/sep-2025/extension-of-timeline-for-implementation-of-sebi-circular-dated-february-04-2025-on-safer-participation-of-retail-investors-in-algorithmic-trading-_96979.html
- SEBI, press release PR No. 20/2022, 10 June 2022: https://www.sebi.gov.in/media/press-releases/jun-2022/caution-to-investors-against-dealing-with-unregulated-platforms-offering-algorithmic-trading_59672.html
- SEBI, circular SEBI/HO/MIRSD/DOP/P/CIR/2022/117, 2 September 2022: https://www.sebi.gov.in/legal/circulars/sep-2022/performance-return-claimed-by-unregulated-platforms-offering-algorithmic-strategies-for-trading_62628.html
This article is general information, not legal or financial advice. Trading involves risk of loss.