Course contents
Cheap and good
Value (buying cheap stocks by fundamental ratios) and quality (buying financially healthy, profitable ones) are two of the oldest factors, and India publishes indices for both. This chapter builds each from fundamentals, contrasts their opposite cyclicality, and shows why combining them can be steadier than either alone.
- Construct value and quality factors from fundamental data
- Explain their economic rationale and their cyclical behaviour
- Compare and combine the two factors
Two of the oldest factors pull in different directions and work beautifully together. Value buys cheap stocks; quality buys good ones. Alone, each is a real but streaky edge that can disappoint for years. Together, because they tend to shine at different times, they are steadier than either, which is the first taste of the quant's true advantage: combining edges that are not correlated.
Value
The value factor buys stocks that are cheap relative to their fundamentals, ranking on ratios you met in Fundamental Analysis: a low price-to-earnings ratio, a low price-to-book ratio, or equivalently a high earnings yield. The reason an edge might exist is twofold: a cheap price can compensate for real risk or for neglect, and investors tend to overpay for exciting stories and underpay for dull, cheap ones, so prices overshoot and later correct. Value's character is streaky. It can underperform for years while the market chases growth, then snap back sharply, which tests the patience the earlier courses kept insisting on.
Quality
The quality factor buys financially strong companies: high and stable return on equity, dependable earnings, low debt, the marks of a durable business from Fundamental Analysis. The reason it might pay is that the market systematically underpays for durable quality, preferring cheaper or flashier names, so steady compounders are quietly underpriced. Quality is more defensive than value, tending to hold up better when markets fall, which is exactly why it complements value rather than duplicating it.
Combining them
Here is the idea that matters most, shown in numbers.
# VALUE and QUALITY, and why combining them beats either alone. Value buys cheap
# stocks (high earnings yield); quality buys financially strong ones (high return
# on equity). We build both as long-short factors, then blend them equally, and
# measure the diversification benefit. Synthetic, illustrative data (factor_data.py).
import pandas as pd
from factor_data import make_market, long_short, annual_sharpe
returns, static = make_market()
n_months = len(returns)
def broadcast(col):
return pd.DataFrame([static[col].values] * n_months,
columns=returns.columns, index=returns.index)
value = long_short(broadcast("earnings_yield"), returns)
quality = long_short(broadcast("roe"), returns)
blend = pd.concat([value, quality], axis=1).mean(axis=1)
correlation = pd.concat([value, quality], axis=1).corr().iloc[0, 1]
print(f"Value factor Sharpe: {annual_sharpe(value):.2f}")
print(f"Quality factor Sharpe: {annual_sharpe(quality):.2f}")
print(f"Correlation between the two factors: {correlation:.2f}")
print(f"Equal blend of value and quality, Sharpe: {annual_sharpe(blend):.2f}")
print("\nThe blend beats either factor alone, because value and quality are lowly")
print("correlated: they tend to work at different times, so together they are steadier.")
print("This diversification of edges, not the strength of any one, is the quant's advantage.")Value factor Sharpe: 1.22 Quality factor Sharpe: 0.95 Correlation between the two factors: -0.18 Equal blend of value and quality, Sharpe: 1.70 The blend beats either factor alone, because value and quality are lowly correlated: they tend to work at different times, so together they are steadier. This diversification of edges, not the strength of any one, is the quant's advantage.
Value and quality each earn a respectable Sharpe on their own, 1.22 and 0.95 in this illustrative data. But notice their correlation: about minus 0.18, meaning they tend to work at different times. When you blend them equally, the combined Sharpe rises to 1.70, higher than either factor alone. That is not magic; it is diversification. Because the two edges rise and fall out of step, their combination is steadier than its parts, and steadiness raises the risk-adjusted return. This is why India's exchanges publish multi-factor indices that blend value, quality, and others, and it is the seed of the whole next part on building a portfolio of edges.
What to carry forward
Value buys the cheap and quality buys the strong, each a real but streaky factor with an economic reason behind it, built from the fundamental ratios of Fundamental Analysis. Their power together comes from their low correlation: because value and quality work at different times, blending them raised the Sharpe above either alone, which is diversification and the reason multi-factor indices exist. That principle, many lowly-correlated edges beating one strong bet, is the heart of Part 5. Next, the most surprising factor of all, which says the calmest stocks win: low volatility, alongside the weaker size factor.