NEW YORK — Stocks rose for a third day Wednesday, the longest stretch of gains this year, after increased demand at Applied Materials Inc. spurred a technology rally and energy shares rose.
Applied Materials, the largest maker of semiconductor-production machines, climbed the most in five years and helped push the Nasdaq composite index to its best gain since November. Exxon Mobil Corp. and ConocoPhillips led oil shares higher after the Commerce Department said rising prices at filling stations spurred an unexpected increase in retail sales last month.
The Standard & Poor’s 500 index added 18.35 points, or 1.4 percent, to 1,367.21, its biggest gain in two weeks. The Dow Jones industrial average climbed 178.83, or 1.5 percent, to 12,552.24. The Nasdaq increased 53.89, or 2.3 percent, to 2,373.93.
The gain in retail sales defied economists’ forecasts for a drop in purchases. Excluding financial companies, profits have risen 18 percent for S&P 500 members that have reported fourth-quarter results so far.
Applied Materials climbed $1.84, or 10 percent, to $19.91. The company said orders for machines that make flat screens will rise as much as 5 percent this quarter, exceeding estimates.
Network Appliance Inc., the maker of data-storage computers for Oracle Corp. and the U.S. Army, added $1.51, or 7 percent, to $23.04.
Exxon, the largest U.S. crude producer, rallied $1.11 to $85.49. ConocoPhillips, the third-biggest, jumped $2.25 to $78.65. Energy companies in the S&P 500 advanced 2.3 percent as oil for March delivery rose 49 cents to $93.27 a barrel in New York.
Filling station sales increased 2 percent in January after remaining unchanged the previous month, the Commerce Department said. Total retail sales advanced 0.3 percent, compared with economists’ forecast for a drop of 0.3 percent.
Target Corp., the second-largest U.S. discount chain, climbed 60 cents to $54.51. Gap Inc. rose 12 cents to $20.06.
Genentech Inc. rallied 93 cents to $70.85. The largest U.S. maker of anti-cancer drugs said its Avastin treatment helped slow the spread of breast tumors in a clinical trial.
Technology shares also gained after the Wall Street Journal reported Yahoo! Inc., seeking to thwart Microsoft Corp.’s $44.6 billion takeover bid, is in talks about a combination with News Corp.’s Internet assets instead.
Rupert Murdoch’s News Corp. would get a stake in Yahoo that could be more than 20 percent, the newspaper said on its website. Yahoo added 31 cents, or 1.1 percent, to $29.88. News Corp. Class A shares slid 12 cents to $19.25 and Microsoft added 62 cents to $28.96.
Rockwell Automation Inc., increased $3.34, or 6 percent, to $58.92.
Qwest Communications International Inc. rallied 39 cents, or 7.4 percent, to $5.67.
Deere & Co. fell 94 cents, or 1.1 percent, to $85.54.
Sourse