Pairs Trading in Indian Markets: Nifty Bank Stocks
Pairs Trading in Indian Markets: Nifty Bank Stocks
Pairs trading is a market-neutral strategy that involves simultaneously going long one stock and short another, profiting from the convergence of their price ratio.
Why Bank Stocks?
Indian banking stocks in the Nifty Bank index are ideal for pairs trading because:
- They're driven by similar macroeconomic factors (interest rates, credit growth)
- High correlation during normal markets
- Sufficient liquidity for execution
- Regulatory changes affect them similarly
Strategy Implementation
Step 1: Pair Selection
Using cointegration tests (Engle-Granger or Johansen) to find pairs:
- HDFCBANK-ICICIBANK: Strong cointegration (p-value < 0.01)
- SBIN-BANKBARODA: Moderate cointegration among PSU banks
- KOTAKBANK-HDFCBANK: Private sector bank pair
Step 2: Calculate the Spread
Spread = log(Price_A) - beta * log(Price_B)
Where beta is the cointegration coefficient from OLS regression.
Step 3: Z-Score for Entry/Exit
- Entry: Z-score > 2 (sell A, buy B) or Z-score < -2 (buy A, sell B)
- Exit: Z-score crosses 0 (spread reverts to mean)
- Stop-loss: Z-score > 3 (spread diverged too far)
Backtesting Results (Educational Example)
| Pair | Annual Return | Sharpe | Max Drawdown | Win Rate |
|---|---|---|---|---|
| HDFC-ICICI | 12.3% | 1.45 | -8.2% | 62% |
| SBIN-BOB | 8.7% | 0.98 | -12.1% | 57% |
| KOTAK-HDFC | 10.1% | 1.22 | -9.5% | 60% |
Note: These are illustrative numbers, not actual backtest results.
Practical Considerations for Indian Markets
- F&O availability: Both stocks need futures/options for shorting
- Transaction costs: STT, brokerage, slippage eat into small edges
- Lot sizes: F&O lot sizes create minimum position requirements
- Corporate actions: Stock splits, dividends can affect the spread
- Regime changes: Pairs can decouple during banking crises or policy changes
Risk Management
- Maximum 5% of capital per pair
- Stop-loss at 3-sigma spread divergence
- Monthly revalidation of cointegration relationship
- Avoid pairs during earnings season
This content is for educational purposes only and does not constitute investment advice.
Practice this strategy risk-free
Algomaya lets you paper-trade RSI, MACD, Bollinger Bands, SMA, EMA and AI strategies on live US markets — free forever.
Download Algomaya FreeDisclaimer: This article is for educational purposes only and is not financial advice. Algomaya is not a registered investment adviser. All trading involves risk of loss.