U.S. stocks moved higher Tuesday as investors welcomed solid results from homebuilders, retailers and other companies. Technology stocks also rose, rebounding from a slide a day earlier. Energy companies were climbing along with the price of U.S. crude oil. Consumer goods stocks were among the laggards.

KEEPING SCORE: The S&P 500 index rose 10 points, or 0.4 percent, to 2,868 as of 11:51 a.m. Eastern Time. The Dow Jones Industrial Average gained 78 points, or 0.3 percent, to 25,837. The Nasdaq composite added 56 points, or 0.7 percent, to 7,877. The Russell 2000 index of smaller-company stocks picked up 13 points, or 0.8 percent, to 1,712.

THE QUOTE: “In the absence of any new bad news, the trend for the market continues to be higher, and money continues to slowly flow in,” said Craig Birk, chief investment officer at Personal Capital. “Earnings season was phenomenal and that removed one worry. When people are just looking at companies and just looking at economic fundamentals, they feel good about things.”

SOLID EARNINGS: Investors have had much to cheer about when it comes to company earnings this year, and the second-quarter reporting period has been no exception. Of the 93 percent of the companies in the S&P 500 that have reported quarterly results, 62 percent delivered earnings and revenue that beat analysts‘ forecasts, according to S&P Global Market Intelligence. The strong earnings have been a source of encouragement for investors at a time of uncertainty over the trade disputes between the U.S. some of its biggest trading partners.

HOME SWEET HOME: Toll Brothers jumped 10.8 percent to $38.49 after the luxury homebuilder reported earnings that came in well ahead of what analysts were expecting. Other homebuilders also got a boost. Lennar gained 3.6 percent to $52.96, while PulteGroup added 3.6 percent to $29.14.

WEAR IT WELL: TJX climbed 4.3 percent to $105.98 after the operator of T.J. Maxx, Marshalls and other discount retail chains reported quarterly earnings that topped Wall Street‘s forecasts. Several other retailers also moved higher, including Best Buy, which rose 1.9 percent to $80.92.

HEALTHY QUARTER: Medtronic gained 4.3 percent to $93.94 after the medical technology company‘s latest quarterly report card beat Wall Street‘s projections.

FREE TRADE: Discount brokers fell sharply after CNBC reported that JPMorgan Chase will offer free online trading. ETrade fell 2.6 percent to $59.62. Charles Schwab lost 2 percent to $50.39. TD Ameritrade slid 5.2 percent to $57.

IN A JAM: J.M. Smucker slumped 4.4 percent to $110.82 after the maker of Jif peanut butter, Crisco cooking oil and other products reported quarterly results that fell short of analysts‘ estimates. The company also trimmed its outlook for the year.

ENERGY: U.S. benchmark crude rose 1.4 percent to $67.34 per barrel in New York. Brent crude, the standard for international oil prices, gained 0.5 percent to $72.56 per barrel in London.

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

CURRENCIES: The dollar rose to 110.42 yen from 110.23 yen late Monday. The euro strengthened to $1.1527 from $1.1467.

MARKETS OVERSEAS: Germany‘s DAX added 0.4 percent, while France‘s CAC 40 climbed 0.6 percent. Britain‘s FTSE 100 slipped 0.3 percent. In Asia, Japan‘s benchmark Nikkei 225 rose nearly 0.1 percent, while Australia‘s S&P/ASX 200 lost nearly 1 percent. South Korea‘s Kospi rose 1 percent. Hong Kong‘s Hang Seng climbed 0.6 percent. Shares were higher in Taiwan but fell in Singapore.