US President Donald Trump said he expects to sign a partial trade pact with China next month following progress in developing the text of a preliminary agreement reached earlier this month.
“There is optimism on the trade front,” said Adam Sarhan of 50 Park Investment.
Markets were also hopeful that the revised Brexit deal would avert a no-deal Brexit and that a heavy week of corporate earnings was likely to boost stocks.
The Dow Jones Industrial Average ended up 0.2 per cent at 27,828.
The broad-based S&P 500 gained 0.7 per cent to 3,007, while the tech-rich Nasdaq Composite Index jumped 0.9 per cent to 8,163.
But gains in the Dow were limited by Boeing, which plunged for a second straight session, losing 3.8 per cent after the Federal Aviation Administration, criticized the aerospace giant for not providing it with key documents in the 737 Max for months after learning about them.
Several analysts downgraded Boeing, including Baird, which said the revelations mean the “long road back just got harder” and that the company’s plan for the Max to return in the fourth quarter “looks way more vulnerable.”