NEW YORK (AP) -- Miners and other companies that deal in commodities helped pull the stock market out of a three-day slump.
News that China's trade rebounded last month signaled the end of a six-month slowdown for the world's second-largest economy. China is the world's biggest buyer of raw materials.
The report drove the price of copper to the highest in two months.
The Standard & Poor's 500 rose six points, or 0.4 percent, to close at 1,697 Thursday.
The Dow Jones industrial average rose 27 points, or 0.2 percent, to 15,498. The Nasdaq composite gained 15 points, or 0.4 percent, to 3,669.
It was the stock market's first gain this week.
Two stocks rose for every one that fell on the New York Stock Exchange. Volume was below average at 3.2 billion shares.
Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.