Does a large one-day move in the S&P 500 predict next week’s return?

Backtesting
Analysis
Python
The S&P 500’s median next-week return was far from zero only after one-day moves of 5% or more, and opposite in sign to those moves.
Published

May 11, 2026

Updated

November 26, 2026

I have tested buying the dip for stocks, and here I wanted to try buying the dip in a stock market index. A stock market index has a tendency to drift upward in the long term, so there is a higher likelihood that buying a dip can be more profitable than in individual stocks, which do not necessarily have that drift. In the end, only a few stocks create most of the wealth, as I showed in the post on how long you hold a stock.

So I take every trading day of the S&P 500 total-return index from 1988 to 2026, sort it by its one-day return, and take the median return over the next week. After the 23 days of −5% or worse, the median next-week return was +3.81%, and after the 21 days of +5% or better, −1.77%.

I have attached the code in the appendix.

Starting point

The data comes from Yahoo Finance, downloaded with a separate script.

Parameters

Step 1. The return over the next week

Each day gets the return of the next five trading days. The last five days drop out, since they have no full week after them.

Step 2. One bucket per day

Each day goes into a bucket by its own return, and days between −1% and +1% get none.

Step 3. The median in each bucket

I take the median in each bucket, because I do not want the results to be affected by any outliers.

Step 4. Chart

Results

Median next-week return after each one-day move, 1988 to 2026.

After the largest dips, the bounce back was the largest, and that is not surprising given that the stock market tends to drift upward in the long term. After smaller moves, the median next-week return was between −0.25% and +0.65%, close to the +0.39% for all weeks.

Limitations

I only look at the US market. The extreme days can have overlapping weeks. And I have not formulated this as a tradable strategy, because I do not include an execution price or costs.

There is also the waiting. As I showed in the post on new lows and new highs, you may have to wait a long time for the market to make a new low, compared to buying at the high.

Conclusion

So the conclusion is that these extreme days are profitable for buying the dip, but they are extreme, so it is maybe not the best strategy to wait for them. But sure, at least in this sample, it has been good to buy the dip in the US stock market.

References

Yahoo Finance. (n.d.). S&P 500 (TR) (^SP500TR) historical data [Data set]. https://finance.yahoo.com/quote/%5ESP500TR/history/

Appendix: the code

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt

HORIZON_DAYS = 5              # forward window in trading days (~one calendar week)
# the return over the five days ending on each row
week = (1 + daily).rolling(HORIZON_DAYS).apply(np.prod, raw=True) - 1

# the same number, moved onto the day before those five start
next_week = week.shift(-HORIZON_DAYS)
def bucket(day_return):
    """The bucket a one-day return belongs to. None for days inside -1% to +1%."""
    if day_return <= -0.05:
        return "≤ -5%"
    if day_return >= 0.05:
        return "≥ +5%"

    # From the outside in, so a -4.5% day stops at 4 and takes the "-4%" bucket
    for percent in (4, 3, 2, 1):
        if day_return <= -percent / 100:
            return f"-{percent}%"          # (-5%, -4%] is "-4%", ..., (-2%, -1%] is "-1%"
        if day_return >= percent / 100:
            return f"+{percent}%"          # [+4%, +5%) is "+4%", ..., [+1%, +2%) is "+1%"
    return None                            # inside -1% to +1%


table = pd.DataFrame({"bucket": daily.apply(bucket), "next_week": next_week})

# dropna removes three kinds of row: days inside -1% to +1%, which get no bucket; the
# last five days, which have no full week after them; and any day whose week contains a
# missing return, which the Limitations section explains.
table = table.dropna()
ORDER = ["≤ -5%", "-4%", "-3%", "-2%", "-1%", "+1%", "+2%", "+3%", "+4%", "≥ +5%"]

rows = []
for label in ORDER:
    # the weeks that followed this bucket's days
    weeks_after = table.loc[table["bucket"] == label, "next_week"]
    rows.append({"bucket": label, "n": len(weeks_after),
                 "median_pct": weeks_after.median() * 100})

medians = pd.DataFrame(rows).set_index("bucket")
labels = medians.index.tolist()
y_vals = medians["median_pct"].tolist()
x_vals = list(range(len(labels)))
color  = "#d62728"

fig, ax = plt.subplots(figsize=(14, 8))
ax.plot(x_vals, y_vals, "o-", color=color,
        linewidth=2.5, markersize=9, zorder=5)

for xi, yi in zip(x_vals, y_vals):
    offset_y = 14 if yi >= 0 else -16
    ax.annotate(f"{yi:+.2f}%", xy=(xi, yi),
                xytext=(0, offset_y), textcoords="offset points",
                fontsize=10, ha="center",
                va="bottom" if yi >= 0 else "top",
                color=color, fontweight="bold")

ax.axhline(y=0, color="black", linewidth=1.0, zorder=1)
ax.set_xticks(x_vals)
ax.set_xticklabels(labels, fontsize=12)
ax.set_xlabel("Single Day Return", fontsize=14)
ax.set_ylabel("One Week Return (%)", fontsize=14)
ax.set_title("One Week After a Single Day Return",
             fontsize=18, fontweight="bold")
ax.grid(True, alpha=0.3)
plt.tight_layout()
plt.show()