You build a Nifty or Bank Nifty strategy, test it on past data, automate it through your broker, and it still loses money. This is common. Why algo trading strategies fail is usually not because automation is bad. It fails because the strategy was built around old data, ignored trading costs, risked too much capital, or was used in the wrong market condition.
Algo trading means using software to place buy and sell orders automatically based on rules you set in advance. This blog explains the six mistakes that cause most retail algo strategies in India to fail, and shows you how to avoid them.
Most retail algo trading strategies fail because they are over-optimised for past data, ignore costs and slippage, use poor risk control, or stop working when market conditions change. Technical errors and unverified ready-made algos add further risk. A good backtest is only a starting point, not proof of future profit.
Algo trading, short for algorithmic trading, is a method of trading where a computer program places orders for you. Instead of watching the chart and clicking buy or sell, you give the software clear instructions.
For example, you may tell the program: “Buy Nifty futures when the price crosses above yesterday’s high. Sell when it hits my target or stop loss.” The software follows these instructions without hesitation.
In India, retail traders can automate trades through a broker’s API or through no-code platforms. An API is a connection that allows your strategy to send orders to your broker’s system.
An algo trading strategy is a fixed set of rules that tells the software:
A strategy can be as basic as buying when a stock moves above its 20-day average price and selling when it falls below it. It can also use price levels, volume, time of day, or option data.
The software does not think. It only follows the rules you give it. If the rules are weak, automation will repeat the same weak decisions quickly.
Most algo strategies do not fail because of one big error. They fail because of small gaps in planning, testing, and risk control.
This mistake is called overfitting. It happens when you keep changing the strategy until it fits past price data almost perfectly.
Suppose a simple moving average strategy gives average results. You then change the moving average period, add an RSI filter, adjust the stop loss, and test many combinations. One combination may show a strong profit in the past.
That may only fit the old data. The market may not behave the same way again.
A simple check: if changing one setting by a small amount changes the result from profit to loss, the strategy may be too sensitive. A good strategy should not depend on one perfect setting.
To reduce this risk, keep the strategy simple, use only a few rules, and test it on a separate period that you did not use while building it.
Many beginners test a strategy assuming every trade happens at the exact price shown on the chart. In real trading, that rarely happens.
Slippage is the difference between the price you expected and the price you actually got. If your strategy signals a buy at ₹100, but your order fills at ₹100.30, that ₹0.30 is slippage.
Your real costs also include brokerage, STT, exchange transaction charges, SEBI fees, stamp duty, and GST where applicable.
These costs matter more when a strategy takes many small trades. A strategy that earns ₹50 per trade may become unprofitable after paying ₹80 in total costs per trade.
Also check liquidity. If a stock or option has low trading volume, your order may not fill at the price you expect. This can hurt a strategy that depends on quick entries and exits.
To manage this, add brokerage, taxes, and a realistic slippage buffer to every backtest. Prefer liquid stocks, index futures, and liquid option strikes when starting. Avoid strategies that depend on very small profits per trade.
A stop loss is a pre-decided exit point that limits the loss on one trade. A daily loss limit is the maximum amount you allow the strategy to lose in a day.
Many retail traders automate a strategy but forget these safeguards. If the market moves sharply against the position, losses can build quickly. This risk is higher in futures and options because margin allows you to control a larger position with less capital.
Ask yourself before automating: “If this strategy takes 10 losses in a row, can my account handle it?” If not, reduce the position size or add a stricter daily loss limit.
For example, if you risk ₹5,000 per trade and take 10 losing trades in a day, your loss becomes ₹50,000. If your account cannot handle that drawdown, the strategy may stop before it gets a chance to work.
Set a maximum loss per trade, a daily loss limit, a limit on open positions, and a kill switch that can stop the strategy if losses cross your limit. Understand the margin required before automating F&O trades.
A strategy may work well in one type of market and poorly in another.
A trend-following strategy may do well when Nifty keeps moving in one direction. The same strategy may give repeated false signals when the market moves sideways. Similarly, an options selling strategy may face trouble during high volatility events such as Budget day, election results, RBI policy announcements, or major corporate results.
This is called strategy decay. It does not always mean the strategy is useless. It may mean the market has moved into a phase the strategy was not designed for.
Strategy decay does not mean one bad week. Look for a sustained fall in performance across several weeks, a higher number of stop-loss hits, or results that no longer match the strategy’s expected win rate and average loss.
Review performance every month. Note whether the strategy works better in trending, sideways, or high-volatility markets. Stop taking new trades when market conditions do not match the strategy’s design.
An algo strategy depends on more than market logic. It also depends on internet connection, API access, data feed, order placement, and broker systems.
Common technical problems include delayed price data, rejected orders, duplicate orders, internet disconnection, insufficient margin, wrong quantity or order type, and API login issues.
Even a well-designed strategy can face these issues. That is why you should not leave an algo unattended, especially in the beginning.
Paper trade first. Start with the smallest possible quantity. Monitor orders, positions, and margin daily. Keep a record of failed, delayed, or rejected orders. Check your broker’s API requirements before going live.
Some traders buy or subscribe to a ready-made algo because it shows high past returns. That can be risky if you do not understand the rules, capital requirement, drawdown, or trading frequency.
A drawdown is the fall in your capital from its highest point. For example, if your trading capital grows from ₹1,00,000 to ₹1,20,000 and then falls to ₹90,000, your drawdown is ₹30,000 from the peak.
Before using any ready-made strategy, check:
A proper testing process reduces many of the mistakes above.
Suppose you build an intraday strategy for Nifty futures. It takes 200 trades in a year.
In the backtest, the strategy earns an average gross profit of ₹500 per trade before costs.
Item | Backtest | Live trading |
Number of trades | 200 | 200 |
Gross profit per trade | ₹500 | ₹500 |
Slippage per trade | ₹0 | ₹120 |
Brokerage, taxes and charges per trade | ₹0 | ₹100 |
Net profit per trade | ₹500 | ₹280 |
Total net profit | ₹1,00,000 | ₹56,000 |
The strategy still makes money, but costs and slippage reduce profit by ₹44,000.
Now suppose market conditions change, and the average gross profit falls to ₹180 per trade. After ₹220 in total costs per trade, the net result becomes minus ₹40 per trade. Over 200 trades, the strategy loses ₹8,000.
This example shows why a strategy with a small profit per trade needs careful cost testing. It also shows why you should not judge a strategy only by its backtest profit.
These are illustrative numbers. Actual results depend on the instrument, quantity, margin, liquidity, order size, and market conditions.
Parameter | Algo trading | Manual trading |
Order placement | Automatic | Manual |
Emotions | Limited, if rules are followed | High |
Speed | Fast | Slower |
Discipline | Depends on strategy rules | Depends on trader discipline |
Monitoring | Still required | Required throughout |
Best suited for | Rule-based traders | Discretionary traders |
Main risk | Technical errors and poor strategy design | Emotional decisions and hesitation |
Algo trading does not remove the need for judgement. You still need to decide which strategy to use, how much capital to allocate, and when to stop it.
Algo trading carries market risk, execution risk, and behavioural risk.
Market risk means the strategy can lose money when prices move against it. Execution risk includes slippage, delayed fills, rejected orders, and API issues. Behavioural risk arises when a trader keeps overriding the system after a few losses or increases position size after a few wins.
A high win rate does not always mean a profitable strategy. If a strategy wins 8 times out of 10 but earns ₹100 per win and loses ₹1,000 per loss, it can still lose money over time.
Leverage adds another risk. Futures and options can produce larger losses than the margin you initially paid. Understand margin requirements before automating F&O strategies.
SEBI’s framework is about safer participation and better order controls. It does not judge whether a strategy is good, nor does it protect you from market losses.
Before you switch on an algo strategy with real money, check the following:
If the answer to any of these is no, pause and fix that gap first.
Algo trading suits traders who already have a clear, rule-based plan and want to follow it consistently. It can help intraday traders, swing traders, and traders who struggle with emotional decision-making.
It is less suitable for complete beginners who do not yet understand order types, margin, charges, or stop losses. It is also not suitable for someone looking for fixed monthly income or guaranteed returns.
Algo trading strategies fail mainly because of poor planning, not because automation is unsuitable. Overfitting, ignored costs, weak risk control, changing market conditions, technical errors, and unverified ready-made algos cause most problems.
A good algo strategy should be simple, tested on unseen data, cost-adjusted, and protected by clear loss limits. Start with paper trading, use a small quantity, monitor the system, and increase size only after the results remain consistent. Automation can help you follow a plan consistently. It cannot fix a plan that was never tested properly.
A backtest assumes ideal conditions. Live trading includes slippage, brokerage, taxes, delayed fills, margin requirements, and changing market behaviour. These factors can turn a profitable backtest into a losing live strategy.
Overfitting happens when a strategy is adjusted too much to fit past price data. It may look profitable historically but fail when market conditions change.
There is no fixed number. It depends on the instrument’s liquidity, your order size, and the time you trade. Use a conservative buffer and compare it with your actual live fills.
Under SEBI’s framework, algo orders routed through a broker must be identifiable and subject to broker-level controls. API users generally need a whitelisted static IP and two-factor authentication. NSE states that an algorithm placing orders above 10 orders per second must be registered with each exchange where it is used. Confirm the current requirement with your broker.
No. Even a tested strategy needs monitoring for internet issues, API errors, unusual market moves, and execution problems. Start with a small quantity and check the system regularly.
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).