Technology companies powered stocks broadly higher on Wall Street Thursday, driving the S&P 500 to its best day in more than two months and erasing its losses for the week.
The rally, which pushed the Dow Jones Industrial Average up by more than 370 points, followed an early rise in bonds yields after a weekly government report on unemployment claims came in better than economists had expected.
Worries that the trade dispute between the U.S. and China is hurting the global economy roiled the market earlier this week, sending many investors fleeing to safer holdings, such as U.S. government bonds. That pulled bond yields sharply lower.
The absence of new worrisome turns in the U.S.-China trade tussle may have also helped keep investors in a buying mood Thursday.
"That's what the market is attuned to right now, this confirmation of fears that things are going badly," said Willie Delwiche, investment strategist at Baird. "And if you're not getting that, then stocks can stabilize, bond yields can move up a little bit."
The S&P 500 index rose 54.11 points, or 1.9%, to 2,938.09. The index has risen for three straight days.
The Dow Jones Industrial Average climbed 371.12 points, or 1.4%, to 26,378.19. The Nasdaq composite, which is heavily weighted with technology stocks, vaulted 176.33 points, or 2.2%, to 8,039.16. It also had its best day in more than two months and was on track to end the week with a gain.
Investors also favored smaller company stocks. The Russell 2000 index picked up 31.45 points, or 2.1%, to 1,532.13.
Major indexes in Europe notched solid gains.
Bond prices fell early in the day, sending yields higher. The yield on the benchmark 10-year Treasury note went as high as 1.79% before falling back to 1.72% in late trading, little changed from late Wednesday.
President Donald Trump spooked the markets last week when he threatened to impose 10% tariffs on all Chinese imports that haven't already been hit with tariffs of 25%. China retaliated on Monday and allowed its currency, the yuan, to weaken against the U.S. dollar.
China stabilized the yuan on Tuesday and that helped lift U.S. stocks following their worst day of the year. But, central banks in New Zealand, India and Thailand cut key interest rates on Wednesday, sending U.S. stocks into an early dive before recovering at the end of the day.
The last couple of weeks feel even more topsy-turvy following the months of relative calm that investors had been enjoying. Before Monday's 3% drop for the S&P 500, they hadn't seen a loss of even half that size since mid-May.
Since this bull market began over a decade ago, the S&P 500 has had 24 days where it lost at least 3%. That averages out to one every five months or so, but they don't happen in such a regular fashion.
Instead, the market tends to shift between periods of calm and sharp bursts of volatility. In 17 of the 24 times that the S&P 500 fell 3%, it either preceded or followed another such drop within a month. So Monday's 3% fall may be the precursor to more, if history is a guide.
"The foreseeable future is going to be a lot of noise," said J.J. Kinahan, chief market strategist for TD Ameritrade.
The last time the stock market had a drop of 3% was on Dec. 4, when investors were worried that the Federal Reserve was raising interest rates too aggressively and would combine with trade concerns to create a recession. But it wasn't in isolation: It was the third such drop within the span of two months.
A more extreme example is the summer of 2011, when the S&P 500 had four drops of more than 4% in just two weeks. Worries about the European debt crisis and the first-ever downgrade of the U.S. credit rating at the time were roiling markets around the world.
That episode also showed that big up days can be interspersed between big down days. That same stretch had two days where the S&P 500 surged more than 4%.
In Thursday's market rebound, stocks took their cues from the bond market.
"What really rattled people in the first part of the week was the drop in bond yields and what we saw over the course of yesterday and continue to see today is rising bond yields," Delwiche said. "That's been enough to support stocks."
Investors snapped up technology stocks in a signal that they are more willing to take on risk after several days of fleeing to safer holdings. Microsoft rose 2.7% and Oracle gained 2.5%.
In another sign that investors were feeling more bullish, safe-play sectors like utilities and makers of consumer products lagged the market. Investors usually shun those sectors when they want to take on more risk.
Uber slumped 5% in after-hours trading after the ride-hailing service's second quarter revenue fell short of Wall Street's forecasts. Rival Lyft rose 3% a day after its quarterly results topped analysts' estimates and the company raised its revenue forecast for the year.
Kraft skidded 8.6% after the maker of Oscar Mayer, Cool Whip and other products revealed a sharp profit plunge in the first half of the year and some hefty charges.
Benchmark crude oil rose $1.45 to settle at $52.54 a barrel. Brent crude oil, the international standard, rose $1.15 to close at $57.38 a barrel. Wholesale gasoline rose 3 cents to $1.65 per gallon. Heating oil rose 2 cents to $1.78 per gallon. Natural gas rose 5 cents to $2.13 per 1,000 cubic feet.
Gold fell $9.60 to $1,497.70 per ounce, silver lost 26 cents to $16.90 per ounce and copper rose 4 cents to $2.60 per pound.
The dollar fell to 105.95 Japanese yen from 106.12 yen on Tuesday. The euro fell to $1.1185 from $1.1214.
AP Business Writers Damian J. Troise and Stan Choe contributed to this report.