Global equity markets had rallied on Wednesday, as oil prices jumped on optimism that top crude producers could finalise a deal to freeze production, while the Mexican peso strengthened after the country's central bank hiked its benchmark interest rate.
After a surprise agreement on Tuesday between non-OPEC Russia and OPEC leader Saudi Arabia to freeze output at January levels, Iran's oil minister had on Wednesday met his counterparts from Venezuela, Iraq and Qatar, saying the proposed production "ceiling'' should be the first step toward stabilising the market.
Brent settled up 7.2 per cent at $34.50 and US crude was up 5.6 per cent at $30.66 a barrel.
Energy and materials shares led Wall Street higher, rising 2.9 per cent and 2 per cent, respectively. Nine of the 10 major S&P sectors were in positive territory.
"Oil continues to directionally trade with equities and oil prices are higher, and more important, economic data recently has been better than feared,"' said Jason Ware, chief investment officer at Albion Financial Group in Salt Lake City.
"Meanwhile, the backdrop for equities is oversold. ... This has certainly compelled some folks who are under-invested to get back into the stock market," he said.
The Dow Jones industrial average rose 255.37 points or 1.58 per'cent to 16,451.78, the S&P 500 gained 31.02 points or 1.64 per cent to 1,926.6 and the Nasdaq Composite added 98.11 points or 2.21 per cent to 4,534.07.
The S&P 500 has climbed for three straight sessions, its longest streak of the year, after closing at a two-year low on Thursday. The 5.3 per cent gain marks the best three-day performance for the index since August.
Mexican peso
The Mexican peso firmed 2.8 per cent against the dollar after Mexico's central bank unexpectedly raised its benchmark interest rate by 50 basis points to 3.75 per cent and intervened directly in the foreign exchange market to sell dollars as part of an aggressive new program in a major policy shift to support the peso.
Housing starts
Economic data showed US housing starts unexpectedly fell in January but producer prices rose last month, with signs of an uptick in underlying inflation, which is closely watched for signs of when the Fed will raise rates.
In other data, industrial production in January rose by the most in 14 months, its first increase in five months, the latest sign the economy regained some ground early in the year.
Federal Reserve policymakers had worried last month that tighter global financial conditions could hit the US economy and considered changing their planned path of interest rate hikes in 2016, according to the minutes of the central bank's January policy meeting.
In Europe, banks and resource stocks helped fuel a rally, led by French bank Credit Agricole and UK-listed miner Glencore.
The pan-European FTSEurofirst 300 index of leading shares closed up 2.7 per cent, bringing its gains for this week to over 5 per cent and putting it on track for its best week in over five years.
Financials in Europe were up 3.3 per cent and basic resources stocks surged 8.1 per cent.
MSCI's index of world shares was up 1.53 per cent, extending Tuesday's rise of 2.3 per cent, its second-biggest gain in four years.
The dollar fell 0.17 per cent against the yen, to 113.85 yen, while the benchmark 10-year US Treasury was down 9/32 in price to yield 1.8086 per cent.