U.S. stocks finished mostly higher Friday, but they surrendered most of an early gain as worries about rising tariffs once again dampened investors' enthusiasm as the second quarter came to an end.
Banks led the early rally. The Federal Reserve gave the green light for most large U.S. financial institutions to pay bigger dividends to shareholders and buy back more stock. Apparel maker Nike surged after it said sales in North America improved in its latest quarter, helping the Dow Jones Industrial Average to a gain of around 293 points near midday.
Those gains eroded as investors again focused on U.S. trade policy, which has overhung the market since late February. Canada announced $12.6 billion in retaliatory tariffs on U.S. goods in response to U.S. tariffs on steel and aluminum imports. General Motors warned that if the Trump administration places import taxes on cars and car parts, it will likely face retaliation and might have to eliminate jobs in the U.S.
At the close, the Dow's gain was 55.36 points, or 0.2 percent, at 24,271.41. The S&P 500 index edged up 2.06 points, or 0.1 percent, to 2,718.37. The Nasdaq composite rose 6.62 points, or 0.1 percent, to 7,510.30. The Russell 2000 index of smaller-company stocks lost 1.95 points, or 0.1 percent, to 1,643.07. All four indexes ended the second three months of the year with gains with the Russell having the strongest showing, up 7.4 percent.
On Friday, Wells Fargo gained 3.4 percent to $55.44, its biggest gain since shortly after the 2016 Presidential election.
The gain came after the Federal Reserve allowed 32 of the 35 largest banks in the U.S. to raise their quarterly dividends and buy back more stock. The central bank determined that those institutions are in good enough financial shape to weather a major downturn in the economy.
While the Fed's "stress tests" measure a bank's financial health and are separate from its business tactics, investors felt the Fed's approval was a notable win for Wells. Earlier this year the Fed placed numerous restrictions on the bank in response to abusive practices that duped consumers out of millions of dollars.
Nike said revenue in North America grew after several quarters of declines, and its fourth-quarter profit and sales blew past Wall Street forecasts. The athletic apparel company also said it will buy back $15 billion in stock over the next four years. It gained 11.1 percent to $79.68, its biggest surge in almost four years.
With trade tensions in focus throughout the second quarter, stocks didn't make big gains, even after a very strong round of first-quarter corporate reports. The S&P 500 rose 2.9 percent over those three months and the Dow added just 0.7 percent.
Investors felt technology companies and smaller, more U.S.-focused companies were safe picks in case the trade tensions get worse. The Nasdaq composite jumped 6.3 percent and the Russell 2000 index advanced 7.4 percent. Both set records as recently as last week.
The Dow is the only major index still lower for the year, though only down 0.6 percent.
Only a week remains before the U.S. and China each place tariffs on tens of billions of dollars in imports. Shawn Cruz, manager of trader strategy for TD Ameritrade, said the outcome of the broader trade tensions will help determine what stocks do in the months to come. He said stocks might set more records if the situation is resolved in a way the market likes, but if the tensions end up hurting global economic growth, stocks could fall further.
Energy companies and oil prices continued to climb. Benchmark U.S. crude gained 1 percent to $74.15 a barrel in New York and rose 14 percent during the second quarter, to its highest price since late 2014. The S&P 500 index of energy companies climbed almost 13 percent this quarter, far better than the rest of the market and its biggest gain in six and a half years.
Brent crude, used to price international oils, rose 1.9 percent to $79.44 a barrel in London.
Wholesale gasoline climbed 2.2 percent to $2.18 a gallon. Heating oil jumped 1.4 percent to $2.21 a gallon. Natural gas lost 0.5 percent to $2.92 per 1,000 cubic feet.
Bond prices wobbled and turned lower. The yield on the 10-year Treasury note rose to 2.86 percent from 2.84 percent.
Gold added 0.3 percent to $1,254.50 an ounce. Silver gained 1 percent to $16.20 an ounce. Copper fell 0.2 percent to $2.97 a pound.
The dollar rose to 110.85 yen from 110.64 yen. The euro rose to $1.1672 from $1.1555.
France's CAC 40 gained 1.1 percent and the German DAX added 0.9 percent after a deal on migration relieved pressure on the coalition government of Chancellor Angela Merkel. Britain's FTSE 100 added 0.3 percent.
Japan's benchmark Nikkei 225 edged 0.2 percent higher. South Korea's Kospi advanced 0.5 percent and Hong Kong's Hang Seng added 1.6 percent.
AP Markets Writer Marley Jay can be reached at http://twitter.com/MarleyJayAP His work can be found at https://apnews.com/search/marley%20jay