U.S. stocks closed higher on Monday, led by gains in energy shares as the market continued to focus on corporate earnings and awaited July payrolls data. The Dow rose 3.2 percent, its second straight monthly gain. The Nasdaq rose more than 0.2% for a monthly gain of 4.05%, while the S&P edged up 0.15% for a monthly gain of 3.12%, marking its fifth consecutive month of gains and its longest winning streak since 2021.Following Microsoft's better-than-expected earnings this week, Apple, Amazon and Qualcomm will release their latest earnings this week, and large tech stocks will continue to be the focus of investors, while waiting for the release of non-farm payrolls data this week.Hopes of a soft landing for the U.S. economy have surged in recent weeks as economic data showed continued st