Stocks rallied last week as optimism about a potential U.S.-China trade deal grew. The S&P 500 advanced 0.80% during the 4-day trading week to 2,792.67. The Nasdaq Composite improved 0.86% to 7,527.54, and the Dow Jones Industrial Average gained 0.64% to 26,031.81.