Once again, Wall Street’s jitters over the escalating trade dispute between the U.S. and China proved to be short-lived.

U.S. stocks moved solidly higher Tuesday as investors largely brushed off the Trump administration’s decision to impose tariffs on an additional $200 billion of Chinese goods starting next Monday.

A swift response by China, saying it will increase tariffs on $60 billion worth of U.S. goods, also didn’t dampen investors’ buying mood.

“The tariffs, they kind of came in as expected, but there’s been this ongoing hope that this eventually will get resolved,” said Erik Davidson, chief investment officer for Wells Fargo Private Bank.

Gains in technology stocks and consumer-focused companies powered Tuesday’s broad rally, which set the market on course to reverse much of its losses from a day earlier.

Bond yields climbed, sending banks higher. Energy stocks also rose along with crude oil prices.

KEEPING SCORE: The S&P 500 index rose 16 points, or 0.5 percent, to 2,904 at closing time. The Dow Jones Industrial Average climbed 185 points, or 0.7 percent, to 26,247. The Nasdaq composite gained 60 points, or 0.8 percent, to 7,956. The Russell 2000 index of smaller companies added 11 points, or 0.7 percent, to 1,714.

THE QUOTE: “The tariffs, they kind of came in as expected, but there’s been this ongoing hope that this eventually will get resolved,” said Erik Davidson, chief investment officer for Wells Fargo Private Bank.

TRADE SHOWDOWN: The Trump administration announced late Monday that it will impose tariffs on an additional $200 billion of Chinese goods starting next Monday, potentially raising prices on goods ranging from handbags to bicycle tires. The tariffs will start at 10 percent and then climb to 25 percent on Jan. 1.

China responded by saying it will increase tariffs on $60 billion worth of U.S. goods. The move involves increases of 10 percent and 5 percent on 5,207 types of U.S. goods. A list released last month included coffee, honey and industrial chemicals.

Trump has threatened to add another $267 billion in Chinese imports to the target list in response to any retaliation by China. That would raise the total to $517 billion, covering nearly everything China sells in the United States.

TECH REBOUND: Technology stocks rebounded after leading a market sell-off a day earlier. Micron Technology rose 4.3 percent to $45.44. Apple, which received an exemption to the new tariffs on goods imported from China, gained 0.3 percent to $218.56. Fitbit also benefited from some of components that the company uses to manufacture its fitness monitoring bands not being among the items subject to the new tariffs. The stock picked up 5.3 percent to $5.74.

RETAIL RALLY: Gains by retailers, travel sites and other consumer-focused companies helped lift the market. L Brands led the pack, picking up 4.5 percent to $29.72.

ALL ABOARD: United Pacific climbed 4.7 percent to $164.05 after the railroad operator announced a plan to improve its profitability.

GOOD CHEMISTRY: Shares in Nexeo Solutions surged 14.3 percent to $11.44 after it agreed to be acquired by specialty chemicals maker Univar in a deal the companies valued at $2 billion.

TESLA PROBE: Tesla slid 5.2 percent to $279.46 after Bloomberg reported that the electric car maker is being investigated by the Justice Department over public statements made by CEO Elon Musk. Early last month Musk tweeted that he had secured funding to take the company private. A couple of weeks later, he put out a statement saying the go-private deal was off.

NOT SO HUNGRY: General Mills slumped 8 percent to $43.97 after the cereal maker reported quarterly sales that fell short of analysts’ estimates.

BOTCHED DELIVERY: FedEx dropped 4.2 percent to $245.03 after the package delivery giant reported quarterly earnings that fell short of Wall Street’s forecasts.

ENERGY: Oil prices climbed ahead of an upcoming OPEC meeting where members will weigh how to address the loss of supply from Iran, which faces U.S. sanctions. Benchmark U.S. crude rose 1.3 percent to $69.78 a barrel in New York. Brent crude, used to price international oils, gained 1.1 percent to $78.94 a barrel in London.

The pickup in oil prices helped send energy stocks higher. Hess climbed 1.7 percent to $67.93.

BOND YIELDS: Bond prices fell. The yield on the 10-year Treasury rose to 3.04 percent from 3 percent late Monday.

CURRENCIES: The dollar rose to 112.35 yen from 111.18 yen on Monday. The euro weakened to $1.1661 from $1.1686.

MARKETS OVERESEAS: In Europe, the DAX in Germany rose 0.5 percent, while France’s CAC 40 added 0.3 percent. Britain’s FTSE 100 was flat. Japan’s Nikkei 225 jumped 1.4 percent, while the Kospi in South Korea added 0.3 percent. Hong Kong’s Hang Seng index gained 0.6 percent.

© The Associated Press. All rights reserved.