Wall Street continued its run to record highs on Tuesday, led by strong gains in Disney and Facebook shares.

The market was slightly higher amid remarks from President Donald Trump, who hinted at Chinese enthusiasm for a trade deal, while knocking them for cheating the U.S. in past agreements.

The S&P 500 climbed 0.2% to 3,091.84, hitting a fresh intraday record. The Nasdaq Composite advanced 0.3% to 8,486.09, notching intraday and closing records. The Dow Jones Industrial Average, meanwhile, closed completely unchanged at 27,691.49 after coming within a whisker of hitting an all-time high.

Disney shares rose more than 1% after launching its Disney+ streaming service. The platform suffered technical errors just hours after the launch as demand surged. Facebook, meanwhile, gained 2.6% after announcing a new payments tool that can be used through its applications.

Rockwell Automation shares surged 10.5% after the company posted quarterly results that beat expectations along with stronger-than-forecast guidance. Semiconductor stocks such as Marvell Technology and Micron Technology advanced 4.2% and 1.4%, respectively.

"There's a lack of selling in the market," said JJ Kinahan, chief market strategist at TD Ameritrade. "Because we have optimism around trade … a better-than-expected earnings season and we're heading into what appears to be a strong holiday shopping season, there's a lot to like right now."