US stocks gained for the week thanks to a rebound Friday in mega-cap technology stocks and the expected return of regular economic data releases next week with the US government reopening.

The S&P 500 Index ended Friday’s session little changed. Energy was the top-performing of 11 market sectors Friday, thanks to climbing oil prices. The index’s largest sector by weight, technology, bounced from being one of the worst-performing sectors to a 0.7% gain.

The tech-heavy Nasdaq 100 closed up 0.1%, while the blue-chip Dow Jones Industrial Average declined 0.7%.

Wall Street analysts had been urging investors to buy the dip Friday. Dennis DeBusschere, founder of 22V Research, told clients in a note to “buy dips in fundamental factors.”

Wedbush analysts led by Dan Ives said now is “not the tim

See Full Page