Wall Street posted solid gains on Thursday as higher oil prices reduced fears that banks could be hit by debt defaults and investors saw opportunities after weeks of volatility.
The second uptick in two days for stocks was helped by a 3-per cent jump in oil, which has been a major influence on markets this year as investors view weak energy demand as a sign of sluggish global growth.
The S&P 500 has recovered 6 per cent in the past nine sessions but remains down almost 5 per cent in 2016 as oil hovers near decade lows.
For the first time this year, the S&P 500 exceeded its 50-day moving average, a move that some investors believe is a sign of improving sentiment.
"I have a lot of people calling me and saying 'Hey, I've got $50,000 in the bank earning zero percent. Is it time to put it to work?'," said Jake Dollarhide, chief executive of Longbow Asset Management in Tulsa.
"People are saying 'Let's take a nibble right here.'"
All of the 10 major S&P sectors were higher, led by the financial sector, up 1.38 per cent.
The financial sector has fallen 12 per cent this year, easily the worst performer on the S&P, as fears loom about a wave of defaults from energy companies.
Also helping sentiment, orders for US durable goods rose more than expected in January as demand picked up across the board, offering a ray of hope for the downtrodden manufacturing sector.
The Dow Jones industrial average jumped 1.29 per cent to end at 16,697.29 points and the S&P 500 rallied 1.13 per cent to 1,951.7, its highest close since early January.
The Nasdaq Composite added 0.87 per cent to 4,582.21.
Shares of Salesforce.com Inc surged 11.03 per cent. The online customer management software maker reported higher-than-expected revenue and raised its full-year forecast. The stock gave the biggest boost to the S&P 500.
Gun maker Sturm Ruger & Co jumped 7.8 per cent after reporting quarterly results that handily beat Wall Street's expectations.
Tech leader Microsoft rose 1.44 per cent, fueling much of the Nasdaq's gains.
After the bell, food company Kraft Heinz Co rose 3 per cent following its fourth-quarter report. Weight Watchers International Inc shed 19 per cent after posting a steep drop in fourth-quarter net revenue.
Advancing issues outnumbered decliners on the New York Stock Exchange by 2,265 to 784. On the Nasdaq, 1,684 issues rose and 1,074 fell.
The S&P 500 index showed 35 new 52-week highs and two new lows, while the Nasdaq recorded 33 new highs and 48 lows.
About 7.3 billion shares changed hands on US exchanges, below the 9 billion daily average for the past 20 trading days, according to Thomson Reuters data.