← AITrading.in · Blog

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:

  1. Your program applies your rules to market data and decides to send an order.
  2. 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.
  3. 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.
  4. The order is tagged with an identifier provided by the stock exchange, so every algo order can be traced.
  5. 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:

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?

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:

  1. Does it name which broker the orders go through? If not, you cannot tell who is responsible.
  2. 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.
  3. Is the logic disclosed? If it is a black box, the provider needs to be a registered Research Analyst.
  4. Does it quote past or expected returns? SEBI told brokers not to associate with platforms that do.
  5. 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

  1. 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.
  2. Write your rules in two sentences, including the maximum loss you will accept.
  3. 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.
  4. Set an order size cap, a daily loss cap and a stop switch you can reach quickly.
  5. Log every order your program sends.
  6. 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

This article is general information, not legal or financial advice. Trading involves risk of loss.