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-07-31
Portfolio ruleLong 10 / Short 10 · β lag 1m
Data sourceyfinance (NSE .NS)
Data as of2026-07-31
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.00%
MetricGrossNet
Cumulative-6.10%-62.70%
Sharpe-0.04-1.13
Max DD-16.60%-61.90%
Hit rate48.80%34.40%
Ann. vol8.10%8.00%

Cumulative friction drag (trading + borrow): 91.90%

FactorIR
Momentum0.071
Size-0.400
Value-0.097
TickerValue (z)Momentum (z)Size (z)
ADANIENT-0.67500.54700.4970
ADANIPORTS-0.41501.18600.5590
APOLLOHOSP-0.92700.6020-1.3200
ASIANPAINT-0.87700.6590-0.1710
AXISBANK0.58600.29900.5070
BAJAJ-AUTO-0.25301.30000.0380
BAJAJFINSV-0.3750-0.77300.0010
BAJFINANCE-0.5080-0.24101.0130
BEL-0.7680-0.18400.0790
BHARTIARTL-0.6850-0.51202.0710
BPCL3.6410-0.3090-1.2010
BRITANNIA-0.7970-0.5980-1.2240
CIPLA-0.3630-0.4470-1.3910
COALINDIA2.22501.2170-0.0130
DRREDDY-0.10600.0310-1.4490
EICHERMOT-0.56201.3980-0.5500
GRASIM-0.66300.4440-0.4420
HCLTECH0.2650-1.57000.1610
HDFCBANK0.3050-1.40602.0550
HDFCLIFE-0.8950-1.4860-1.1850
HEROMOTOCO0.39500.9420-1.5900
HINDALCO0.56201.7350-0.2010
HINDUNILVR-0.7310-0.36600.8430
INDUSINDBK-1.04600.1670-1.8400
INFY0.7430-1.45800.7160
ITC0.4180-1.52700.3480
JSWSTEEL0.89601.24500.1280
KOTAKBANK0.1820-0.66200.4370
LT-0.45200.54801.0120
M&M0.1020-0.26900.3580
MARUTI-0.35500.28000.5540
NESTLEIND-1.00000.7700-0.0640
NTPC1.33000.88100.4120
ONGC2.69600.67200.2380
POWERGRID0.7790-0.0820-0.0780
RELIANCE0.0170-0.68802.4170
SBILIFE-0.9800-0.1010-0.6550
SBIN1.31500.93801.7010
SHRIRAMFIN0.18401.7350-0.3740
SUNPHARMA-0.63500.35300.6170
TATACONSUM-0.95400.3390-1.3320
TMPV-1.9040-1.0190
TATASTEEL0.03501.4860-0.1690
TCS0.5220-1.75801.5660
TECHM-0.2190-0.5780-1.1920
TITAN-1.01200.47500.3510
TRENT-1.0460-1.9040-0.9570
ULTRACEMCO-0.6690-0.31600.2550
WIPRO0.7730-1.1070-0.5120
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.