Brendan Mcdermid / Reuters
Traders work on the floor of the New York Stock Exchange. Stocks rallied Thursday, with the Dow nearing the 13,000 mark.
By msnbc.com news services
Stocks rallied Thursday, with the Dow Jones industrial average nearing the 13,000 mark, on strong U.S. economic data and indications that euro-zone leaders were on track to approve a crucial bailout for Greece.
The European common currency erased its losses against the dollar after a euro-zone official said leaders were finishing the details of a second bailout for Greece worth at least 130 billion euros.
The development eased fears of a chaotic Greek default, driving prices of safe-haven 30-year U.S. Treasuries bonds down more than 1 point.
U.S. stocks traded higher on data showing U.S. jobless benefits claims unexpectedly fell to a near four-year low last week and U.S. housing starts for January rose more than expected.
The Dow closed up 123 points, now under 100 points away from the 13,000 mark. The S&P 500 index rose to its highest level since May 2011.
"We're getting this incredible flow of good data. It's hard not to want to step into the market," said Jim Paulsen, chief investment officer at Wells Capital Management in Minneapolis.
"People are increasingly of the opinion that although Europe will continue to have flare-ups, it's not likely to become a calamity for the world economy," he said.
In Europe, the FTSEurofirst 300 erased losses to edge up 0.1 percent. World stocks as measured by the benchmark MSCI All-Country World Index were 0.46 percent higher.
"The possibility of some concrete progress (in Greece's bailout deal) is reinvigorating risk appetite and pushing up the euro," said Kathy Lien, director of research at GFT Forex in Jersey City. "We're finally walking in the right direction."
As investors moved into stocks, prices of benchmark 10-year U.S. Treasury notes fell.
U.S. crude oil futures rose 0.5 percent to settle at $102.31 a barrel, driven up by concerns about disruption in supplies from Iran and the North Sea.
Reuters contributed to this report.