About usHelpServicesBlog
Contact us
Foundations

Custom Algo Software Is Legal in India, But There's a Catch

R
Rina Sethi
15th May 2026
6 min read
#custom algo trading software#sebi algo trading rules 2026#algo trading software india#Systematic Trading#Compliance
Custom Algo Software Is Legal in India, But There's a Catch

Your custom algo trading software is completely legal in India, until you cross one of five invisible lines.

Most traders hear "algo trading is legal" and stop reading there, which is exactly how compliant systems turn into rejected orders and licensing problems. SEBI's framework, mandatory since April 1, 2026, permits you to build and run your own algorithm, but only while it stays transparent, stays under 10 orders per second, and trades only your own or immediate family's account. Share it once, hide its logic, or skip the order tagging, and the answer flips. Here's exactly where the lines are, and how to build so you never cross one by accident.

Custom algo trading software is fully legal for retail traders in India, SEBI explicitly permits you to build and run your own algorithms through a broker's API. The catch is that this legality is conditional, not absolute. Cross one of a few specific lines, and your perfectly legal system either stops trading or suddenly requires registration you didn't plan for. This is what those lines are, and why they matter before you commission a build.

Is custom algo trading software actually legal in India?

Yes, building and running your own custom algo is legal, with conditions. SEBI's framework, fully mandatory since April 1, 2026, formally recognises retail algorithmic trading through broker APIs and permits traders to develop and deploy their own strategies. What changed is that "legal" now comes with a defined boundary. The regulator drew clear lines between personal automation, which is broadly permitted, and activities that trigger registration or licensing. Stay inside the lines and you're fully compliant; step over one and the rules change immediately.

The catch: legality depends on five conditions

Your custom algo is legal only while all five of these hold true at once. Miss any one, and you move into non-compliant or registration-required territory.

  • It stays "white box." Your strategy logic must be transparent and rule-based, logic you can see and explain. Black-box systems with hidden logic offered to others require the provider to hold a SEBI Research Analyst licence. A custom build you own and understand is white-box by design.
  • It stays under 10 orders per second. Below this threshold, measured per exchange in any rolling one-second window, you're a regular API user needing no separate registration. Cross 10 OPS and you're classified as high frequency trading, which requires mandatory exchange approval and testing.
  • It trades only your own or immediate family's account. Personal use is permitted, and SEBI extends this to immediate family, defined as spouse, dependent children, and dependent parents. The moment you run it for friends, clients, or anyone else, you need to register as a Research Analyst.
  • Every order carries an Algo-ID. Orders must be tagged with the exchange-issued identifier and routed through an approved broker. Untagged orders are rejected at the exchange level.
  • It runs on a whitelisted static IP with daily 2FA. API access must come from a registered static IP, authenticated via OAuth with two-factor authentication completed daily. This prevents one person from quietly managing multiple accounts.

Why the "personal use" line matters most

The fastest way to turn a legal algo into an illegal one is to share it. Many traders assume that if their software is legal for them, lending it to a friend or running a relative's account is harmless. Under the 2026 framework, it isn't. Sharing is restricted to immediate family only, and offering a strategy to anyone else, paid or free, makes you an algo provider, which requires a Research Analyst licence and strategy registration with the exchange. A custom build is safest precisely because it's yours; the legal risk appears the moment it stops being personal.

What this means when you commission a custom build

Build for compliance from day one, because retrofitting it is expensive and sometimes impossible. A competent developer should deliver Algo-ID tagging, static-IP and daily-2FA handling, and transparent white-box logic as standard, these are no longer optional features. Equally, the responsibility structure has shifted: under the new rules, your broker is the principal accountable for every algo on its platform, and any provider must partner with a registered broker rather than connect directly to the exchange. When you commission custom software, confirm in writing that it's built to keep you inside all five conditions above.

SEBI Compliance Conditions Matrix

ConditionLegal (compliant)Triggers registration / rejection
LogicWhite-box, transparentBlack-box offered to others, RA licence
SpeedUnder 10 OPS10+ OPS, HFT exchange approval
AccountOwn + immediate familyOthers, RA licence + registration
Order taggingAlgo-ID presentUntagged, rejected
AccessStatic IP + daily 2FANon-whitelisted IP, blocked

Want us to build this for you?

Talk to our team

This is general educational information, not legal advice. Confirm your specific setup with your broker or a qualified professional before deploying.

Frequently Asked Questions

Stay legal by design

The difference between a compliant custom algo and a liability isn't luck, it's whether the software was built to respect every one of these conditions from the start.

Talk to our team about a custom build engineered to keep you fully inside SEBI's 2026 framework.

Already Have a Strategy? Let's Automate It.

At Arkalogi, we convert your trading logic into fully automated systems - integrated with your broker, backtested on real market data, and deployed on a live server. You describe your strategy in plain English. We handle everything else. Book a free honest assessment on WhatsApp to chat with us. No sales pitch. Just clarity on what's possible and what infrastructure you need to avoid common failure modes.

This post was written by Rina Sethi, a Algo Trading Developer at Arkalogi.

If you want a custom strategy like this built for your broker, we can help.

Relevant Service

This post is relevant to our expertise in Custom Trading Strategy Development.

See service

Share this article