Traders are hopeful that the Federal Reserve will continue its easy-money policies under incoming chief Janet Yellen. Yellen testified in a confirmation hearing in front of a Senate committee Thursday.

Two stocks rose for every one that fell on the New York Stock Exchange.

In government bond trading, the yield on the 10-year Treasury note rose to 2.71 percent.