Wall Street stocks posted solid gains Tuesday, brushing aside mixed corporate earnings and lingering worries about trade protectionism, and betting that President Donald Trump will indeed produce the pro-growth policies they have been hoping for. The Nasdaq and S&P 500 each ended at fresh all-time highs, and the Dow moved back to within striking distance of the 20,000-point milestone as investors revived the optimism that pushed the market to repeated records for about six weeks after the election.