Tech

Tech stocks close out first six-week rally since January 2020

Key Points
  • Stocks jumped Friday after a strong jobs report and the passage of a debt ceiling bill that averts a U.S. default.
  • The Nasdaq Composite rose 2% for the week, wrapping up a sixth-straight week of gains, the longest stretch in over three years.
  • Tesla shares climbed 11% for the week, and database vendor MongoDB soared 33% on a blowout earnings report and better-than-expected guidance.
Tech stocks on display at the Nasdaq.
Peter Kramer | CNBC

Tech stocks still haven't fully rebounded from a miserable 2022, but they're rewarding investors who saw the sell-off as too extreme.

The Nasdaq Composite gained 2% this week, wrapping up the sixth-straight weekly rally for the tech-heavy index. It's the longest stretch since January 2020, before the Covid-19 pandemic hit the U.S.

Stocks across the board got a big boost Friday after a strong jobs report for May and the Senate's passage of a debt ceiling bill Thursday night, which allowed the U.S. to avert default. President Joe Biden still has to sign the bill.

While last week's gains were spurred by Nvidia's earnings report and a surge in optimism around demand for technologies powering artificial intelligence workloads, this week didn't see any notable news in the mega-cap group. But there was continued upward momentum.

Among the most-valuable Nasdaq companies, Tesla led the way, with an 11% increase for the week. Shares of the electric vehicle maker are now up 74% for the year after losing roughly two-thirds of its value in 2022.

Tesla and Nvidia, which has climbed 169% this year, have helped pull the Nasdaq up 27% in 2023, far outpacing the S&P 500 and Dow Jones Industrial Average. After peaking in late 2021, the Nasdaq plummeted 33% last year, its steepest drop since the financial crisis, on concerns surrounding inflation and rising interest rates. The index is still about 18% off its all-time high.

"I'm focusing on mega-cap tech here and semiconductors as well," said Danielle Shay, vice president of options at Simpler Trading, in an interview on CNBC's "The Exchange" on Friday. "The AI trade has been absolutely phenomenal."

In the cloud software corner of tech, some earnings reports are still providing a boost.

MongoDB, the developer of a cloud-based database, jumped 33% for the week. The company on Thursday reported earnings and revenue that topped analysts' estimates and raised its guidance for fiscal 2024.

On MongoDB's earnings call, CEO Dev Ittycheria said his company's products are seeing increased usage as clients look for efficiencies and cut costs.

"It's clear customers continue to scrutinize their technology investments and must decide which technologies are a must-have, versus merely nice to have," he said.

Cybersecurity vendor SentinelOne and software developer PagerDuty experienced the flipside of the equation.

SentinelOne plunged 35% for the week after the company lowered its guidance and announced layoffs. Chief Financial Officer David Bernhardt said on SentinelOne's earnings call large customers have been using the technology less and, due to the "current macro environment, we expect these lower usage and consumption trends to persist."

PagerDuty dropped 14% this week. The provider of technology that helps IT departments respond to incidents slashed its forecast for the year "in anticipation of continued pressure" at small- and medium-size businesses, CFO Howard Wilson said on the call.

WATCH: Investors are looking for opportunities in tech over retail

Investors are looking for opportunities in tech over retail, Simpler Trading's Danielle Shay
VIDEO5:2105:21
Investors are looking for opportunities in tech over retail, Simpler Trading's Danielle Shay