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.

Fama–MacBeth, Information Coefficients, and the Long–Short Book

Month-end prices from 2015 are the panel. A name stays in the cross-section only if it has at least five years of monthly history, so the 12–1 momentum score is defined. Value is trailing earnings yield . Size is when shares outstanding are available, otherwise log market cap. Momentum is

the twelve-month return skipping the last month. Exposures are winsorised cross-sectionally, and any single-name monthly return outside is capped before it enters a regression or a portfolio leg.

Stage 2, each month. Cross-sectional OLS of the next month’s return on the current scores,

The series is the Fama–MacBeth premium path. The -statistic reported beside a factor is the mean of divided by its standard error across months. It does not use a Shanken correction, because the scores here are characteristics, not estimated betas from a first-pass regression.

Information coefficient. For factor in month , . The information ratio is . IR measures consistency of the rank relationship. A large premium with a tiny IR means the average slope is carried by a few months.

Portfolio. The forecast uses last month’s slopes, not this month’s, so the weight does not depend on the return it is about to earn:

The book is long the top 20% of and short the bottom 20%, equal weight inside each leg, with 50% long notional and 50% short notional. On a 50-name cross-section that is 10 longs and 10 shorts. One-way turnover is charged brokerage and slippage; sell legs are charged securities transaction tax; short legs pay a monthly borrow fee. Net return subtracts that drag from gross return. The charts report both, plus drawdown, hit rate, and the stacked cost series, because a gross Sharpe that disappears net of borrow is a different result from one that does not.

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-11-30
Portfolio ruleLong 10 / Short 10 · β lag 1m
Data sourceyfinance (NSE .NS)
Data as of2026-11-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.000%
Risk-free (annual proxy)6.500%
Avg monthly turnover74.200%
MetricGrossNet
Cumulative-13.300%-66.600%
Sharpe-0.137-1.309
Max DD-25.600%-65.200%
Hit rate48.100%32.600%
Ann. vol7.600%7.500%

Cumulative friction drag (trading + borrow): 95.000%

FactorIR
Momentum0.067
Size-0.382
Value-0.060
TickerValue (z)Momentum (z)Size (z)
ADANIENT-0.9061.3540.556
ADANIPORTS-0.4731.7880.634
APOLLOHOSP-0.8800.731-1.223
ASIANPAINT-0.8220.145-0.234
AXISBANK0.7630.3140.514
BAJAJ-AUTO-0.1121.7640.153
BAJAJFINSV-0.348-0.6670.041
BAJFINANCE-0.475-0.0981.172
BEL-0.769-0.1530.077
BHARTIARTL-0.704-0.4522.067
BPCL2.299-0.298-1.055
BRITANNIA-0.728-0.598-1.236
CIPLA-0.656-0.221-1.335
COALINDIA2.6851.336-0.079
DRREDDY-0.6950.556-1.418
EICHERMOT-0.5890.526-0.466
GRASIM-0.5990.710-0.383
HCLTECH0.065-0.6800.299
HDFCBANK0.315-1.2592.064
HDFCLIFE-0.949-1.348-1.276
HEROMOTOCO0.2720.211-1.388
HINDALCO1.3521.033-0.373
HINDUNILVR-0.744-0.9850.714
INDUSINDBK-0.1481.147-1.773
INFY0.581-1.5230.559
ITC0.188-1.6980.296
JSWSTEEL1.2090.6100.188
KOTAKBANK-0.0770.3040.636
LT-0.479-0.0020.961
M&M0.143-0.5180.403
MARUTI-0.410-1.1580.492
NESTLEIND-0.9200.583-0.094
NTPC1.5250.2460.207
ONGC3.333-0.0660.027
POWERGRID0.636-0.049-0.173
RELIANCE-0.048-0.8292.359
SBILIFE-0.989-0.436-0.676
SBIN1.3400.5941.753
SHRIRAMFIN0.4602.046-0.236
SUNPHARMA-0.6880.8410.709
TATACONSUM-0.954-0.713-1.550
TMPV—-1.452-1.395
TATASTEEL0.0880.512-0.233
TCS0.378-1.4601.484
TECHM-0.3540.921-0.880
TITAN-0.9411.6940.608
TRENT-1.047-1.731-0.966
ULTRACEMCO-0.685-0.0380.264
WIPRO0.557-1.534-0.796

Conclusion

The long–short book is a direct implementation of lagged Fama–MacBeth slopes on value, 12–1 momentum, and size, inside a Nifty 50 cross-section of names with enough history to define the momentum score. Gross and net paths differ by turnover, securities transaction tax, and borrow; the cost stack is part of the result, not a footnote.

Read the information ratio next to the average premium. A premium that is large only because a few months dominate will show a weak IR, and that is the more relevant summary for a monthly rebalanced book. Yahoo Finance fundamentals and a current constituent list are not a point-in-time NSE research database. The page documents the estimator; it is not a recommendation to run the short leg.

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.