TribLIVE's Daily and Weekly email newsletters deliver the news you want and information you need, right to your inbox.

Stocks shook off an early wobble on Wall Street on Tuesday, finishing modestly higher and extending the market’s gains into a fourth week.

Solid earnings from Walmart encouraged investors to bid up other retailers and consumer goods companies. Communication services stocks and banks also contributed to the broad gains.

Homebuilders also notched gains following an industry survey showing improved confidence among builders heading into the key spring homebuying season.

Roughly 81 percent of S&P 500 companies have reported results for the last three months of 2018, delivering earnings growth of 13.1 percent versus a year earlier, according to FactSet. First-quarter snapshots are expected to result in a 2.5 percent decline in earnings, however.

Even so, the strong quarterly performance from the world’s largest retailer was an encouraging signal on U.S. consumer spending after a government report last week showed retail sales slumped in December.

“Now that we’re winding down on earnings, investors are looking forward to what’s going to move the market higher,” said Karyn Cavanaugh, senior markets strategist at Voya Investment Management. “The fact that the consumer is still strong is a comfort to investors.”

The benchmark S&P 500 index, which has risen for the past three weeks, gained 4.16 points, or 0.1 percent, to 2,779.76.

The Dow Jones Industrial Average rose 8.07 points, or 0.03 percent, to 25,891.32. The Nasdaq composite added 14.36 points, or 0.2 percent, to 7,486.77. The Russell 2000 index of smaller companies picked up 5.22 points, or 0.3 percent, to 1,574.47.

Major European indexes finished mostly lower.

U.S. stock indexes got off to a downbeat start Tuesday as U.S. markets reopened following the Presidents Day holiday. They wavered between small gains and losses for most of the morning, then veered higher in late morning trading and held on to most of their gains the rest of the day.

The latest round of company earnings showed solid profit growth for the final three months of 2018, but caution about conditions going forward amid signs of a weaker global economy this year. Europe and China have both reported slower growth.

Meanwhile, uncertainty over the costly trade conflict between the U.S. and China has also clouded the outlook for company profits.

“We still have that overhang of global growth and trade issues,” Cavanaugh said, noting that traders are looking ahead now to company earnings for the first quarter with “a little trepidation.”

Beyond the quarterly corporate report cards, investors were keeping a close eye on talks between U.S. and Chinese negotiators in Washington that are aimed at ending a trade war between the world’s largest economies.

A truce between the U.S. and China on increased American tariffs on Chinese goods expires at the end of next week, leaving the U.S. free to more than double its import duties on $200 billion in Chinese goods.

President Donald Trump has said there is a possibility he would extend that March 2 deadline if the two countries are close to a deal. Much is riding on the outcome of the talks after an inconclusive end to an earlier round in Beijing last week.

Vice Premier Liu He, China’s economy czar, was due to arrive in Washington on Thursday, China’s state media reported, after two days of preliminary talks by lower-level officials.

The U.S. is wrangling over trade with many nations. On Monday, the European Union warned that the bloc will hold back on a commitment to buy more American soybeans and liquefied gas if European cars are hit with punitive tariffs.

Investors also bid up shares in homebuilders after an industry survey showed builders are feeling more confident about their sales prospects this month.

The National Association of Home Builders/Wells Fargo Housing Market Index released Tuesday has a reading of 62. That’s an increase of four points from last month’s index and the highest reading since October.

Readings above 50 indicate more builders see sales conditions as good rather than poor.

William Lyon Homes was among the biggest gainers, adding 3.1 percent.

Bond prices rose. The yield on the 10-year Treasury note fell to 2.64 percent from 2.66 percent late Friday. That yield is used to set rates on mortgages and other kinds of loans.

The dollar rose to 110.66 yen from 110.60 yen on Monday. The euro strengthened to $1.1340 from $1.1312.

You are solely responsible for your comments and by using TribLive.com you agree to our
Terms of Service.

We moderate comments. Our goal is to provide substantive commentary for a general readership. By screening submissions, we provide a space where readers can share intelligent and informed commentary that enhances the quality of our news and information.

While most comments will be posted if they are on-topic and not abusive, moderating decisions are subjective. We will make them as carefully and consistently as we can. Because of the volume of reader comments, we cannot review individual moderation decisions with readers.

We value thoughtful comments representing a range of views that make their point quickly and politely. We make an effort to protect discussions from repeated comments either by the same reader or different readers

We follow the same standards for taste as the daily newspaper. A few things we won't tolerate: personal attacks, obscenity, vulgarity, profanity (including expletives and letters followed by dashes), commercial promotion, impersonations, incoherence, proselytizing and SHOUTING. Don't include URLs to Web sites.

We do not edit comments. They are either approved or deleted. We reserve the right to edit a comment that is quoted or excerpted in an article. In this case, we may fix spelling and punctuation.

We welcome strong opinions and criticism of our work, but we don't want comments to become bogged down with discussions of our policies and we will moderate accordingly.

We appreciate it when readers and people quoted in articles or blog posts point out errors of fact or emphasis and will investigate all assertions. But these suggestions should be sent
via e-mail. To avoid distracting other readers, we won't publish comments that suggest a correction. Instead, corrections will be made in a blog post or in an article.