×

Join Mudra Monk

Create your free profile with your name, email and a password.

Create Free ProfileLog In

My Profile

You are logged in to Mudra Monk.

View My Profile

Paper Trading, Backtesting and Algo Trading: Test Before You Risk Money

Written by

in

🧪
LEVEL 5 · TRADING & RISK · TOPIC 53Paper trading, backtesting and algo trading — test before you risk money
In one line: Backtesting checks how a strategy would have performed on past data. Paper trading practises it in real time without real money. Algo trading uses computer code to execute rules automatically. All three help you test ideas before risking capital.

1. Backtesting

Apply your exact rules to historical charts and record every trade as if you’d taken it.

Manual backtest

Scroll charts on TradingView bar-by-bar, mark trades in a sheet. Slow but builds intuition.

Software backtest

Use TradingView Pine Script, Python (pandas/backtrader) or broker/third-party tools to test many years quickly.

Metrics to check

MetricWhy it matters
Number of tradesAt least 100 for meaningful results
Win rate & average RShape of the edge
ExpectancyAverage profit per trade
Max drawdownWorst fall — can you survive it emotionally?
Longest losing streakPrepares you mentally
CAGR vs buy-and-hold NiftyIs it worth the effort?

Backtesting traps

⚠️ Common mistakes:
• Overfitting: tweaking rules until past results look perfect — fails in the future.
• Look-ahead bias: using information that wasn’t available at the time (e.g. day’s close for an intraday entry).
• Survivorship bias: testing only stocks that exist today, ignoring delisted ones.
• Ignoring costs: brokerage, STT, slippage can turn a “profitable” system into a loser.
• One market phase: testing only in a bull market.
💡 Split data: build rules on one period (e.g. 2012–2019), then test on unseen data (2020–2025). If results collapse, the system was overfitted.

2. Paper trading

Take trades in real time on a virtual account (many brokers and TradingView offer this) or simply in a spreadsheet.

  • ✅ Learn order types, platform, and the discipline of following rules.
  • ✅ Test the strategy in current market conditions.
  • ❌ No real emotions — fear and greed feel very different with real money.

Suggested path: 1–2 months paper trading → real trading with very small size (e.g. 0.25% risk per trade) → gradually increase.

3. Algo trading

Your rules are coded so a computer scans, places and manages orders automatically.

AdvantagesRisks
No emotional interferenceCoding bugs can place wrong orders fast
Speed and consistencyOverfitted strategies fail live
Can monitor many stocksConnectivity/API failures
Easy to measure performanceScams selling “guaranteed profit” algos

In India, retail algo trading runs through broker APIs. SEBI has introduced a framework that requires algos to be routed through brokers with identification and controls, and restricts unregistered providers from offering algo strategies to the public. Check your broker’s current rules before using any algo.

📘 Simple algo idea (for learning)
“Every day at 3:15 PM, scan Nifty 100 stocks; buy if close is above 50 DMA and RSI crosses above 50; risk 1% per trade with stop at 2× ATR; exit on close below 20 EMA.” Backtest it in Pine Script or Python before ever running it live.
⚠️ Algo scams: Be wary of anyone selling algos with “80% accuracy” or “fixed monthly returns”, especially via Telegram. Verify SEBI registration and never share your broker login or API keys.

FAQs

Do I need coding for backtesting?

No — manual chart backtests work. Coding helps test more data faster.

If a backtest shows profit, will I make money?

Not guaranteed. Live results are usually worse due to slippage, costs and emotions.

🔑 Key takeaways
  • Backtest rules on 100+ trades, including costs
  • Avoid overfitting and look-ahead bias
  • Paper trade, then go live with tiny size
  • Algo trading automates discipline but adds technical risks
  • Avoid unregistered “guaranteed” algo sellers

For education only. Not investment advice. Mudra Monk is not a SEBI-registered investment adviser.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *