"We're cautiously optimistic on stocks," said Colleen Supran, principal at Bingham, Osborn & Scarborough. "There is some indication that we could be continuing on this slow growth trajectory."
Supran said investors should still be prepared for volatility in the stock market and not assume that the gains from January and so far in February will set the pattern for the rest of the year.
Strengthening the economy and creating jobs were key topics in President Barack Obama's State of the Union address late Tuesday, the first since his re-election. Although the economy is healthier than it was four years ago, growth remains slow and unemployment high.
Obama announced that the U.S. will begin talks with the European Union on a trans-Atlantic trade agreement. He also called for increased spending to fix roads and bridges and the first increase in the minimum wage in six years. The president also challenged deeply divided lawmakers to find compromises to avoid massive, automatic spending cuts that are scheduled to take place March 1.
The government reported that Americans' spending at retail businesses and restaurants slowed last month after higher taxes cut their paychecks. Retail sales growth slowed to 0.1 percent in January, from a 0.5 percent increase in December.
The Nasdaq composite rose 10.38 points to 3,196.88.
As stocks have advanced this year, bond prices have slumped.
The yield on the 10-year Treasury note, which moves inversely to its price, rose 4 basis points to 2.02 percent. The yield on the note has risen more than 30 basis points since the start of the year.
Among other stocks making big moves:
â¿¿ Groupon rose 29 cents to $5.58 after brokerage firm Sterne, Agee & Leach, raised its rating on the company to "Buy" from "Neutral," citing the long-term potential for Groupon's changing business model. The online deals company has lost almost three quarters of its value since going public in November 2011 at $20 as revenue growth slowed.