TraderOps

Guide

SEBI rules for retail algo trading in India (2026)

Updated November 27, 20262 min read

Yes, algo trading is legal for retail traders in India, inside a framework SEBI set out in its circular of 4 February 2025. After two extensions it has applied to all stock brokers since 1 April 2026. It does not ban retail algos; it makes every automated order traceable to a client, a broker and, where one is used, an algo provider.

This is a technical summary, not legal or investment advice, and it reflects the position in November 2026. Rules and exchange standards change, so check the SEBI circular, your exchange’s implementation standards and your broker before you build. It is written by THWorks, which runs TraderOps, an execution platform that places orders through broker APIs.

What the framework requires

RequirementWhat it means in practice
API orders count as algo ordersAny order placed through a broker’s API is treated as an algo order and tagged with an exchange-issued algo ID
Static IPOrder requests must come from a static IP registered with the broker; other IPs are rejected
Client-specific API keysKeys are issued to you, not shared, and access needs two-factor authentication
Registration above a thresholdAlgos that send orders faster than the exchange’s orders-per-second threshold must be registered through the broker
Brokers are responsibleBrokers must approve the algos they allow and the providers they work with, and can stop them

Writing your own algo

If you code your own strategy for your own account, you can trade through your broker’s API from your own static IP. NSE’s guidance treats self-coded algos as the case static IPs are meant for: the algo logic runs where the static IP is, on your machine or your own server, not on someone else’s.

Using an algo provider

Platforms that offer ready strategies or run algos for many clients have to be empanelled with the exchange through a broker, and their algos carry their own IDs. Before you connect one to your account, check that it works through your broker under the framework, and that you understand what it can do with your API key.

What this means for a build

  • Host the strategy where it can keep a fixed, registered IP, such as a cloud server with a static address.
  • Keep order rates under the exchange threshold unless the algo is registered.
  • Log every order with its algo ID, so fills and rejections can be reconciled.
  • Plan for the broker rejecting orders that break its rules, and alert on it.

Our guide to automating trades on Zerodha and Upstox covers the broker side. If you need a platform built rather than a script, see trading software development.

Questions

What people ask next.

  • Yes. SEBI’s retail algo framework, in force for all brokers since 1 April 2026, allows it through broker APIs, with static IPs, algo IDs on every order, client-specific API keys and registration above an order-rate threshold.

  • Yes, for placing orders through a broker API. The order request must come from a static IP registered with your broker. Reading data usually does not need one, but check your broker’s rules.

Next step

Tell us what is breaking, and what it costs you.

A scoping call is 30 minutes and gets you a fixed estimate. If we are the wrong people for it, we will say so.

See the work
  • Reply within one business day
  • Fixed price, fixed scope
  • You own the code