You set up a simple bot on your broker’s API, tested it for weeks, and then one morning your orders stop going through. The reason is often not a bug in your code. Since 1 April 2026, SEBI’s algo trading rules apply to every stock broker in India, and retail traders now need to follow a few specific steps before their automated orders reach the exchange.
SEBI’s retail algo trading framework became mandatory for all stock brokers from 1 April 2026. Algo orders must be routed through a SEBI-registered broker and tagged with an exchange-issued Algo ID. API users need a whitelisted static IP and daily two-factor login. If your strategy sends fewer than 10 orders per second, you generally do not need separate exchange registration.
These rules tell retail investors how they can use automated trading in the Indian stock market. SEBI issued them through its circular dated 4 February 2025, called Safer Participation of Retail Investors in Algorithmic Trading.
Algo trading simply means letting a computer program place orders based on rules you set in advance. For example, buy 50 shares when the price crosses ₹1,500, or sell when the stock falls 2% below your buy price. The software watches the market and sends the order when the condition is met.
Before this framework, many retail traders connected scripts directly to broker APIs with little oversight. SEBI wanted every automated order to be traceable back to the person and strategy that sent it. The rules were delayed twice before becoming fully mandatory on 1 April 2026.
Here is what happens when you run an algo under the new rules.
Before your first algo order goes live, you need four things in place.
A static IP address. You can get one from your internet service provider, or use a cloud VPS, which is a virtual private server that gives you a fixed IP. Many traders use a VPS because home internet connections can change IP addresses without warning.
A broker API key. Your broker issues this after you complete the required verification. Alice Blue’s API basics page explains how programmatic trading works on its platform.
A daily login routine. Because sessions reset every day, build the two-factor login into your morning routine before the market opens. If you skip it, your bot will sit idle all day.
A tested strategy. Backtest your logic on historical data before risking real money. Alice Blue’s guide on setting up your first algo system walks through this step.
Say Priya in Bengaluru has ₹3,00,000 in her trading account. She writes a simple Python script that buys 100 shares of a large-cap stock when its price crosses a 20-day moving average.
Item | Before April 2026 | After April 2026 |
Order type | Market order | Limit order, or market order with protection value depending on broker |
Source of order | Any internet connection | Whitelisted static IP |
Login | Token could stay active for days | Fresh two-factor login daily |
Orders per second | About 1 | About 1 |
Exchange registration | None | None, since 1 is below 10 |
The stock trades at ₹1,500. Priya sets a limit buy at ₹1,502 for 100 shares, which is about ₹1,50,200 in value. She runs the script from her home connection on a static IP she registered with her broker.
One morning, her ISP resets her router and assigns a new IP. Her next order gets rejected because the new address is not whitelisted. She has to update the IP in her broker’s developer console before trading resumes. This is the most common practical problem traders face under the new rules.
A different trader running a scalping bot that fires 12 orders per second is above the threshold. That strategy needs formal registration with the exchange through the broker.
Parameter | Before 1 April 2026 | From 1 April 2026 |
API access | Often open, loosely controlled | API key plus whitelisted static IP |
Order identity | Mostly broker-level logs | Exchange-assigned Algo ID |
Market orders via API | Allowed in most cases | Allowed only with a non-zero market protection value, or blocked entirely depending on broker |
Login | Long-lived tokens common | Two-factor, daily logout |
High-frequency algos | Little oversight | Exchange registration at 10+ orders per second |
Responsibility | Mixed | Broker is the principal |
It suits traders who already have a tested, rule-based strategy and are comfortable with basic coding or a broker-approved no-code platform. Swing and positional traders who want automated entries and exits often find it useful.
It is less suitable for complete beginners who are still learning price action and order types, and for anyone who cannot manage a static IP or daily login. Long-term investors using mutual fund SIPs rarely need algos at all. If you are unsure whether algo trading fits your style, Alice Blue’s comparison of algo vs manual trading is a good place to start.
The SEBI framework did not ban retail algo trading. It made it traceable and broker-controlled. Since 1 April 2026, you need a static IP, a daily two-factor login, an Algo ID on registered algos, and a broker that has onboarded your strategy provider. Registration with the exchange applies only to above 10 orders per second. Before you automate anything, check your broker’s current API requirements, set up your static IP, and test with small quantities. Good compliance protects the process, but it does not protect you from a poor strategy.
Yes. It is allowed through SEBI-registered brokers under the February 2025 framework. It has applied to all brokers since 1 April 2026.
Only if it sends 10 or more orders per second per exchange segment. Below that, you do not need separate registration, but you still need a static IP and daily login.
It is an identifier the exchange assigns to a registered algo. It is attached to each order so the order can be traced back to the strategy.
Common causes are an unregistered or changed static IP, an expired daily login, or a market order that does not meet your broker’s requirements. Check your broker’s API documentation and update your IP if needed.
It depends on your broker. Some block plain market orders on API entirely; others allow them only with a non-zero market protection value. Check your broker’s specific rules before coding.
Yes. Brokers allow API access only through a whitelisted static IP, usually one or two addresses. You can get one from your ISP or use a cloud VPS.
Attention Investors!
Stock Brokers can accept securities as margin from clients only by way of pledge in the depository system w.e.f. September 1, 2020. Update your mobile number & email Id with your stock broker/depository participant and receive OTP directly from the depository on your email id and/or mobile number to create a pledge. Pay 20% upfront margin of the transaction early to trade in the cash market segment. Investors may please refer to the Exchange’s Frequently Asked Questions (FAQs) issued vide circular reference NSE/INSP/45191 dated July 31, 2020, and NSE/INSP/45534 dated August 31, 2020, and other guidelines issued from time to time in this regard. Check your Securities /MF/ Bonds in the consolidated account statement issued by NSDL/CDSL every month.
Corporate Office: No. 153/2, 3rd Floor, M.R.B.Arcade, Bagalur Main Road, Dwaraka Nagar, Yelahanka, Bengaluru – 560 063, Karnataka.
Registered Office: Old No.56/2 ,New No.58, LIC Nagar, Vinayagar Kovil Street, Erode -8,Tamil Nadu– 638002.
Alice Blue Financial Services (P) Ltd : NSE EQ | NSE FO | NSE CDS-90112 SEBI REG : INZ000156038
Alice Blue Financial Services (P) Ltd : BSE EQ | BSE FO | BSE CD-6670 SEBI REG : INZ000156038
Alice Blue Financial Services (P) Ltd : CDSL DP ID 12085300 DP SEBI REG : IN-DP-364-2018
Alice Blue Financial Services (P) Ltd : MCX-56710 SEBI REG : INZ000156038
We hereby declare that we are doing PRO trading
Procedure to file a complaint on SEBI SCORES : Register on SEBI SCORES 2.0. Mandatory details for filing complaints on SCORES: Name, PAN, Address, Mobile Number, E-mail ID. Benefits: Effective Communication, Speedy redressal of the grievances
Click on the provided link to learn about the process for submitting a complaint on the ODR platform for resolving investor grievances.
Investment in securities markets are subject to market risks, read all the related documents carefully before investing. Brokerage will not exceed SEBI prescribed limit.
For queries regarding account opening or activation, email to [email protected] and for fund updates, email to [email protected]
Disclaimer : Prevent unauthorized transactions in your account. Update your mobile numbers/email IDs with your stock brokers. Receive information of your transactions directly from Exchange on your mobile/email at the end of the day. Issued in the interest of investors. All clients have to update their email id and mobile number with Member : Investor Grievance [email protected]
KYC is a one time exercise while dealing in securities markets – once KYC is done through a SEBI registered intermediary (broker, DP, Mutual Fund etc.), you need not undergo the same process again when you approach another intermediary.
No need to issue cheques by investors while subscribing to an IPO. Just write the bank account number and sign in the application form to authorise your bank to make payment in case of allotment. No worries for refund as the money remains in the investor’s account.
Investors are requested to note that Alice Blue Financial Services Private Limited is permitted to receive money from investor through designated bank accounts only named as Up streaming Client Nodal Bank Account (USCNBA). Alice Blue Financial Services Private Limited is also required to disclose these USCNB accounts to Stock Exchange. Hence, you are requested to use following USCNB accounts only for the purpose of dealings in your trading account with us. The details of these USCNB accounts are also displayed by Stock Exchanges on their website under “Know/ Locate your Stock Broker. Bank Details (Valid UPI FAQ).