Seven of the 11 major S&P sectors gained more than 1 percent, including energy , up 2.05 percent.
About 8.1 billion shares changed hands on US exchanges, the most in 2017 and well above the 6.9 billion daily average for the past 20 trading days, according to Thomson Reuters data.
The S&P 500 is trading near 18 times expected earnings, compared to its 10-year average of 14, according to Thomson Reuters Datastream.
The S&P 500 posted 140 new 52-week highs and five new lows; the Nasdaq Composite recorded 218 new highs and 38 new lows.
Sign up here with your email