Nifty 50 Value-Momentum-Size Long-Short Strategy

Nifty 50 large caps Value, Momentum, Size factors Fama-MacBeth premia IC / IR diagnostics 20/20 long-short portfolio NSE yfinance data Interactive performance charts

Overview

Multi-factor investing asks whether observable stock characteristics — cheapness, past performance, and scale — help explain and predict returns beyond a single market beta. This project runs that workflow on Indian large caps: the Nifty 50 universe on the NSE, with prices and fundamentals from Yahoo Finance (*.NS tickers).

The pipeline mirrors a standard quant workflow (factor construction → Fama–MacBeth → IC/IR → long–short backtest), applied to up to fifty Nifty constituents that pass a minimum history filter.

With a broader cross-section, factor ICs and information ratios become more meaningful than in a four-stock demo, and the long–short book holds the top and bottom 20% of names each month (10 long / 10 short when 50 stocks qualify) rather than a fixed pair on each side.

Universe and data

Constituents are listed in nifty50_universe.json (NSE symbols with .NS suffix for yfinance). Daily adjusted closes are downloaded from 2015 onward, resampled to month-end prices, and filtered to names with at least five years of monthly history so 12–1 momentum is well defined.

Value uses trailing earnings yield from Yahoo fundamentals. Size uses each month when share count is available, otherwise log market cap. Momentum is 12–1: . Fundamentals are cached for 24 hours to limit API load.

Methodology

Fama–MacBeth regressions — Each month, a cross-sectional OLS regresses next-month stock returns on Value, Momentum, and Size exposures. The sequence of monthly coefficients estimates factor premia over time; t-statistics accompany each estimate.

Information Coefficient (IC) — For each factor and month, IC is the correlation between the factor score and the subsequent month’s return. Information Ratio (IR) is mean IC divided by the standard deviation of IC, summarising consistency of predictive power.

Long–short portfolio — Predicted return combines lagged Fama–MacBeth betas (prior month, no same-month look-ahead) with current factor scores. Each month the strategy goes long the top 20% and short the bottom 20%, equal-weight within each leg, dollar-neutral (50% long / 50% short notional).

Frictions — Brokerage and slippage applied to estimated one-way turnover; STT on sell legs; monthly short-stock borrow fee; excess returns vs a constant risk-free proxy; cross-sectional winsorisation and ±35% monthly return caps on single names.

Performance — Gross and net (after frictions) cumulative return, Sharpe, drawdown, hit rate, average turnover, and cumulative cost drag.

How to interpret the results

With roughly fifty Nifty names, cross-sectional regressions and IC series are far more stable than in a four-stock US demo. IR magnitudes and signs should be read as descriptive, not as guaranteed live alpha.

The long–short cumulative curve reflects Indian large-cap factor premia and regime shifts (e.g. COVID, rate cycles). Compare summary metrics and drawdowns across refresh dates when yfinance data updates.

Use the Fama–MacBeth and IC time-series panels to see when factor premia or predictive correlations shift. The latest cross-section table shows current factor scores used for ranking.

What you will see in the results

Summary metrics — Cumulative return, annualised Sharpe, and maximum drawdown for the long–short strategy.

Performance charts — Cumulative return and drawdown paths, plus monthly long–short returns.

Factor diagnostics — Information ratios and monthly IC series for Momentum, Size, and Value.

Fama–MacBeth premia — Time series of monthly cross-sectional coefficients and t-statistics.

Friction breakdown — Monthly trading and borrow cost drag stacked by rebalance.

Cross-section snapshot — Latest factor exposures by ticker.

UniverseNifty 50 · 49 stocks · NSE
Study period2015-01-31 → 2026-06-30
Portfolio ruleLong 10 / Short 10 · β lag 1m
Data sourceyfinance (NSE .NS)
Data as of2026-06-30
Constituents
ADANIENTADANIPORTSAPOLLOHOSPASIANPAINTAXISBANKBAJAJ-AUTO
BAJAJFINSVBAJFINANCEBELBHARTIARTLBPCLBRITANNIA
CIPLACOALINDIADRREDDYEICHERMOTGRASIMHCLTECH
HDFCBANKHDFCLIFEHEROMOTOCOHINDALCOHINDUNILVRINDUSINDBK
INFYITCJSWSTEELKOTAKBANKLTM&M
MARUTINESTLEINDNTPCONGCPOWERGRIDRELIANCE
SBILIFESBINSHRIRAMFINSUNPHARMATATACONSUMTATASTEEL
TCSTECHMTITANTMPVTRENTULTRACEMCO
WIPRO
Commission (one-way)12 bps + GST
Slippage (one-way)8 bps
STT on sells10 bps
Short borrow (annual)8.00%
Risk-free (annual proxy)6.50%
Avg monthly turnover74.10%
MetricGrossNet
Cumulative-8.80%-63.50%
Sharpe-0.07-1.16
Max DD-19.20%-62.60%
Hit rate47.60%34.70%
Ann. vol8.20%8.10%

