Stocks closed a volatile month with strong gains on Friday on renewed bets the U.S. and China could strike a deal on trade. The Dow Jones Industrial Average rose 199.62 points to close at 25,538.46. The and Nasdaq Composite both gained 0.8 percent to close at 2,760.17 and 7,330.54, respectively. Stocks wobbled for most of the session until Reuters reported that a Chinese official said "consensus is steadily increasing" in U.S.-China trade talks. The official added, according to the report, that differences between the two countries remained. Jeff Powell, managing partner at Polaris Greystone Financial Group, said "if we can get some sign of progress, that will help." President Donald Trump and Chinese President Xi Jinping are scheduled to have dinner on Saturday and are expected to discuss trade issues between the two countries. Investors are eagerly looking ahead to the dinner, hoping the two leaders can quell trade-induced volatility in the global economy and corporate earnings.

U.S. President Donald Trump and China's President Xi Jinping leave a business leaders event at the Great Hall of the People in Beijing on November 9, 2017. Nicolas Asfouri | AFP | Getty Images

U.S. Trade Representative Robert Lighthizer said Friday he expected the meeting to be a "success," raising hope that a trade truce between the world's largest economies could be struck. Caterpillar and Boeing rose 4.2 percent and 1.2 percent, respectively. These stocks are considered bellwethers for global trade because of their high exposure to foreign markets. Trade has been at the top of investors' minds for most of 2018 as the assess the potential impact of a U.S.-China trade war on the global economy and corporate profits. WATCH: What is the difference between the G-7, G-8 and G-20?