Yes. A retail trader automating their own account through their own broker is doing something entirely legal, and has been for years.
The confusion comes from three separate things being mixed together: what you may do for yourself, what your broker must do, and what changes the moment other people's money is involved. Those have very different answers, and the third is where people actually get into trouble.
For your own account, through your own broker
Permitted. You do not need SEBI registration to write a program that places your own orders.
What you do need is procedural rather than regulatory:
- API access enabled with your broker, which usually means a subscription and agreeing to their terms
- A static IP registered with the broker for your API order flow, which is how automated order origin is tracked
- Staying inside the limits your broker sets — orders per second, requests per second, and any per-strategy conditions they apply
That is the whole compliance burden for an individual automating their own trading. It is closer to opening an account than to obtaining a licence.
What the framework actually regulates, and who it lands on
The regulatory attention around retail algo trading has been directed mostly at brokers and at the people supplying strategies, not at individuals running their own.
Brokers carry the obligations: identifying and tagging algorithmic order flow, taking strategies through an approval process above defined order-rate thresholds, and supervising what runs through their systems. Your practical experience of that is the static IP registration and the rate limits, which is the framework reaching you through your broker rather than directly.
The reason the framework exists is worth understanding, because it explains where the line falls. The concern was never individuals automating their own decisions. It was unregulated third parties distributing black-box strategies to retail investors, often with performance claims nobody could verify.
Where it stops being legal
Four lines, and crossing any of them changes your position entirely.
Trading other people's money. Running an account for a friend, a relative or a client for a fee or a share of profits requires the appropriate registration. This catches more people than any other item on this list, usually starting informally and growing.
Selling or distributing a strategy. Providing a trading system, signals or recommendations to others for consideration puts you into adviser or research-analyst territory, with registration requirements attached. Sharing code with a friend is different from selling a subscription, and the boundary is narrower than people assume.
Promising returns. No assured or guaranteed return claim is permitted on a market product, ever. It does not become acceptable because the returns happen to be real, or because it is phrased as a past record rather than a promise.
Unregistered advisory. Telling people what to buy, for money, without registration. A paid group issuing buy and sell instructions is providing advice regardless of what it is called.
The pattern is consistent: automate for yourself and you are a trader; involve other people's money or decisions and you are in a regulated activity.
Grey areas people ask about
Using a third-party platform. Legal. Platforms that let you build and deploy strategies operate within the framework, and the obligation sits with them and your broker rather than with you.
Using code you found online. Legal to run for yourself. Whether it is sensible is a different question entirely, and running a strategy you cannot explain means you cannot tell a broken edge from a bad month.
Automating a family member's account. Ambiguous, and it depends on the arrangement. An account in another person's name being operated by you, particularly with any fee or profit share, starts to look like the first line above. If money is changing hands, get proper advice.
High-frequency strategies. Not a retail activity in any practical sense, and the co-location and infrastructure requirements sit with institutional participants. This is not a legal barrier so much as an economic one.
NRI accounts. Automation is permitted within the restrictions that apply to NRI accounts, which is a separate matter from the legality of automation itself.
Tax is a separate question, and not optional
Legality of the activity and correctness of your filing are different things, and the second is where an otherwise compliant trader creates a problem.
F&O income is non-speculative business income; intraday equity is speculative business income. Neither is capital gains. That means ITR-3 for most traders, turnover computed on the absolute-profit basis, and possible audit implications depending on turnover and declared profit.
The expensive detail: a loss can only be carried forward if the return is filed by the original due date. Traders who had a bad year and skipped filing because there was no tax to pay have given up an eight-year carry-forward for nothing.
The short version
Automating your own trading, through your own broker, with API access and a registered static IP: legal, and unremarkable.
Doing it with anybody else's money, or selling the strategy to anybody else, or attaching a return promise to it: a regulated activity, and not something to approach casually.
Rules do change, and this is a general description rather than legal advice. For your own circumstances, ask your broker about their requirements and a qualified professional about anything involving other people's money.
The starting point either way is an account with API access, which is what the static IP gets registered against.
API access is enabled by your broker
The static IP registration happens against this account. Free to open
The compliance steps, the static IP setup and the deployment around them are covered in our Algorithmic Trading with Python course at Rs 24,900 — one payment, permanent access, free demo on WhatsApp first.
We sell no tips and run no signal group. We do not manage money for anybody, and portfolio management for clients is a registered activity we have no part in. No returns are promised, and trading carries a real risk of loss.
Disclosure: the account-opening link on this page is under Atul Shrivastava's Zerodha Authorised Person registration (NSE AP Reg: AP2516003481; Zerodha Broking Ltd. SEBI Reg: INZ000031633) and earns a revenue share. TheFinBaba is not a SEBI-registered Investment Adviser — this content is educational, not investment advice.
Frequently Asked Questions
Is algo trading legal in India?
Yes, for a retail trader automating their own account through their own broker. No SEBI registration is required. You need API access enabled by your broker, a static IP registered for your order flow, and to stay within the rate limits they set.
Do I need SEBI approval for my own trading algorithm?
Not as an individual trading your own account. The approval and tagging obligations in the framework sit with brokers and with parties supplying strategies to others, which reaches you as the static IP registration and rate limits.
Can I trade for friends or family using my algorithm?
Not without the appropriate registration if a fee or profit share is involved. This catches more people than anything else, usually starting informally. If money is changing hands, get qualified advice first.
Is it legal to sell my trading strategy to others?
Providing strategies, signals or recommendations to others for consideration puts you in adviser or research-analyst territory, with registration requirements. Sharing code with a friend is different from selling a subscription.
Are third-party algo platforms legal in India?
Yes. Platforms that let you build and deploy strategies operate within the framework, and the compliance obligation sits with them and your broker rather than with you as the user.
Do I need to pay tax on algo trading profits?
Yes, and the classification matters. F&O is non-speculative business income and intraday equity is speculative business income - neither is capital gains. That usually means ITR-3, and a loss carries forward only if you file by the original due date.
Related Reading
- SEBI's algo trading rules for retail traders
- F&O taxation in India: ITR-3, turnover and audit
- How to start algo trading in India
- Running a trading bot 24x7
- Algo trading course for finance professionals
- All course fees, stated plainly
Disclaimer: TheFinBaba provides educational content only - this is not investment advice. Trading involves risk of loss.