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-10-31
Portfolio ruleLong 10 / Short 10 · β lag 1m
Data sourceyfinance (NSE .NS)
Data as of2026-10-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 turnover73.90%
MetricGrossNet
Cumulative-15.80%-67.30%
Sharpe-0.17-1.32
Max DD-23.80%-65.90%
Hit rate46.90%31.20%
Ann. vol7.70%7.70%

Cumulative friction drag (trading + borrow): 94.10%

FactorIR
Momentum0.066
Size-0.401
Value-0.058
TickerValue (z)Momentum (z)Size (z)
ADANIENT-0.75600.56700.4410
ADANIPORTS-0.44900.55900.3640
APOLLOHOSP-0.90500.8950-1.1810
ASIANPAINT-0.83300.5640-0.1740
AXISBANK0.97200.61000.5070
BAJAJ-AUTO-0.19401.65800.2230
BAJAJFINSV-0.3220-0.13000.1780
BAJFINANCE-0.32800.16601.2190
BEL-0.7910-0.00600.0830
BHARTIARTL-0.7030-0.29402.0130
BPCL2.8640-0.1650-1.0430
BRITANNIA-0.7800-0.7430-1.1980
CIPLA-0.5090-0.4540-1.3520
COALINDIA2.38900.2800-0.2320
DRREDDY-0.4980-0.4370-1.6000
EICHERMOT-0.58100.5970-0.3980
GRASIM-0.59101.0120-0.3300
HCLTECH0.0010-0.22300.3020
HDFCBANK0.5290-1.43901.9640
HDFCLIFE-0.9500-1.6320-1.3000
HEROMOTOCO0.1570-0.0140-1.4150
HINDALCO1.07701.6040-0.3510
HINDUNILVR-0.7480-1.23600.7020
INDUSINDBK-0.86801.6580-1.7480
INFY0.4820-1.13600.6920
ITC0.3930-1.91200.1640
JSWSTEEL1.07100.61700.1590
KOTAKBANK-0.04400.11100.5520
LT-0.46900.43600.9740
M&M0.2960-0.34100.4680
MARUTI-0.2350-0.93800.5820
NESTLEIND-0.96101.45600.0110
NTPC1.4460-0.29200.1350
ONGC3.0920-0.09500.0200
POWERGRID0.6560-0.3220-0.2280
RELIANCE-0.0830-0.48302.3370
SBILIFE-1.0130-0.3120-0.7250
SBIN1.51501.06601.8010
SHRIRAMFIN0.44101.6580-0.1350
SUNPHARMA-0.58901.16800.7460
TATACONSUM-0.9660-0.5570-1.5040
TMPV—-2.0030-1.3540
TATASTEEL0.10300.4280-0.3220
TCS0.2690-0.87801.6180
TECHM-0.43600.9010-1.0050
TITAN-1.03801.65800.6720
TRENT-1.0850-2.0030-0.9140
ULTRACEMCO-0.6360-0.40300.2370
WIPRO0.6080-1.2200-0.6600
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.