U.S. stock indexes eked out tiny gains Wednesday following a wobbly day of trading as investors reviewed another set of mixed quarterly report cards from big companies.

Some of the companies’ earnings topped analysts’ expectations. Others put traders in a selling mood after warning that the slowing global economy and trade tensions are hitting their profits.

While it’s still early this earnings season, traders are trying to gauge how much the U.S. trade war with China and a slowdown in global economic growth is hurting Corporate America.

The lack of direction in earnings Wednesday was reflected in the market, which spent most of the day wavering between tiny gains and losses.

“Fewer than a quarter of the companies have reported, so there’s a lot more to come,” said Sam Stovall, chief investment strategist at CFRA. “But the results have been mixed so far, even with the bar being set as low as it was.”

The S&P 500 rose 8.53 points, or 0.3%, to 3,004.52. The benchmark index had been down nearly 5% before recovering toward the end of the day. It remains within 0.8% of its all-time high, which was set July 26.

The Dow Jones Industrial Average also rebounded from a midday drop, gaining 45.85 points, or 0.2%, to 26,833.95.

The Nasdaq composite added 15.50 points, or 0.2%, to 8,119.79. The Russell 2000 index of smaller companies picked up 1.99 points, or 0.1%, to 1,552.86.

Roughly a quarter of the companies in the S&P 500 have reported how much they made from July through September, and analysts are still forecasting the index will end up showing a drop in earnings per share from a year earlier.

If they’re right, it would be the first time earnings have fallen for three straight quarters since 2015-16, according to FactSet.

Welcome to the discussion.

Keep it Clean. Please avoid obscene, vulgar, lewd, racist or sexually-oriented language.
PLEASE TURN OFF YOUR CAPS LOCK.
Don't Threaten. Threats of harming another person will not be tolerated.
Be Truthful. Don't knowingly lie about anyone or anything.
Be Nice. No racism, sexism or any sort of -ism that is degrading to another person.
Be Proactive. Use the 'Report' link on each comment to let us know of abusive posts.
Share with Us. We'd love to hear eyewitness accounts, the history behind an article.