(CNBC) Stocks rose on Friday, adding to solid weekly gains, but their rise was kept in check amid increasing tensions between the U.S. and key trade partners as the G-7 summit kicked off.
The Dow Jones industrial average closed 75.12 points higher at 25,316.53, as UnitedHealth and Home Depot contributed the most to the gains. The S&P 500 gained 0.3 percent to 2,779.03 as consumer staples rose more than 1 percent. The Nasdaq composite closed 0.1 percent higher at 7,645.51.
For the week, the major averages all rose at least 1.2 percent.
Advertisement - story continues below