Cumulative friction drag (trading + borrow): 91.20%

FactorIR
Momentum0.075
Size-0.407
Value-0.095
TickerValue (z)Momentum (z)Size (z)
ADANIENT-0.6270-0.50200.1340
ADANIPORTS-0.38900.57700.4150
APOLLOHOSP-0.90400.3180-1.3890
ASIANPAINT-0.86100.2180-0.3000
AXISBANK0.49400.06600.4690
BAJAJ-AUTO-0.17300.7250-0.0540
BAJAJFINSV-0.3310-0.9710-0.0330
BAJFINANCE-0.4400-0.16501.0350
BEL-0.76600.40200.1430
BHARTIARTL-0.6480-0.14202.0560
BPCL3.8070-0.2450-1.1620
BRITANNIA-0.75300.0030-1.0580
CIPLA-0.3820-0.7800-1.4560
COALINDIA2.02901.28200.0550
DRREDDY-0.25000.0620-1.3840
EICHERMOT-0.56101.5590-0.5540
GRASIM-0.65900.2600-0.5960
HCLTECH0.2960-1.50800.1850
HDFCBANK0.3110-1.29702.0470
HDFCLIFE-0.9170-1.5410-1.1770
HEROMOTOCO0.41600.9030-1.4950
HINDALCO0.50301.5590-0.3020
HINDUNILVR-0.7410-0.39700.8800
INDUSINDBK-0.99800.3620-1.7660
INFY0.8300-1.48800.7180
ITC0.3300-1.48100.4300
JSWSTEEL0.84801.17300.1120
KOTAKBANK0.0990-0.66600.4190
LT-0.53000.26300.9430
M&M0.1030-0.01700.3830
MARUTI-0.32600.21100.5550
NESTLEIND-0.98000.9270-0.0230
NTPC1.19200.91500.4410
ONGC2.84801.39700.4020
POWERGRID0.73400.43200.0520
RELIANCE0.0050-0.21502.4290
SBILIFE-0.9510-0.2460-0.6510
SBIN1.26701.37801.7730
SHRIRAMFIN0.17501.5590-0.3760
SUNPHARMA-0.60600.19000.6070
TATACONSUM-0.9510-0.0910-1.3560
TMPV-2.1040-1.2030
TATASTEEL-0.00501.5240-0.1460
TCS0.5720-1.63901.6390
TECHM-0.2380-0.4650-1.1380
TITAN-0.97100.96900.4480
TRENT-1.0390-2.1040-0.9640
ULTRACEMCO-0.6390-0.06300.2560
WIPRO0.7760-1.1070-0.4430
QuantifiedTrader logoQuantifiedTrader

Independent quantitative research on trading methods, backtesting, and market analytics.

Research disclaimer

QuantifiedTrader is operated by an independent quantitative research group. We study, document, and compare different methods of trading, portfolio construction, risk management, and investment analysis. Our work is exploratory and academic in nature—we build tools, run backtests, and publish findings to advance understanding, not to promote any particular strategy or product.

Not investment advice. Nothing on this website constitutes investment, trading, financial, tax, legal, or other professional advice. We do not recommend, endorse, or solicit the purchase or sale of any security, derivative, or financial instrument, nor do we suggest that any strategy, model, or result presented here is suitable for any individual or institution. Any examples, simulations, or performance figures are illustrative research outputs only.

No client or advisory relationship. We do not provide investment advisory, brokerage, portfolio-management, custody, or asset-management services to any person or entity. Browsing this site, using our tools, or contacting us does not create a client, fiduciary, or advisory relationship. We do not manage money on behalf of third parties and do not act as agents for any financial institution.

Research & education only. Content, datasets, backtests, charts, code, and software made available here are for informational and educational research. Materials may be incomplete, simulated, hypothetical, or derived from third-party sources that we do not control. Past performance, backtested results, and historical analyses are not indicative of future results. Market conditions change; models may fail; assumptions may be wrong. You are solely responsible for evaluating any information and for all decisions you make.

No responsibility or liability. To the fullest extent permitted by applicable law, QuantifiedTrader and its contributors disclaim all responsibility and liability for any loss, damage, cost, or expense—direct or indirect—arising from access to, use of, or reliance on this website, its content, or its tools. All materials are provided “as is” and “as available,” without warranties of any kind, whether express or implied, including but not limited to accuracy, completeness, fitness for a particular purpose, or non-infringement.

Non-commercial research sharing. This site does not aim to profit from the knowledge, tools, or datasets published here. Materials are shared for non-commercial research and learning, subject to applicable open-source or site terms where noted. We are a research collective, not a commercial product or service provider.

Contact. For questions about this notice, the site, or published research materials, contact support@quantedx.com. Correspondence is for administrative and research purposes only and does not constitute advice or create any professional obligation on our part.

© 2026 QuantifiedTrader. All rights reserved.