Stocks closed modestly higher Wednesday, led by gains in financial and energy companies. The latest gains came as the price of oil recovered from an early slide and gave the stock market its third higher close in three days.
The Dow Jones industrial average gained 42.67 points, or 0.2 percent, to 18,096.27.
The Standard & Poor's 500 index rose 1.60 points, or 0.1 percent, to 2,102.40.
The Nasdaq composite index added 7.80 points, or 0.2 percent, to 4,948.13.
For the week:
The Dow is up 198.81 points, or 1.1 percent.
The S&P 500 is up 21.67 points, or 1 percent.
The Nasdaq is up 9.92 points, or 0.2 percent.
For the year:
The Dow is up 671.24 points, or 3.9 percent.
The S&P 500 is up 58.46 points, or 2.9 percent.
The Nasdaq is down 59.28 points, or 1.2 percent.