NEW YORK (CNNMoney) -- U.S. stocks ended mixed Wednesday, one day after a big advance, as declines in bank stocks vied with strength in the technology sector.
The Dow Jones industrial average () rose 16 points, or 0.1%, to end at 13,194. The S&P 500 ( ) lost 2 point, or 0.1% to 1,394. The Nasdaq ( ) edged up 1 point, or less than 0.1%, to 3,041.
Stocks surged late Tuesday as investors cheered news that most U.S. banks passed the Federal Reserve's latest round of stress tests. But the tone was more cautious Wednesday as investors punished banks that came up short in the test and rewarded those that passed.
"After the surprise good news from stress tests yesterday, it's not a surprise to see a bit of a pull back today," said Kate Warne, chief investment strategist with Edward Jones.
While the financial sector was weak, shares of big technology companies helped support the market.
Shares of Apple (Fortune 500), for example, hit an all-time high Wednesday -- moving closer to $600. The tech darling was boosted by upbeat comments from Wall Street analysts.,
Overall, analysts say stocks are poised to continue heading higher, as the U.S. economy strengthens and Europe makes progress on its debt problems.
Early Wednesday, European finance ministers formally approved a second package of bailout loans for Greece worth €39.4 billion.
"Everything is clicking right now," said Dan Greenhaus, chief global strategist at BTIG. "The path of least resistance is higher."
Stocks rallied Tuesday after the Fed issued a more upbeat assessment of the economy, and solid retail sales data offset worries about rising gas prices.
Citibank (Fortune 500) and Metlife ( , Fortune 500) were among the banks that would likely need to raise more capital in the event of a severe financial shock or economic downturn, according to the Fed. Shares of both banks fell sharply.,
JPMorgan (Fortune 500) shares gained after the bank announced plans Tuesday to hike its dividend and buy back stock.,
Shares of Goldman Sachs (Fortune 500) were also under pressure Wednesday. A Goldman executive has resigned in a very public manner -- calling the firm "toxic" and disrespectful of its clients in a scathing op-ed piece published in Wednesday's New York Times.,
In the tech sector, shares of semiconductor companies rose after LSI Corp. () reported strong quarterly results and issued an upbeat outlook for the current quarter.
Economy: The U.S. current account deficit for the fourth quarter widened to $124.1 billion, the Commerce Department said. The deficit was expected to stand at $113.8 billion, according to a survey of analysts by Briefing.com.
Trade tensions with China were in the spotlight Tuesday, as President Obama announced that the United States, Japan and Western European countries would file a trade complaint against China over export restrictions on rare earth minerals.
World markets: European stocks closed mixed. The DAX ( ) in Germany added 1.2% and France's CAC 40 ( ) rose 0.4%, while Britain's FTSE 100 ( ) fell 0.2%.
Asian markets also ended mixed. Japan's Nikkei () rose 1.5%, closing above 10,000 for the first time in seven months.
Meanwhile, the Shanghai Composite () declined 2.6% and the Hang Seng ( ) in Hong Kong shed 0.2% after Chinese Premier Wen Jiabao said China will not ease its housing industry curbs.
Oil for April delivery slipped $1.28 to end at $105.43 a barrel.
Gold futures for April delivery fell $51.30 to settle at $1,642.90 an ounce.
Bonds: The price on the benchmark 10-year U.S. Treasury dropped, pushing the yield up to 2.27% from 2.11% late Tuesday.
|What we want Apple to unveil at WWDC|
|Millennials squeezed out of buying a home|
|7 traits the rich have in common|
|Big Data knows you're sick, tired and depressed|
|Your car is a giant computer - and it can be hacked|
|Overnight Avg Rate||Latest||Change||Last Week|
|30 yr fixed||4.20%||4.30%|
|15 yr fixed||3.28%||3.30%|
|30 yr refi||4.18%||4.27%|
|15 yr refi||3.26%||3.27%|
Today's featured rates: