Updated from 4:05 p.m. EST

Stocks in New York closed near their highs for the day, as early enthusiasm spurred by tech earnings and a rebound in the banks bloomed into a late-day rally.

The

Dow Jones Industrial Average

climbed 279.01, or 3.5%, to 8228.10, and the

S&P 500

added 35.02 points, or 4.4%, to 840.24. The

Nasdaq

rose 66.21 points, or 4.6%, to 1507.07.

Bank of America

(BAC) - Get Report

and

Citigroup

(C) - Get Report

added 31% apiece, with

JP Morgan

(JPM) - Get Report

tacking on 25%. Their reversals led the Dow Wednesday after dragging the market to the worst inauguration-day losses to date a day earlier.

Also at the forefront was

IBM

(IBM) - Get Report

, which added 11.5% to $91.42. The company

reported better-than-expected fourth-quarter profits

, despite missing revenue estimates, and said its full-year profit would exceed estimates as well.

Wall Street, while pleased with that projection, had one eye on the confirmation hearing of Timothy Geithner, President Obama's nominee for Treasury Secretary, as he called for aggressive action to handle the U.S. financial crisis.

"In this crisis, our financial system failed to meet its most basic obligations," said Geithner in his prepared remarks, describing the system as too unstable, fragile, unfair and unjust.

Geithner was questioned on his part in and perception of government actions thus far, his plans, and also his failure to pay tens of thousands of dollars in taxes while an International Monetary Fund official.

"The basic lesson is the failure to appreciate early enough the magnitude of the problem, and the failure to move quickly enough to take the risk the private sector will not take," he said of the government's responsibilities in sustaining stability in financials. Geithner said the president will come before Congress and lay out a comprehensive plan to help stabilize the core of the financial system in the coming weeks.

"The biggest surprise is that it's clear that if there is a plan, he isn't willing to talk about it," said Fred Dickson, DA Davidson chief market analyst. "The Treasury team hasn't formulated the details of a plan yet -- he talks about bringing it back

to Congress in a matter of weeks - but we're looking for something on a time frame of minutes and hours, not days and weeks."

In his first action as Chief Executive, President Obama signed an executive order on ethics that "presents a clean break from business as usual," placing limitations on lobbyists among other things. He's also establishing a new standard of openness through directives on how to interpret the Freedom of Information Act -- "perhaps the most powerful instrument we have of making government honest."

Moreover, President Obama has placed a salary freeze on senior executives, or those making more than $100,000 a year, in his administration, saying "During this period of economic emergency, families are tightening their belts and so should Washington."

As President Obama's team undertook day one in Washington, banking heads gave a vote of confidence to their institutions, and tech earnings gave a bit of confidence to the market.

BofA

insiders

were picking up the bank's shares as they spiraled to their 52-week lows on Tuesday; among them, CEO Kenneth Lewis bought 200,000 shares. Earlier in the month, JPMorgan CEO Jamie Dimon bought 500,000 shares of his firm.

Meanwhile, in addition to IBM in the tech sector,

United Tech

reported that its profit rose 8%, beating analyst estimates by a penny. Shares were down 11 cents to $49.25.

Telecommunications equipment maker

Ericsson

(ERIC) - Get Report

also reported a better-than-expected fourth-quarter profit, although earnings retracted by 31%, and the Swedish company said it plans to cut 5,000 jobs.

Sony

(SNE) - Get Report

reportedly plans to release the nuts and bolts of

its

restructuring plan Wednesday or Thursday, including where the 16,000 full-time and part-time job cuts will be made. Tensions are rising within the electronics company over the plan aimed at cutting billions of yen in costs, the

Financial Times

reports.

Sony shares fell 4.9% to $22.58, while Ericsson added 16.6% to $7.71.

In other headlines Wednesday, mark-to-market losses on investments led

BlackRock

(BLK) - Get Report

to a profit of 40 cents a share for the recent quarter vs. $2.43 a share a year prior, and well below expectations for $1.02 cents a share. BlackRock tacked on 4.9% to $108.50. Bank of America has a 49% stake in the asset manager through its acquisition of Merrill Lynch.

Longer-dated Treasuries were in retreat; the 10-year note was recently down 1 12/32 to yield 2.5%, the 30-year was down 3 26/32, yielding 3.2%.

In commodities, oil prices rose $3.15, to settle at $43.99 on the first day of the March contract.

Gold fell $5.10 to settle at $850.10 an ounce. The dollar was lately weaker against the euro and pound, and stronger vs. the yen.

Stocks overseas were mixed. The FTSE in London and the DAX in Frankfurt flirted with the flatline, after Japan's Nikkei Hong Kong's Hang Seng again ended with losses.