For the most part, stocks came out ahead on New Year’s Eve, providing for a strong finish to the year.