Strong corporate earnings pushed up stocks across industries on Tuesday, with the energy sector and small companies leading the gains.
The Dow Jones industrial average rose 187.81 points, or 1.1 percent, to 17,005.75.
The S&P 500 rose 23.42 points, or 1.2 percent, to 1,985.05.
The Nasdaq composite climbed 78.36 points, or 1.8 percent, to 4,564.29.
For the week:
The Dow is up 200.34 points, or 1.2 percent.
The S&P 500 index is up 20.47 points, or 1 percent.
The Nasdaq is up 80.58 points, or 1.8 percent.
For the year:
The Dow is up 429.09 points, or 2.6 percent.
The S&P 500 index is up 136.69 points, or 7.4 percent.
The Nasdaq is up 387.70 points, or 9.3 percent.