NEW YORK (AP) — Stocks posted solid gains as Wall Street put the finishing touches on one of its best months of the year. The S&P 500 rose 0.6% while the Dow Jones Industrial Average gained 0.4%. Both indexes closed out November with their best monthly performances of the year. The Nasdaq added 0.8%.