Key Highlights

● Eight of the S&P 500's 11 sectors rose on Wednesday.

● Advancing stocks outnumbered decliners by 370 to 128.

● The S&P MidCap 400 rose to 3,577.34, leading the major gauges.

● The S&P 500 was up 272.39 points for the week through Wednesday.

The S&P 500 closed lower on Wednesday, but beneath the surface most of the market rallied, with eight sectors and roughly three-quarters of index members finishing in positive territory.

A down day that looked like an up day

Glance at the headline number and Wednesday looked like another losing session: the S&P 500 slipped 18.31 points to 7,182.78. Look closer, and the picture flips. Eight of the index's 11 sectors rose, and advancing stocks outnumbered decliners by 370 to 128.

About three-quarters of S&P 500 stocks rose, with heavyweight technology names dragging the index down. That is the quirk of a market-cap-weighted benchmark: when a handful of the largest companies fall, they can outweigh gains in hundreds of smaller ones.

The equal-weight S&P 500, tracked by the RSP ETF, rose and beat the standard index, a clear signal that the typical stock had a far better day than the benchmark suggested.

The sector scorecard

Materials led the way, followed by real estate, communication services, industrials, energy, financials, utilities and consumer staples. On the losing side were technology, the worst performer, along with health care and consumer discretionary.

Individual stocks told the story of rotation. HP Inc. (NYSE:HPQ) soared to $31.15 after Earnings beat estimates and was the S&P 500's best performer. International Paper (NYSE:IP) and Smurfit Westrock (NYSE:SW) climbed in materials, Meta Platforms (NASDAQ:META) jumped in communication services, and Deere (NYSE:DE) climbed in industrials despite an earnings miss. Chevron (NYSE:CVX) gained in energy. On the other side, Lam Research (NASDAQ:LRCX) tumbled and was the worst S&P 500 stock, while Nvidia (NASDAQ:NVDA) closed at $149.30 as the Dow's weakest component.

Small and mid caps outshine

The breadth extended beyond the S&P 500. The Russell 2000 rose 19.12 points to 2,704.06, the S&P MidCap 400 rose to 3,577.34, leading the major gauges, and the S&P SmallCap 600 climbed to 1,657.97. The Dow Jones Industrial Average gained 164.25 points to 50,182.95, while the Nasdaq Composite fell 147.73 points to 23,585.80.

The rebound was all the more striking given the morning's carnage. The Dow was down more than 1,100 points at its low, and the S&P 500 had dropped sharply to near 6,970 before recovering. One strategist said the moves were likely signs of capitulation.

Not everyone was convinced the worst was over. Another strategist described markets as in a "pretty fragile regime," while a Fund Manager said the market had changed and the buyers had changed.

What to watch

Markets were closed Thursday for Thanksgiving, and Friday's session was set to end early at 1:00 p.m. ET. A key question was whether the broad participation seen Wednesday would carry over, or whether the market's direction remained hostage to its biggest technology names.

For the week through Wednesday, the S&P 500 was up 272.39 points, and small caps led the four major indexes for both the week and the year to date. The following week was to bring the November jobs report on December 4, a run of tech earnings and the build-up to the Federal Reserve's December 8–9 meeting, where markets priced a rate hike.