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.

Empirical results

Fama–MacBeth premia, information coefficients, and long–short performance from the latest pipeline run.

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

Friction assumptions

Costs are applied each rebalance from estimated one-way turnover (weight changes). Net returns subtract trading costs and a flat monthly short-borrow fee on half the book. These are stylised India cash-market magnitudes — not a broker quote.

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%

Long–short performance (gross vs net)

Excess-return long–short on Nifty names: top/bottom 10 each side, Fama–MacBeth betas lagged one month, fundamentals lagged one month. Gross is before costs; net deducts turnover-based trading costs and short borrow.

MetricGrossNet
Cumulative-14.40%-65.70%
Sharpe-0.15-1.25
Max DD-20.10%-64.30%
Hit rate46.00%30.60%
Ann. vol8.00%8.00%

Cumulative friction drag (trading + borrow): 91.10%

Cumulative return — gross vs net

Purple: net of frictions. Grey: gross paper portfolio. The gap illustrates how turnover and borrow erode a factor strategy in live trading.

Drawdown (net)

Peak-to-trough decline on the friction-adjusted cumulative curve.

Monthly turnover

One-way turnover from weight changes each rebalance. Higher turnover increases commission, slippage, and STT drag.

Monthly net returns

Friction-adjusted long–short return after ranking on lagged factor premia.

Factor information ratios

IC mean / IC std on excess returns with winsorised cross-sections.

FactorIR
Momentum0.084
Size-0.406
Value-0.089

Monthly information coefficients

Cross-sectional correlation of factor score with next-month excess return.

Fama–MacBeth factor premia (lagged for trading)

Monthly cross-sectional coefficients on excess returns. Portfolio formation uses the prior month’s coefficients to avoid same-month look-ahead.

Fama–MacBeth t-statistics

Cross-sectional significance of factor premia each month (same regressions as the coefficient panel).

Friction drag by month

Trading costs from turnover and flat short-borrow fee applied each rebalance.

Latest cross-sectional factor scores

Most recent month-end scores (value lagged one month). Used with prior-month betas for ranking.

TickerValue (z)Momentum (z)Size (z)
ADANIENT-0.6560-0.50200.1330
ADANIPORTS-0.42100.57700.4190
APOLLOHOSP-0.92400.3180-1.3900
ASIANPAINT-0.90000.2180-0.2900
AXISBANK0.65800.06600.4660
BAJAJ-AUTO-0.25300.7250-0.0560
BAJAJFINSV-0.2900-0.9710-0.0350
BAJFINANCE-0.3330-0.16501.0330
BEL-0.80300.40200.1410
BHARTIARTL-0.6640-0.14202.0190
BPCL3.9320-0.2450-1.1640
BRITANNIA-0.78400.0030-1.0590
CIPLA-0.3460-0.7800-1.4580
COALINDIA1.97301.28200.0530
DRREDDY-0.16900.0620-1.3860
EICHERMOT-0.53901.5590-0.5550
GRASIM-0.68000.2600-0.5980
HCLTECH0.2390-1.50800.1830
HDFCBANK0.4720-1.29702.0670
HDFCLIFE-0.9400-1.5410-1.1830
HEROMOTOCO0.45200.9030-1.4970
HINDALCO0.34601.5590-0.3040
HINDUNILVR-0.7610-0.39700.8920
INDUSINDBK-1.03300.3620-1.7670
INFY0.5990-1.48800.7470
ITC0.4220-1.48100.4280
JSWSTEEL0.84001.17300.1100
KOTAKBANK0.1820-0.66600.4170
LT-0.48500.26300.9410
M&M0.1790-0.01700.3810
MARUTI-0.29700.21100.5530
NESTLEIND-1.02500.9270-0.0250
NTPC1.20400.91500.4390
ONGC2.47301.39700.4000
POWERGRID0.74100.43200.0500
RELIANCE0.0490-0.21502.4330
SBILIFE-0.9950-0.2460-0.6530
SBIN1.48001.37801.7710
SHRIRAMFIN0.43201.5590-0.3780
SUNPHARMA-0.59500.19000.6050
TATACONSUM-0.9900-0.0910-1.3570
TMPV-2.1040-1.1930
TATASTEEL-0.09501.5240-0.1190
TCS0.5530-1.63901.6370
TECHM-0.3020-0.4650-1.1400
TITAN-1.00500.96900.4460
TRENT-1.0480-2.1040-0.9630
ULTRACEMCO-0.6270-0.06300.2540
WIPRO0.7360-1.1070-0.4460
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.