Alice Blue Home

You set a rule for your trading software: buy a stock or option when the price crosses a level, then place a stop loss automatically. The signal comes, the software sends the order, and the trade happens in seconds. But under India’s current rules, that order cannot go to the exchange as an unnamed API request. It needs a tag that shows which strategy sent it.

That tag is called an Algo ID. It is a unique code given to an automated trading strategy. Every order placed by that strategy carries the Algo ID, so your broker and the stock exchange can see which strategy placed, changed, or cancelled the order. Since April 1, 2026, this requirement applies fully to retail algorithmic trading in India.

Quick Answer

An Algo ID is a unique exchange-issued code for an automated trading strategy. When your algo places, modifies, or cancels an order through a broker’s API, the order carries this ID. It helps the broker and exchange track the strategy, monitor unusual activity, and apply risk controls. It does not improve profits. It makes automated trading traceable and accountable.

Table of Contents

  1. What Is an Algo ID?
  2. Why Every Automated Order Needs an Algo ID
  3. When Did the Algo ID Rule Become Mandatory?
  4. How Does an Algo ID Work?
  5. Do All Algo Traders Need Exchange Registration?
  6. How Do You Get an Algo ID?
  7. Algo ID Example: Bank Nifty Trade
  8. What Happens If an Order Has No Algo ID?
  9. Algo ID vs Manual Trading
  10. Risks of Algo Trading Even With an Algo ID
  11. How to Start Algo Trading Safely
  12. Frequently Asked Questions

What Is an Algo ID?

An Algo ID is a unique code issued for an automated trading strategy. Think of it like a vehicle registration number. Many cars may look similar, but each one has a number that identifies it.

In trading, an algo is short for algorithm. It is a set of rules that tells software when to buy, sell, modify, or cancel an order. For example, your rule could be: buy 50 shares of Tata Motors if the price rises above ₹1,000 and place a stop loss 2 percent below the entry price.

Instead of watching the chart and clicking Buy yourself, you let the software do it. That is algorithmic trading.

The Algo ID is attached to every order your strategy sends. So if your software places an order, changes its price, or cancels it, the exchange can trace that action back to your specific strategy. SEBI introduced this requirement to make retail algo trading more transparent and accountable.

Why Every Automated Order Needs an Algo ID

Automated systems can send orders much faster than a person. That speed is useful, but a small coding mistake can create many unwanted orders in a short time.

The Algo ID helps prevent that problem from staying hidden. Because every automated order carries the ID, the broker and exchange can see which strategy is responsible for the order flow. If a strategy sends too many orders, repeats the same order, or behaves strangely, it becomes easier to identify and control.

This also helps when something goes wrong. Suppose your strategy places 50 orders instead of one because of a loop in the code. With an Algo ID, the broker can identify the exact strategy, apply limits, and stop further orders if needed.

SEBI’s rules also make the broker responsible for providing approved API access and monitoring algo activity. If you use a third-party algo provider, the broker acts as the principal and the provider acts as its agent.

When Did the Algo ID Rule Become Mandatory?

SEBI published its circular, Safer Participation of Retail Investors in Algorithmic Trading, on February 4, 2025. The circular number is SEBI/HO/MIRSD/MIRSD/PoD/P/CIR/2025/0000013.

The framework was implemented in phases during 2025. It became fully mandatory for all stock brokers from April 1, 2026.

For a retail trader, this means:

  • You can still use automated strategies.
  • Orders must route through a SEBI-registered broker.
  • Automated orders must carry an exchange-issued Algo ID.
  • Brokers must monitor algo activity and manage risk.

How Does an Algo ID Work?

Here is what usually happens when you use an automated strategy in India.

  1. You open an account with a SEBI-registered broker.
    Your algo cannot connect directly to NSE or BSE. It must send orders through your broker’s approved system.
  2. You create or choose a strategy.
    It could be a simple rule-based strategy or a strategy from an algo platform. For example: buy Nifty 50 futures when the price crosses the previous day’s high.
  3. You connect the strategy to your broker’s API.
    An API is a connection that allows your software to communicate with your broker’s trading system. Alice Blue explains this in its API basics guide.
  4. Your broker checks whether your strategy needs registration.
    If your strategy stays below the exchange’s order rate threshold, it may not need separate registration. If it crosses the threshold, or if you use a third-party algo provider, registration through the broker is required.
  5. The exchange assigns an Algo ID where registration is required.
    The exchange gives the registered strategy a unique Algo ID. Your broker’s system then attaches that ID to the strategy’s orders.
  6. Your algo sends an order.
    Suppose it wants to buy 25 shares of Infosys. The broker attaches the Algo ID before the order reaches the exchange.
  7. The order is tracked through its full life cycle.
    The ID applies not only when the order is placed. It also applies when the order is modified or cancelled.
  8. Risk controls can act if needed.
    If the strategy breaches limits or sends abnormal order flow, the broker can block activity. A kill switch can also stop algo orders in an emergency.

Do All Algo Traders Need Exchange Registration?

No. Many beginners get confused here.

A regular API user is someone running a personal strategy for their own account, usually at a modest order rate. If the strategy stays below 10 orders per second per exchange segment, separate exchange registration is generally not required. However, the orders are still tagged as algorithmic and need an Algo ID.

If your strategy sends 10 or more orders per second to an exchange segment, it must be registered with that exchange through your broker. The exchange then issues its own Algo ID for the strategy.

Parameter

Regular API user

Registered retail algo

Who it suits

A trader running a personal strategy

A trader using a faster strategy or third-party provider

Order rate

Below 10 orders per second per exchange segment

10 or more orders per second per exchange segment

Exchange registration

Generally not required

Required through the broker

Algo ID

Required for automated orders

Required for automated orders

Broker’s role

Provides approved API access

