NEW YORK — U.S. stocks ended a down week on a high note Friday, snapping a five-day losing streak on the strength of energy and financial companies.
A sharp rebound in oil prices and an encouraging report on retail sales helped lift the stock market to its first gain since late last week.
Despite the rally, the major U.S. stocks indexes ended the week down about 1 percent and they remain down more than 8 percent for the year.
“It’s a relief to see after several very ugly days in a row, but I wouldn’t hang my hat on it and say the worst is over,” said Rob Eschweiler, global investment specialist at J.P. Morgan.
The Dow Jones industrial average rose 313.66, or 2 percent, to close at 15,973.84. The S&P 500 gained 35.70, or 2 percent, to 1,864.78. The Nasdaq composite added 70.67, or 1.7 percent, to 4,337.51.
Global stocks have been in a slump since the beginning of the year on concerns that growth in China, which has been the engine of the global economy in recent years, is slowing far faster than expected. Plunging oil prices and low inflation have added to the market’s jitters that the global economy is sputtering.
Those worries also helped drive the stock market lower in recent days, and continued to batter stocks in Asia. Japan’s main stock index lost nearly 5 percent Friday. But the downbeat trend in the U.S. snapped as investors were encouraged by retail sales and a rally in European stocks.
A surge in oil prices helped put investors in a buying mood early on. A day after sinking to its lowest level since May 2003, benchmark U.S. crude climbed $3.23, or 12.3 percent, to close at $29.44 a barrel in New York. Brent crude, a benchmark for international oils, gained $3.30, or 11 percent, to $33.36 a barrel in London. The rebound sent the S&P 500’s energy companies 2.6 percent higher.
“Oil, which has been one of the most fickle, most volatile series that everybody’s watching, is having a nice day,” said Tim Dreiling, regional investment director for the Private Client Reserve of U.S. Bank. “Europe is continuing to look good. And it looked like (the market) was oversold.”
Financial shares led the market’s advance. The sector is the worst performing part of the market this year because investors expect that low interest rates around the world will sap bank profits, but it rallied 4 percent Friday.
Traders also welcomed a report from the Commerce Department indicating a modest gain in retail sales last month. The data, which came in ahead of expectations, suggested that consumers kept shopping despite sharp drops in stock prices.
The positive sales report and recent jobs data showing a pickup in wage growth suggest the economy is holding up better than Wall Street thinks, Eschweiler said.
“It solidifies our view that the markets are pricing in a significantly higher probability of recession than what we think the fundamentals currently dictate,” he said.
Encouraging quarterly results from some companies also helped lift the market.
Wynn Resorts surged 15.8 percent after the casino operator reported better-than-expected quarterly results Thursday. The stock gained $9.45 to $69.14.
Groupon vaulted 29 percent to $2.89 after the online daily deal service’s latest quarterly profit and revenue topped Wall Street estimates.