A report that U.S. exports hit a record in April sent stocks sharply higher Thursday as investors hoped the economic recovery may not be as sluggish as the last week of grim economic reports have suggested.
Trade levels factor into calculations of economic growth. Thursday's number could add half a percentage point or more to the government's estimate of second-quarter gross domestic product, said Anthony Chan, chief economist for JPMorgan Private Wealth.
The Dow Jones industrial average rose 75.42 points, or 0.6 percent, to close at 12,124.36. The Standard & Poor's 500 index rose 9.44, or 0.7 percent, to 1,289.00. The Nasdaq composite rose 9.49, or 0.4 percent, to 2,684.87.
Thursday's gains broke a six-day losing streak and marked the first time stocks rose in June. Stocks had dropped following poor reports on manufacturing, home sales, hiring and consumer confidence.
It was the longest losing streak for the Dow Jones industrial average in over a year and the longest for the Standard & Poor's 500 index since February 2009.
The market's weeklong slump also made stocks appear relatively cheap, Chan said. The S&P 500 lost 6.2 percent over the previous six days of trading.
"Markets usually swing like a pendulum," Chan said. "This decline has been strong enough that you can easily justify the market taking a breath."
The narrower trade deficit is a sign that goods from U.S. manufacturers are becoming more competitive in overseas markets. U.S. companies sold more computers, heavy machinery and telecommunications equipment abroad in April compared with the month before. Imports declined because fewer cars were bought from Japan after factories there were damaged by that country's earthquake and tsunami disaster.
Companies that make farming machinery rose after the government reported that U.S. corn crops would be smaller this fall. That sent corn prices soaring and raised expectations that farm owners would be buying more agricultural equipment such as tractors. Both Deere & Co. and AGCO Corp rose 2.5 percent.
A report on claims for unemployment benefits was in line with expectations that new applications would stay roughly the same. The Labor Department reported that new claims edged up 1,000 to 427,000. Economists had expected a slight drop. The high level of claims still suggests that the job market is slow.
Advertising company Interpublic Group of Cos. jumped 6.4 percent, the most of any company in the S&P 500 index, after ratings agency Moody's raised its rating on the company.
A jump in oil prices sent energy stocks higher. Energy companies in the S&P 500 index rose 1.2 percent. Crude rose $1.19 to settle at $101.93.
Stocks have been slipping since mid-April as investors become concerned that the U.S. economy has hit a soft patch. Rising oil prices, Japan's tsunami and nuclear disaster and the risk that Greece might default on its debt have led investors to lower their forecasts for U.S. growth this year.
Nearly two stocks rose for every one that fell on the New York Stock Exchange. Consolidated trading volume was 3.5 billion shares.
Visit View Best in The word for Daily Updated Animal Funny Pictures Collection