(AP) -- Stocks closed broadly higher Tuesday as Wall Street regained its footing a day after the market had its biggest decline in a year.
The bounce pushed the Dow Jones Industrial Average more than 300 points higher and snapped a six-day losing streak for the market, though the benchmark S&P 500 recouped only a little more than a third of the losses from Monday.
China's decision to stabilize its currency put investors in a buying mood Tuesday. News that China allowed its currency to depreciate against the dollar to its lowest level in 11 years sparked Monday's steep stock market sell-off.
The move helped allay some of the market's jitters over the escalating dispute between the world's largest economies at a time when investors are anxious about falling U.S. corporate profits and a global economy that's showing signs of slowing.
"We're getting a nice move here, but if you look at what the tone of the market might be for the next few days it still could be under some pressure," said Jeff Kravetz, regional investment director for U.S. Bank Wealth Management. "Right now investors are quite nervous and the reason for the nervousness is not only the trade issue, but we're also seeing weakening economic data, not only here, but overseas."
The S&P 500 index rose 37.03 points, or 1.3%, to 2,881.77. The index dropped 3% on Monday, its worst loss since December.
The Dow climbed 311.78 points, or 1.2%, to 26,029.52. The Nasdaq composite gained 107.23 points, or 1.4%, to 7,833.27. The Russell 2000 index of smaller companies picked up 14.67 points, or 1%, to 1,502.09.
Stock indexes in Europe finished sharply lower.
Investors have grown more nervous about the impact that the trade war between the U.S. and China could have on the economy and corporate profits. Those concerns have grown as the conflict heated from a simmer to a boil last week, even as both sides resumed negotiations.
But China's decision to allow its currency to stabilize Tuesday suggests Beijing might hold off from aggressively allowing the yuan to weaken as a way to respond to U.S. tariffs on Chinese goods.
That offered some hope that the sides might try to keep the situation from escalating further.
"That's a big part of why markets are not down big again today," Kravetz said.
Technology stocks, which bore the brunt of Monday's sell-off, accounted for a big share of the market's gains Tuesday.
Apple and Microsoft rose 1.9%. The companies get significant revenue from China and have been highly sensitive to swings in the ongoing trade dispute.
Financial companies also helped lift the market. Wells Fargo gained 1.7% and Bank of America rose 1.2%.
Solid earnings results helped lift other sectors. Animal health company Zoetis climbed 7.6% to lead health care stocks higher.
Retailers, communications services companies and industrial stocks also notched solid gains. Foot Locker rose 3.4%, Facebook added 1.5%. Aircraft components maker TransDigm jumped 13.7% after raising its profit forecast and delivering solid quarterly earnings.
Energy stocks dropped along with the price of crude oil.
A government report suggesting a cooling U.S. job market kept bond yields in check after an early gain. The yield on the 10-year Treasury briefly rose to 1.77%, but then declined to 1.72%, down from 1.73% late Monday.
Companies are in the final stretch of the latest round of quarterly earnings reports, and results haven't been as bad as initially feared, though still down from year-ago levels. Profit for companies in the S&P 500 is now expected to contract by roughly 1%. That's better than the nearly 3% drop expected earlier. More than three quarters of the S&P 500 have reported financial results.
International Flavors & Fragrance tumbled 15.9% after the company trimmed its forecast following a disappointing earnings report.
Take-Two Interactive Software jumped 8% on a surge in sales of "Grand Theft Auto" and other popular video games. The company, which also makes the "Red Dead Redemption" games, beat Wall Street's fiscal first quarter profit forecasts and gave investors a surprisingly good sales forecast for the current quarter.
Novartis fell 2.8% after the Federal Drug Administration disclosed that it is reviewing the accuracy of data on Zolgensma, a drug for treating spinal muscular atrophy in children. Novartis is the parent company of AveXis, which makes the drug. Several other drugmakers also fell. Mallinckrodt tumbled 12%, McKesson dropped 3.9%, AmerisourceBergen slid 5.2% and Teva Pharmaceuticals slumped 9.8%.
Benchmark crude oil fell $1.06 to settle at $53.63 a barrel. Brent crude oil, the international standard, fell 87 cents to close at $58.94 a barrel. Wholesale gasoline fell 3 cents to $1.69 per gallon. Heating oil declined 2 cents to $1.82 per gallon. Natural gas rose 4 cents to $2.11 per 1,000 cubic feet.
Gold rose $7.80 to $1,472.40 per ounce, silver rose 6 cents to $16.41 per ounce and copper rose 1 cent to $2.55 per pound.
The dollar rose to 106.52 Japanese yen from 106.02 yen on Monday. The euro weakened to $1.1200 from $1.1202.