Stocks rose slightly on Wednesday as investors cheered a nearing trade deal between the U.S. and China, though softer measures on payrolls and the service economy kept a lid on optimism.

The Dow Jones Industrial Average climbed 39 points to close at 26,218.13 as Intel and Home Depot outperformed. The gained 0.2% to end the day at 2,873.40, notching a five-day winning streak, as the materials and tech sectors led the way. The Nasdaq Composite advanced 0.6% to 7,895.55.