Stocks had one of their best days in May Tuesday. Investors were hopeful that China is poised to rev up its economic growth machine and that the upcoming elections in Greece will help the country stay in the euro.
The Dow Jones industrial average had only its fifth gain this month. The Dow is still off 4.8 percent for May and is headed for its first monthly loss since September. Markets were closed Monday for Memorial Day.
The Dow Jones industrial average rose 125.86 points, or 1.01 percent, to 12,580.69.
The Standard & Poor's 500 index rose 14.60 points, or 1.11 percent, to 1,332.42.
The Nasdaq composite index rose 33.46 points, or 1.18 percent, to 2,870.99.
For the year:
The Dow is up 363.13 points, or 3 percent.
The S&P 500 is up 74.82 points, or 6 percent.
The Nasdaq is up 265.84 points, or 10.2 percent.