Stocks fell Thursday, the last day of trading of 2015, rounding out the worst year of performance in the S&P 500 and Dow Jones indices since 2008.

Even with oil making a nice comeback Thursday, most stocks still fell, CNBC reports. Oil closed at $37.04 a barrel, up 1.2 percent for the day, but for the year, oil was down 35 percent. There continues to be the fear of oversupply. 

The Dow fell almost 180 points to close at 17,425.03. The final close for the Dow left it down 2.29 percent for the year, its first annual loss since 2008.

The S&P 500 fell almost 20 points to close the year at 2,043.94. After three years of double-digit gains, the S&P 500 suffered a loss in 2015. The worst year for the S&P 500 was in 2008, when it lost 40 percent.

The NASDAQ Composite Index was the one bright spot for 2015, gaining 5.7 percent. The index is compromised mostly of tech stocks. 

Meanwhie, energy companies have responded to falling oil prices with declines in share prices.

In Latin America, stocks were mostly lower Thursday, with the Mexico IPC falling slightly. Strategists from JP Morgan expect Latin American countries to suffer due to an economic slowdown in 2016.

On the final day of trading in 2015, investors were found doing more selling than buying. Stocks were down, while bonds were up.

"It's a day of portfolio adjustments. I think you're going to find some people taking some money off the table and switching to more conservative (assets)," chief investment officer at Tower Bridge Advisors James Meyer told CNBC.

The stock market has had little to react to in the last two weeks after the long-awaited Fed rate hike and shortened weeks due to holidays. Stocks have mostly followed the performance of oil for the past two weeks. 

The stock market is closed for New Year's Day Friday and will resume trading on Monday, Jan. 4.