Sub topic 4
What a Bull Market Is
This chapter assumes you know what a stock and a stock market index are, and that you are comfortable with percentages. The Python examples are optional but use only the standard library.
The working definition
A bull market is a sustained period in which a broad market index rises substantially from a prior low. The word "bull" is shorthand for rising prices and optimism. Its opposite, the bear market, is covered in a later chapter.
Most practitioners use a rule of thumb that mirrors the bear market rule: a bull market begins when an index has risen 20% or more from a trough (its most recent low point), and it continues until a bear market begins. No law or regulator sets this definition. It is a convention, and chapter 7 covers where it breaks down.
Three features matter in practice:
- It is measured on an index. A bull market describes a broad gauge such as the S&P 500, not a single stock. Individual stocks can fall during a bull market, and some rise during a bear market.
- It is measured from a trough. The starting point is the low, not today's price. The gain is therefore always relative to a reference you choose.
- It is not smooth. Bull markets contain many declines, including corrections of 10% or more.
Measuring a rise from a trough
Drawdown measures the fall from a peak. A bull market gain is the mirror image: the rise from the lowest price since the last peak. You can compute it by tracking the running trough.
def gain_from_trough(prices):
"""Return the largest rise from a prior low, as a fraction.
Tracks the lowest price seen so far and records the best
gain measured from that low.
"""
trough = prices[0]
best = 0.0
for price in prices:
trough = min(trough, price)
best = max(best, price / trough - 1)
return best
prices = [100, 90, 80, 85, 95, 100, 98]
print(f"{gain_from_trough(prices):.1%}") # 25.0%The lowest price is 80, and the highest later price is 100, so the best gain is 100 / 80 - 1 = 25%. That clears the 20% rule of thumb, so a practitioner would say a bull market began at the 80 trough.
This function has a limitation. It measures the best gain from any earlier low, which is not the same as identifying when a bull market started. Real classification needs a rule for confirming a trough, and that is where hindsight enters.
Applying the 20% convention
You can turn the convention into a small labeling function. As with the drawdown labels in earlier chapters, the result is a label applied to a number.
def label_rise(gain):
"""Classify a rise from a trough (positive fraction) by the common rule."""
if gain >= 0.20:
return "bull market territory"
if gain >= 0.10:
return "strong rebound"
return "ordinary rally"
for g in (0.05, 0.15, 0.30):
print(f"{g:.0%}: {label_rise(g)}")The "strong rebound" tier is an illustration for this tutorial. It is not a standard term. Only the 20% threshold is widely used.
Anatomy of a bull market
A bull market is a trend with noise, not a straight line. Look at the following price series, which has an upward trend over the whole period but several interruptions.
def max_drawdown(prices):
"""Return the largest peak-to-trough decline as a negative fraction."""
peak = prices[0]
worst = 0.0
for price in prices:
peak = max(peak, price)
worst = min(worst, price / peak - 1)
return worst
series = [100, 108, 115, 104, 110, 125, 118, 135, 150, 132, 160]
print(f"total gain: {series[-1] / series[0] - 1:.0%}")
print(f"worst drawdown: {max_drawdown(series):.1%}")This series gains 60% overall. Its worst decline is from 150 to 132, or -12.0%, which would be a correction by the 10% rule. The trend is still upward. This is the typical shape: a rising market that repeatedly gives back part of its gains.
Phases often described in a bull market
Analysts sometimes divide a bull market into stages. A common description has three:
- Early stage. Prices rise from a depressed level. Sentiment is still negative, and economic news is often poor. Gains can be fast because valuations (the price paid for each unit of earnings) are low.
- Middle stage. Earnings recover and the economy improves. Participation widens as more sectors and investors join in. This stage is often the longest.
- Late stage. Optimism is high. Valuations are often stretched, borrowing and speculation increase, and gains depend more on sentiment than on improving fundamentals.
Treat these stages as a descriptive model, not a forecast. Nobody can reliably tell which stage the market is in while it is happening. A market that looks late-stage can continue for years.
What bull markets tend to look like
Several patterns recur, though none is guaranteed.
- They are longer than bear markets. Over the 20th and 21st centuries, US bull markets have typically lasted much longer than bear markets, often several years against months to a couple of years. This is why long-term equity returns are positive on average.
- Early gains are large. A big share of a bull market's total return often arrives in the first months after the trough, when most investors are still cautious.
- They are accompanied by growth in earnings. Sustained rises usually track rising corporate profits, although prices can run ahead of or behind earnings.
- They end with a decline of 20% or more. By convention, the bull market is over once a bear market is under way.
Exact durations and gains depend on which index, which dates, and which definition you use. Sources disagree, so compare the method before comparing numbers.
Edge cases and common errors
Confusing a rally with a bull market
A bear market contains sharp rallies, sometimes 10% or more within weeks. These are called bear market rallies. A rise of 20% from a low is the usual threshold, but a rally can briefly exceed it and then fail, so the label can be wrong in hindsight.
Measuring from the wrong starting point
A gain of 20% from a trough means something different from a gain of 20% from an arbitrary date. Pick the trough consistently, or two analysts will get different start dates.
Ignoring the price index versus total return distinction
A price index only tracks prices. A total return index also includes reinvested dividends. Over a long bull market the difference is large, because dividends compound. A rise that looks like 18% on price might exceed 20% with dividends.
Treating the label as a signal
The label "bull market" is usually applied after the fact. By the time a 20% rise from a trough is confirmed, much of the early gain has already happened. Using the label as a buy signal means buying after a large part of the move.
Assuming the trend continues
A market can be in a bull market and still be expensive and vulnerable. Trend and valuation are separate questions. A long uptrend does not guarantee further gains.
Mixing indexes
The S&P 500, the Dow Jones Industrial Average, and the Nasdaq Composite can disagree. One can be in a bull market while another is in a correction. State which index you mean.
A closer look at the arithmetic
A 20% gain from a trough does not undo a 20% fall from a peak. The recovery math from earlier chapters applies: a 20% loss needs a 25% gain to return to the prior peak. So a market can be up 20% from its low and still be below its previous high. This is why a new bull market under the 20% convention does not always mean a new all-time high.
peak = 100
trough = peak * (1 - 0.30) # a 30% bear market decline
after_rally = trough * 1.20 # a 20% rise from the trough
print(f"trough: {trough:.1f}")
print(f"after 20% rally: {after_rally:.1f}")
print(f"still below peak by: {1 - after_rally / peak:.1%}")Here the index falls to 70, rises 20% to 84, and is still 16% below its peak. The label says "bull market," yet the investor who bought at the peak is still down.
Summary of key points
| Idea | What to remember |
|---|---|
| Definition | A sustained rise, conventionally 20% or more from a trough, in a broad index |
| Not smooth | Corrections and pullbacks occur inside bull markets |
| Hindsight | Start and end dates are usually clear only afterward |
| Convention | The 20% threshold is a rule of thumb, not an official standard |
| Recovery | A rise of 20% from a low can leave the index below its prior peak |
Exercise
An index peaks at 200, falls to 140, and then rises to 170. Using the 20% rule of thumb, has a new bull market begun, and is the index above its prior peak?
Show answer
The rise from the trough is 170 / 140 - 1, which is about 21.4%, so the 20% rule of thumb says a bull market has begun. The index is still below its prior peak of 200, by 15%, because 170 / 200 - 1 = -15%.
Exercise
A series is [50, 45, 40, 44, 48, 52, 47]. Using gainfromtrough, what is the result, and does it meet the 20% threshold?
Show answer
The lowest price before the later highs is 40, and the highest later price is 52. The gain is 52 / 40 - 1 = 30%, which meets the 20% threshold. The later fall to 47 does not change the result, because the function records the best gain seen.
Exercise
Give two reasons why two analysts might report different start dates for the same bull market.
Show answer
They may use different indexes, such as the S&P 500 and the Nasdaq Composite. They may also use different prices (closing or intraday) or different rules for confirming the trough, such as requiring a 20% rise or waiting for a new high.