Stocks closed slightly higher on Monday after spending most of the day in the red. A slide in crude oil prices weighed on energy stocks, which ended almost 2 percent lower.

Stocks closed slightly higher on Monday after spending most of the day in the red. A slide in crude oil prices weighed on energy stocks, which ended almost 2 percent lower.

For the day:

The Dow Jones industrial average rose 14.57 points, or 0.1 percent, to close at 17,230.54.

The Standard & Poor's 500 index gained 0.55 points, or 0.03 percent, to 2,033.66.

The Nasdaq composite climbed 18.78 points, or 0.4 percent, to 4,905.47.

For the year:

The Dow is down 592.53 points, or 3.3 percent.

The S&P 500 index is down 25.24 points, or 1.2 percent.

The Nasdaq is up 169.42 points, or 3.6 percent.