CLOSE X
Algo Trading
Home

Blogs

Stock Market Blogs

Backtesting: The Cricket Net Practice of Algo Trading September 05 2025Algo Trading

Visit Count: 1377

"Practice does not guarantee victory. But without practice, there’s no chance of victory either."

Introduction

Meet Ramesh, a 27-year-old IT guy from Pune who loves two things: Virat Kohli’s cover drives and nifty intraday charts. He’s just discovered algo trading. And like most beginners, he heard the magic word: backtesting.

The idea sounds simple. You feed your strategy into a computer, run it on past market data, and the machine tells you if you would have made money. If it worked in the past, surely it should work in the future too, right?
Not so fast.

Backtesting is like cricket net practice. You can hit sixes all day in the nets, but under lights, with pressure, a crowd, and a bowler changing angles, things get tricky.

Why Backtesting Trips Traders

  1. Curve Fitting Trap
    You tweak the strategy until it looks perfect on past data. But in real markets, that “perfection” usually breaks down. Like studying only past exam papers and expecting the same questions next year.

  2. Ignoring Costs
    Slippage, brokerage, and taxes are like those hidden extra runs given away in byes and no-balls. Ignore them in your backtest, and your P&L will look like fiction.

  3. Overconfidence
    Many beginners see a 90% win rate on a backtest and think, “I’ve cracked it.” But markets are like Mumbai traffic: never the same twice.

  4. Wrong Data Quality
    Free or incomplete data can give wrong signals. Using bad data for backtesting is like using a plastic bat in nets; it feels fine there but is useless in the real match.

How to Read Backtest Results

  • Don’t just look at profits. Check drawdowns (the max loss streak). Can you emotionally and financially survive it?

  • See the Sharpe ratio and consistency, not just big wins. Ten small steady gains are often better than one jackpot and nine disasters.

  • Test across different timeframes and market cycles. A nifty strategy that only worked in bull runs is like a batsman who can only play on flat pitches.

Best Way to Backtest in India

  • Start with clean, NSE-approved data (tick-by-tick if possible for intraday).

  • Always include brokerage, transaction costs, and slippage in your model.

  • Backtest on at least 5–10 years of data, covering both bull and bear markets.

  • After backtesting, try paper trading or sandbox execution before risking real money.

  • Don’t stop learning. Keep refining. Markets evolve, and your algo must too.

From Backtest to Execution: The Right Steps

  1. Backtest on historical data.

  2. Forward test on the live market with small capital.

  3. Monitor real-time performance vs backtest.

  4. Scale up only after results remain consistent.

For index trading (like Nifty or Bank Nifty), remember, liquidity is high, so execution slippage is smaller than in small-cap stocks. That makes indices a safer starting ground for budding algo traders.

Conclusion

Backtesting isn’t a magic wand. It’s just practice. It shows you how your strategy might perform but doesn’t guarantee success. Do it wrong, and you’re like a batsman who mistakes net runs for real runs. Do it right, and you’re ready for match day, the live market.

Disclaimer

This blog is purely for educational purposes and should not be considered investment advice. Please do your own research or consult a registered financial advisor before making any investment decisions.

COMMENTS
Form
Categories
Blog Enquiry

Prevent Unauthorized Transactions in your demat and trading account --> Update your Mobile Number/Email id with your Depository Participant and Stock Broker. Receive alerts on your Registered Mobile for all debit and other important transactions in your demat/trading account directly from CDSL and Stock Exchanges on the same day.........issued in the interest of investors...

1. Stock Brokers can accept securities as margin from clients only by way of pledge in the depository system w.e.f. September 1, 2020.

2. Update your Mobile Number & Email Id with your Stock Broker/ Depository Participant and receive OTP directly from Depository on your Email Id and/ or Mobile Number to create pledge.

3. Pay 20% upfront margin of the transaction value to trade in cash market segment.

4. Investors may please refer to the Exchange's Frequently Asked Questions (FAQs) issued by NSE vide. Circular No. NSE/INSP/45191 dated: July 31, 2020 and NSE/INSP/45534 and BSE vide Notice No. 20200731-7, dated: July 31, 2020 and 20200831- 45 dated: August 31, 2020 and dated: August 31, 2020 and other guidelines issued from time to time in this regard.

5. Check your Securities/ MF/ Bonds in the Consolidated Account Statement issued by NSDL/ CDSL every month.

6. Risk disclosures RISK DISCLOSURES ON DERIVATIVES:

  • 9 out of 10 individual traders in equity Futures and Options Segment, incurred net losses.
  • On an average, loss makers registered net trading loss close to ₹ 50,000.
  • Over and above the net trading losses incurred, loss makers expended an additional 28% of net trading losses as transaction costs.
  • Those making net trading profits, incurred between 15% to 50% of such profits as transaction cost

Dear Investor,
As you are aware, under the rapidly evolving dynamics of financial markets, it is crucial for investors to remain updated and well-informed about various aspects of investing in securities market. In this connection, please find a link to the BSE Investor Protection Fund website where you will find some useful educative material in the form of text and videos, so as to become an informed investor.
https://www.bseipf.com/investors_education.html
We believe that an educated investor is a protected investor !!!

"As per the directives of CDSL and esteemed Exchanges, it has been made mandatory for every client to furnish their latest KYC details viz. Valid Mobile No., Email- Id & Income range on or before 31.05.2021 else your Account will be marked as Non Compliant and will be Freezed till the compliance of such requirement."
"No need to issue cheques by investors while subscribing to IPO. Just write the bank account number and sign in the application form to authorize your bank to make payment in case of allotment. No worries for refund as the money remains in investor's account."
"KYC is 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."
Dear Investor if you wish to revoke your un-executed eDis mandate, please mail us with ISIN and quantity on dp@indiratrade.com by today EOD."
REGISTRATION NOS:

INDIRA SECURITIES PRIVATE LIMITED (SEBI REG.NO.):NSE TMID: 12866, BSE TMID: 663, CDSL DPID: 17000 SEBI REG. NO.: INZ000188930, MCX TM ID: 56470, NCDEX TM ID: 01277, CDSL REG. NO.: IN-DP-90-2015, CIN: U67120MH1996PTC160201, RA SEBI REG. No.: INH000023269

DISCLAIMER:

"INVESTMENT IN SECURITIES MARKET ARE SUBJECT TO MARKET RISKS, READ ALL THE RELATED DOCUMENTS CAREFULLY BEFORE INVESTING."

INVESTORS GRIEVANCE

Vimalesh Ajmera. Email: compliance@indiratrade.com. Call : 0731-4797275

Investor grievance complaint : complaint@indiratrade.com

INVESTOR CHARTER

For Voluntary Freezing/Blocking of Trading Account you can mail us at stoptrade@indiratrade.com or call us at 9109937435.