NEW YORK (CNNMoney.com) -- Stocks rose Friday, with the S&P 500 closing at a 2-year high, as investors welcomed some upbeat economic news and a dividend hike by General Electric.
The Dow Jones industrial average (INDU) gained 40 points, or 0.3%, to 1,1406. GE (GE, Fortune 500) was the index's biggest gainer, climbing 3.4% after the conglomerate boosted its quarterly dividend 17% to 14 cents per share.
The S&P 500 (SPX) added 7 points, or 0.6%, to 1,240 after breaking through a key technical level. The broad market gauge ended at the highest point since September 2008.
The tech-heavy Nasdaq (COMP) rose 21 points, or 0.8%, to 2,637 -- the highest level since December 2007.
For the week, the Dow locked in a gain of 0.4%. The S&P 500 added 1.3%, and the Nasdaq rose 1.5% over the last five days.
The advance came after government data showed that the U.S. trade deficit unexpectedly narrowed in October, raising optimism about economic growth early next year. A separate report on consumer sentiment also came in better than expected.
The trade data "caught people off guard and suggests that the fourth-quarter GDP might look much better than expected," said Dan Greenhaus, chief market strategist with Miller Taback & Co. "But I think the news out of China is the bigger story."
The People's Bank of China further increased its reserve requirement ratio for banks as part of an ongoing effort to cool inflation and avoid an economic crash landing. The move stoked speculation that the central bank could hike interest rates next year.
"China continues its steady steps towards tightening," said Greenhaus, adding that such moves are necessary. "They need to slow things down."
A separate report showed that China's trade surplus fell 16% in November, as exports surged 35% from the prior month.
Earlier in the week, investors cheered as Washington appeared close to reaching a compromise deal to extend Bush-era tax cuts for another two years. But House Democrats voted Thursday against considering the tax package, which would also provided for extended unemployment benefits and a break in payroll taxes.
The final outcome of the tax debate is "a major source of uncertainty" in the market, said Greenhaus.
On Thursday stocks ended mixed, as a stronger dollar dragged on commodity-related companies, while financial and tech shares firmed.
Looking ahead, investors expect the market to continue to drift modestly higher. "We will continue to move sideways to upwards, which is good," said Chip Brian, chief executive of MySmartrend.com, which analyzes over 6,000 stocks in realtime.
Next week brings a raft of economic reports on retail sales, consumer prices and new home construction. In addition, the Federal Reserve will release a policy statement Tuesday.
Investors will also look to a report on Chinese inflation due over the weekend.
Economy: The U.S. trade balance, which measures the difference between the nation's imports and exports, narrowed to $38.7 billion in October, down 13% from $44.6 billion in September, according to the Commerce Department. Economists were expecting a deficit of $44.5 billion.
The decline brought the U.S. trade deficit to a 9-month low, as exports jumped 3.2% to $158.7 billion, the highest since August 2008, and imports fell 0.5% to $197.4 billion.
The University of Michigan/Reuters index of consumer confidence for early December rose to 74.2 from 71.6 last month. Economists had expected a more modest increase to 72.5, according to consensus estimates from Briefing.com.
World markets: Asian markets ended mixed. The Shanghai Composite gained 1.1%, while the Hang Seng in Hong Kong slipped less than 0.1% and Japan's Nikkei fell 0.7%.
China's trade surplus fell to $22.9 billion in November, marking a 16% decrease over October's $27.2 billion surplus. Exports soared 34.9% in November, a $17.3 billion increase from the previous month, China's General Administration of Customs said.
Separately, the People's Bank of China said it would lift the bank reserve requirement ratio by one-half percentage points as of Dec. 20. Banks will now have to set aside 18.5% of their reserves, according to Xinhua. This is the sixth such hike this year, as China attempts to put a damper on what "runaway lending amid accelerating inflation."
European stocks were mixed. The DAX in Germany rose 0.5%, while Britain's FTSE 100 and France's CAC 40 were both flat.
Companies: GE announced plans to pay a fourth-quarter dividend of 14 cents per share, up from 12 cents, and said it expects to make "opportunistic share repurchases" next year.
"We are able to increase the GE dividend for the second time this year because of continued strong cash generation, accelerated recovery at GE Capital and solid underlying performance in our industrial businesses through year-end," GE chief executive Jeff Immelt said in a statement.
Community Health Systems (CYH, Fortune 500) announced Thursday that it has made an offer to acquire smaller rival Tenet Healthcare (THC, Fortune 500) for $6 per share, a premium of 40% over Tenet's closing stock price Thursday. An initial offer to Tenet was rejected and this is Community Health Systems' second attempt. Shares of Community Health Systems rose 13%, while shares of Tenet Healthcare surged 55%.
Green Mountain Coffee (GMCR) reported fourth-quarter net income of $27 million, or 20 cents per share, in line with expectations. But shares fell nearly 10% as investors responded to the company's outlook and decision to no longer provide specific guidance about its K-Cup sales.
The S&P 500 is shaking up the contents of its broad-market index. F5 Networks (FFIV), Netflix (NFLX), and Newfield Exploration (NFX) will replace The New York Times (NYT), Office Depot (ODP, Fortune 500) and Eastman Kodak (EK, Fortune 500) Cablevision Systems (CVC, Fortune 500) is taking the place of King Pharmaceuticals Inc., but only because King Pharmaceuticals has agreed to be acquired by Pfizer (PFE, Fortune 500).
Oil for January delivery fell 58 cents to end at $87.79 a barrel.
Gold futures for February delivery fell $6.40 to settle at $1,386.40 an ounce.
Bonds: Bond prices were mixed. The price on the benchmark 10-year U.S. Treasury edged down, pushing the yield up to 3.3%.
|Overnight Avg Rate||Latest||Change||Last Week|
|30 yr fixed||4.22%||4.16%|
|15 yr fixed||3.32%||3.24%|
|30 yr refi||4.21%||4.15%|
|15 yr refi||3.31%||3.24%|
Today's featured rates:
Law enforcement officials say Frank Tamayo was the middleman in a $5.6 million insider trading scheme that involved him eating pieces of paper to cover up the crime. More
Scotland's clear rejection of independence has eased fears that it could suffer the kind of decline seen in Quebec after it failed to break away from Canada. More
As Occupy Wall Street goes on its debt-abolishing tear, thousands of people across the country are begging them to forgive their loans. More