Acts as principal and monitors compliance

Typical use

Simple personal automation

Algo providers, advanced traders, faster strategies

Your broker may apply a lower limit than the exchange threshold. Confirm the exact limit and process with your broker before going live.

How Do You Get an Algo ID?

You do not apply for an Algo ID on your own. You connect your strategy through a SEBI-registered broker.

If your strategy needs registration, your broker forwards the required details to the exchange. The exchange issues the Algo ID for that strategy. Your broker’s system then uses the ID to tag the strategy’s orders.

If you use a third-party algo platform, check whether the provider is registered with the exchange and works through your broker. The broker remains responsible for access, monitoring, and complaint handling.

Algo ID Example: Bank Nifty Trade

Let us say Ravi trades Bank Nifty options using an automated strategy through his broker’s API.

His rules are:

  • Buy one at-the-money Bank Nifty call option when Bank Nifty crosses the day’s opening price.
  • Place a stop-loss 20 points below the entry price.
  • Exit at a target of 40 points.
  • Allow only one open position at a time.

At 9:30 a.m., Bank Nifty crosses its opening level. The algo sends a buy order for 30 units at ₹300.

The broker attaches Ravi’s Algo ID to the order. The exchange receives the tagged order and executes it.

If the target is hit at ₹340:

Profit = (340 minus 300) multiplied by 30 = ₹1,200

If the stop loss is hit at ₹280:

Loss = (300 minus 280) multiplied by 30 = ₹600

The Algo ID does not decide whether Ravi makes ₹1,200 or loses ₹600. Its job is to show that both the entry and exit orders came from Ravi’s Bank Nifty strategy.

Now imagine a bug causes the strategy to send 100 orders in one second. The Algo ID helps the broker identify the source quickly and apply risk controls before the problem grows.

If you want to understand automated F&O trading in more detail, read Alice Blue’s guide on algo trading in F&O markets.

What Happens If an Order Has No Algo ID?

Your broker’s system should attach the Algo ID before the order reaches the exchange. If tagging fails or compliance checks are not met, the order may be rejected or blocked.

This is why you should not treat the Algo ID as an optional setting. Before sending live orders, confirm with your broker that:

  • Your API access is approved.
  • Your strategy is correctly classified.
  • The Algo ID is attached to every order.
  • Order modifications and cancellations are also tagged.

Algo ID vs Manual Trading

Parameter

Automated order with Algo ID

Manual order

Who places the order

Software follows preset rules

You place the order yourself

Algo ID

Required

Not required

Speed

Can be very fast

Depends on your reaction time

Discipline

Follows the coded rules consistently

Depends on your discipline

Risk monitoring

Broker and exchange can monitor tagged activity

You monitor positions yourself

Best for

Repeatable, rule-based strategies

Occasional or discretionary trades

If you buy shares manually through a trading app, you do not need an Algo ID. The requirement applies to orders generated by an algorithm.

Risks of Algo Trading Even With an Algo ID

An Algo ID makes automated trading traceable. It does not protect you from a badly designed strategy.

  • Coding errors: A wrong quantity, incorrect stop loss, or repeated order loop can cause losses.
  • Market risk: If your view on Nifty, Bank Nifty, or a stock is wrong, the strategy can lose money.
  • Liquidity risk: Some options and less-traded stocks may have wide bid-ask spreads, making exits costly.
  • Slippage: Your order may execute at a different price than expected during fast market moves.
  • Overtrading: A poorly written condition can trigger more trades than you intended.
  • Technical issues: Internet problems, API downtime, delayed data, or server errors can affect order placement.
  • Overconfidence: Automation can make traders increase position size too quickly. The system may follow rules consistently, but those rules can still be wrong.

How to Start Algo Trading Safely

Before you automate a strategy, keep these checks in place.

  • Start with one simple strategy and test it using paper trading or a small position size.
  • Confirm with your broker whether your strategy needs exchange registration.
  • Use a static IP if your broker requires it for API access. A static IP is a fixed internet address for your computer or server. Your broker uses it to confirm that API orders come from an approved source.
  • Set a maximum daily loss and a maximum number of trades per day.
  • Define entry, exit, stop loss, quantity, and position size rules before going live.
  • Include brokerage, taxes, slippage, and possible rejections when testing the strategy.
  • Monitor the first few live trades closely.
  • Do not use an algo provider just because it promises high returns. Check whether it works through a registered broker framework.
  • Keep a record of every strategy change you make.

Conclusion

An Algo ID is a unique code that identifies your automated trading strategy. Every order your algo places, changes, or cancels carries this ID, helping your broker and the exchange keep automated trading traceable.

If you plan to use API trading or an algo platform, treat the Algo ID as a basic requirement, not an optional setting. Confirm the process with your broker, test your strategy carefully, and use clear loss limits. Automation can save time, but good risk control is still your responsibility.

Frequently Asked Questions

Edit Content

An Algo ID is a unique code given to an automated trading strategy. Every order placed, modified, or cancelled by that strategy carries the ID so the broker and exchange can identify its source.

Edit Content

It helps brokers and exchanges track automated order flow, monitor unusual activity, and apply risk controls. It also creates accountability if a strategy misbehaves.

Edit Content

No. If you place an order yourself through a trading app, you do not need an Algo ID. The requirement applies to orders generated by an algorithm.

Edit Content

You connect your strategy through a SEBI-registered broker. If your strategy needs registration, the broker sends the details to the exchange, which issues the Algo ID.

Edit Content

Not always. A personal strategy below 10 orders per second per exchange segment may not need separate registration. Strategies at or above that threshold, and third-party algo strategies, generally need registration through the broker.

Edit Content

No. It only identifies and tracks your strategy. Your strategy can still lose money because of market movements, coding errors, liquidity issues, or poor risk management.