Algorithmic trading — also called algo trading or automated trading — involves using computer programs to execute buy and sell orders in financial markets based on pre-defined rules, without manual intervention. In India, algo trading is not only legal but has become the dominant mode of trading on the NSE, accounting for over 60-73% of derivatives market activity by 2026. However, new regulations have significantly changed how individuals and institutions can participate.
Yes, Algo Trading Is Legal in India
Algorithmic trading was formally permitted in India in April 2008 with the introduction of Direct Market Access (DMA). Since then, it has grown rapidly. As of 2026, it represents the majority of trading volume across futures, options, and equity segments on the NSE and BSE.
SEBI (Securities and Exchange Board of India) is the primary regulator and has developed a comprehensive legal framework governing algo trading. Algo trading is legal for both institutional traders and, under the new 2025 framework, retail investors — subject to compliance with SEBI’s rules.

SEBI’s 2025 Framework: The Game Changer
On February 4, 2025, SEBI issued a landmark circular titled ‘Safer Participation of Retail Investors in Algorithmic Trading.’ After phased implementation through 2025, the framework became fully mandatory from April 1, 2026. This is one of the most significant regulatory changes to India’s market structure in years.
Key provisions include: Every algorithmic strategy must be approved and registered with a recognised stock exchange before going live. Each approved strategy receives a unique Algo ID — all orders generated by that algorithm must be tagged with this ID for audit purposes. The end of open APIs — only authenticated, static-IP-based API access is permitted. Brokers are legally responsible for all algo strategies running through their platforms.
Two Types of Algorithms Under the Framework
SEBI distinguishes between white-box and black-box algorithms. White-box (Execution Algos): The logic is fully transparent and replicable — such as VWAP, TWAP, or simple moving average crossovers. These can be used by retail traders without a SEBI Research Analyst licence for the algo provider. Black-box (Non-Disclosed Algos): The logic is proprietary or hidden. The algo provider must be registered as a SEBI Research Analyst to offer these to retail clients.
Who Is Exempt From Full Registration?
Not every trader using automation needs to go through formal algo registration. SEBI has set a threshold of 10 Orders Per Second (OPS). Retail traders generating fewer than 10 orders per second through API are considered regular API users, not algo traders requiring registration. This means running a personal trading script that places a few orders per minute, automating SIP-style equity purchases, and using limit orders via a broker’s API for personal use — all of these generally fall below the registration threshold for most retail traders.
Final Thought
Algo trading is fully legal in India and is becoming increasingly democratised thanks to SEBI’s structured framework. The April 2026 deadline ensures all algo activity is traceable and regulated. For retail traders, using a SEBI-approved algo platform through a registered broker is the correct legal path. Unauthorised bots, unregistered third-party platforms, and direct API connections that bypass broker oversight are not permitted and carry penalty risk.
Frequently Asked Questions (FAQs)
Q1. Can a retail investor run their own Python trading bot in India?
A: Yes, but within SEBI’s framework. From April 2026, any automated strategy must be registered with the broker and the exchange before going live. If your strategy generates fewer than 10 orders per second, it may fall below the formal algo registration threshold. Check with your broker for their specific implementation of SEBI’s guidelines.
Q2. Do algo trading providers need a SEBI licence?
A: It depends on the type of algorithm. Providers of black-box (non-transparent) algo strategies must be registered as SEBI Research Analysts. Providers of white-box execution algorithms have lighter requirements but must be empanelled with stock exchanges through a broker and pass due diligence requirements.
Q3. What is the penalty for using an unregistered algo strategy?
A: Brokers who allow unregistered algo strategies through their platforms face regulatory action from SEBI and stock exchanges. Retail traders using unapproved bots may have their accounts suspended. SEBI can also impose fines and issue enforcement orders against platforms found to be non-compliant.
Q4. Are high-frequency trading (HFT) firms allowed in India?
A: Yes, HFT firms are allowed in India but are subject to SEBI’s oversight, co-location policies at exchanges, and the same algo registration requirements as other participants. SEBI barred Jane Street in July 2025 for alleged manipulative algorithmic trading practices, signalling active enforcement against HFT manipulation.