Investor optimism about the U.S.-China trade negotiations trumped pessimism about the slowing economy -- but just barely.

The tech-heavy Entrepreneur Index™ was up 0.37 percent while the Dow (0.15 percent) and S&P 500 (0.21 percent) indexes eked out smaller gains.

U.S. trade representatives resumed talks with Chinese Vice-Premier Liu He in Washington today. The two sides have reportedly resolved most of the outstanding issues between them. Meanwhile, job growth in the U.S. last month was still positive but well below estimates, according to ADP and Moody's Analytics data. The Institute of Supply Management non-manufacturing index also fell to its lowest level in over a year, suggesting the services sector is also slowing down.

...