Key Highlights

● The semiconductor index fell sharply over the week while software climbed.

● The Nasdaq Composite added 175.31 points for a fourth straight weekly gain.

● Utilities, staples, energy and health care led S&P 500 sectors.

● Tech funds drew $4.53 billion despite broad equity outflows.

If you looked only at the major indexes, this was a solid week. The S&P 500 gained 88.82 points to close Friday at 7,811.54, the Dow rose 477.99 points and the Nasdaq Composite added 175.31 points, its fourth straight weekly gain. The S&P 500 even set a record close of 7,818.93 on Tuesday, and the Nasdaq-100 hit a record 31,224.47 the same day.

Underneath, though, the AI trade turned. The PHLX Semiconductor index fell sharply over the week, while the iShares Expanded Tech-Software ETF climbed solidly, according to market data. One market review summarised the week as leadership moving out of the AI trade, at least in its hardware form.

How the week unfolded

The early part of the week belonged to the bulls, with records on Tuesday. Stocks then retreated for two sessions. The turning point came on Thursday, when a report said that OpenAI's annualized revenue was about $50 billion at the end of September, roughly $20 billion below a figure that had circulated weeks earlier. Nvidia (NASDAQ:NVDA) fell to $230.48 that day, and Oracle (NYSE:ORCL), CoreWeave (NASDAQ:CRWV), Broadcom (NASDAQ:AVGO) and AMD (NASDAQ:AMD) slid sharply. The Nasdaq Composite closed Thursday at 27,193.34.

On Friday, a report said OpenAI expects at least $70 billion of annualized revenue by the end of 2026, and stocks rebounded. But the recovery was lopsided. Software and cybersecurity surged, while chips slipped again. Nvidia ended Friday at $229.28, lower for the week, and AMD fell $12.58 to $608.10 on the day.

Who gained

Software names finished the week with momentum. Microsoft (NASDAQ:MSFT) closed Friday at $535.07, up $12.46 on the day. Palantir (NASDAQ:PLTR) rose $10.27 to a record close of $209.05, according to market data, helped by analyst actions including a Barclays (NYSE:BCS) initiation at Overweight. Oracle rebounded $6.21 to $141.40 on Friday. Palo Alto Networks (NASDAQ:PANW) and CrowdStrike (NASDAQ:CRWD) led cybersecurity higher.

One hardware niche bucked the trend. Optical component makers rallied after Lumentum (NASDAQ:LITE)'s chief executive said the company was sold out through early 2029.

Beyond tech: the defensive shift

The rotation was not only within technology. The best-performing S&P 500 sectors of the week were utilities, consumer staples, energy and health care, according to market data, while technology and industrials lagged. Consumer staples had their second-best week since 2022.

That pattern often signals caution. Utilities and staples tend to attract investors when they want steadier earnings, and the backdrop gave them reasons. The 10-year Treasury yield reached a 24-year high on Wednesday, Federal Reserve officials signalled more rate hikes, and the University of Michigan's consumer sentiment index fell to a five-month low of 46.3.

Money is moving, not leaving

Fund flows show investors are reshuffling rather than abandoning tech. Technology sector funds drew $4.53 billion of inflows in the latest week, according to market data, even as broad US equity funds saw $5.11 billion of outflows and bond funds took in a record $19.78 billion.

Michael Monaghan, portfolio manager at Founder ETFs, captured the backdrop: "Chips have been this year's story." Whether software can take over that role is the question for the weeks ahead. Smaller companies have struggled regardless: the Russell 2000 fell 25.91 points for its fifth straight weekly decline.

TSMC Offers the Clearest Read on Whether Hardware Can Regain Its Lead

TSMC (NYSE:TSM) reports on Thursday, October 15, giving the clearest read yet on AI chip demand after this week's wobble. September CPI arrives on Wednesday, October 14, and bank earnings begin on Tuesday, October 13. Monday is Columbus Day, when stocks trade but the bond market is closed. The Fed meets on October 27-28.