Stocks rose again on Wall Street as a wave of buying built momentum as the day went on, pushing indexes closer to their recent record highs and more in Tuesday’s Stock Market Update.

Stocks also jumped on news that U.S. trade officials are heading to China next week to restart trade negotiations between the world’s two largest economies.

Banks and technology companies did the heavy lifting Tuesday. Bank of America added 2.3% and Nvidia climbed 2.5%.

Earnings reports are getting into full swing, and several companies moved sharply higher after turning in impressive results. Hasbro rose 9.9% and Coca-Cola added 6%.

Banks were benefiting from higher bond yields, which allow them to charge higher interest rates on loans. The yield on the 10-year Treasury rose to 2.07% from 2.04% late Monday.

Coca-Cola soared after beating Wall Street’s second quarter profit forecasts. The surprisingly good results helped lift other consumer product makers. Kraft Heinz rose 1.4% and Kellogg rose 2.9%

Stanley Black & Decker surged after it reported second quarter profit well above analysts’ forecasts. The tool maker made one of the biggest gains in the industrial sector. General Electric rose 4.2% and 3M rose 1.7%.

Biogen rose 4.9% and Quest gained 5.4% on solid earnings results and helped push the broader health care sector higher.

Utilities lagged the market as investors moved away from defensive holdings and took on more risk.

Visa, Texas Instruments and Chipotle are among the largest companies that will report earnings after the close of regular trading Tuesday. The steady flow of corporate results continues Wednesday with companies including AT&T, Caterpillar and Facebook.

STOCK MARKET UPDATE

KEEPING SCORE: The S&P 500 rose 20 points, or 0.7% to 3,005. The Dow Jones Industrial Average rose 177 points, or 0.7%, to 27,349. The Nasdaq rose 47, or 0.6%, to 8,251.

ANALYST’S TAKE: Corporate earnings remain the key focus for investors. Overall, companies are on track for a retreat in profit that would mark the second consecutive earnings slowdown.

“Interestingly, the market seems like it almost doesn’t care,” said Jason Pride, chief investment officer of private wealth at Glenmede Trust Co. The earnings downturn has been modest so far and is being tempered by a still expanding economy and a Federal Reserve that has said it is willing to support growth.

OVERSEAS: European stocks moved broadly higher, though London’s FTSE 100 was relatively flat after Boris Johnson was named as the new prime minister, a move that could increase the risks of a disorderly Brexit. Germany’s DAX soared 1.8% and France’s CAC 40 rose 1.2%.

STOCK POP: Coca-Cola rose 6% after the beverage company raised its revenue forecast for the year following a solid second quarter. The company reported 3% growth in sales of its namesake soft drinks and it has been expanding into energy drinks and coffee.

HOUSING HIT: Homebuilders fell broadly after the National Association of Realtors reported a 1.7% drop in June home sales. Rising prices and a scarce supply of homes have been making it more difficult for first-time homebuyers.

D.R. Horton fell 2.5% and PulteGroup shed 8.3%.

WELL PLAYED: Hasbro rose 9.9% after blowing away Wall Street’s second quarter profit forecasts. The toy maker reported growth for many of its classic games and toys, including the board game Monopoly and Play-Doh. It also reported growth for its digital game “Magic: The Gathering” and got some help from its partnership with Marvel on Avengers and Spider-Man action figures.

QUALITY TOOLS: Stanley Black & Decker rose 7.1% after the tool maker beat Wall Street’s profit forecasts for the second quarter. The company reported increases in sales volumes and prices for its tools and storage products.

OIL: Oil prices edged higher. Benchmark U.S. crude rose 1.2%. Brent crude oil, the international standard, rose 1.1%. Energy prices have been volatile over the last few weeks as tensions between the U.S. and Iran intensify.

© The Associated Press. All rights reserved.