Technology companies powered a rally on Wall Street Monday that gave the market its third straight gain.
The surge in tech stocks followed a decision by the U.S. to give Chinese telecom giant Huawei another 90 days to buy equipment from American suppliers. Chipmakers including Qualcomm, Intel and Micron, all rose.
The decision to give Huawei more time to buy goods from U.S. companies appeared to put investors eager for any signs of progress in the trade war between the U.S. and China in a buying mood.
The buying went well beyond technology, with communication services stocks, health care companies and retailers notching solid gains. Financial stocks also rose as bond prices headed lower, sending yields higher. Energy stocks climbed following a 2.4% increase in U.S. crude oil prices.
"Today is an up day because we have some better news on China," said Kate Warne, chief investment strategist at Edward Jones. "There's likely to be many of these 1% higher, 1% lower days, as investors search for a longer-term direction. And that's what we don't have yet."
The S&P 500 climbed 34.97 points, or 1.2%, to 2,923.65. The Dow Jones Industrial Average rose 249.78 points, or 1%, to 26,135.79. The index briefly gained 336 points.
The Nasdaq, which is heavily weighted with technology stocks, rose 106.82 points, or 1.3%, to 8,002.81.
Smaller company stocks also had a good day. The Russell 2000 index gained 15.21 points, or 1%, to 1,508.85.
Major stock indexes in Europe also finished solidly higher.
Despite their recent gains, U.S. stock indexes are on track to finish the month with losses. The market has been highly volatile all month as investors try to parse conflicting signals on the U.S. economy and determine whether a recession is on the horizon. A key concern is that the escalating and costly trade conflict between the world's two biggest economies will hamper growth around the globe.
Last week, many stock indexes around the world struck their lowest levels this year, before a late rally suggested some calm was returning to the markets in what is a traditionally low-volume time of the year.