Stocks closed higher on Friday as investors tried to shake off jitters concerning trade tensions between the U.S. and China, with energy shares rising.
The Dow Jones Industrial Average rose 119.19 points to 24,580.89, with Chevron and Exxon Mobil among the best-performing stocks in the index. Friday's close marked the first gain for the 30-stock index in nine sessions, snapping its longest losing streak since March 2017.
The S&P 500 gained 0.2 percent to close at 2,754.88, with energy, materials and telecommunications outperforming. The Nasdaq composite, meanwhile, closed 0.3 percent lower at 7,692.82 as tech shares fell.
Markets around the globe had been on a roller-coaster ride this week as tensions surrounding a tit-for-tat trade dispute between the U.S. and China continued to escalate. The major indexes closed lower for the week, along with European stocks and Asian equity markets.
"As bad as it may seem to some people, this is more of a re-allocation of resources," said JJ Kinahan, chief market strategist at TD Ameritrade. "The Russell 2000 and Nasdaq both hit all-time highs this week."
"I think investors are wise to be cautious and re-evaluate these stocks and how they would be affected if these tariffs go through. ... That being said, market conditions are still pretty good," said Kinahan.