Traders work on the floor of the New York Stock Exchange.

The S&P 500 finished 2020 with a gain of 16.26% for the year and closed at a record high on Thursday, a remarkable performance after a drastic selloff in February and March.

Some of the names in the broad market index had particularly strong years, with six stocks gaining more than 100%.