Dow gains more than 100 points

U.S. stocks ended on a high note Wednesday as investors welcomed comments from President Obama and House Speaker John Boehner on the fiscal cliff negotiations.

The Dow Jones industrial average gained 107 points, or 0.8%. The index was supported by shares of HP(HPQ), which gained nearly 3%. American Express Co(AXP) and Chevron(CVX) were also strong performers, adding about 2%.

Trading has been choppy recently as investors react to political developments in Washington, where lawmakers and the White House have been at loggerheads over a slew of year-end tax increases and spending cuts known as the fiscal cliff.

President Obama renewed his call for Congress to pass a bill he says would provide a tax break for middle-class Americans, saying he's "confident" an agreement to avert the crisis will be reached before Christmas.

Speaking to reporters earlier in the day, Boehner said he's "optimistic" that a compromise will be reached "sooner rather than later." But he added that it's time for Obama and the Democrats "to get serious about the spending problem that our country has."

The fear is that failing to resolve the fiscal cliff before the Jan. 1 deadline could shock the economy and send it back into recession. Investors have been paralyzed by this uncertainty and many expect the stocks to remain volatile for the rest of the year.

On the economic front, the government said October new home sales fell 0.3% from the month before, although sales were up 17.2% versus October of last year.

The Federal Reserve said economic activity across the central bank's 12 districts expanded at a "measured pace" in recent weeks, according to the latest edition of its Beige Book. The report also said contacts in several Fed districts are concerned about the fiscal cliff.

A report in the Wall Street Journal fueled speculation that the Fed could extend its bond-buying program next year to help support the economy.

Meanwhile, gold prices fell sharply as the U.S. dollar strengthened against the euro and the British pound. Oil prices were also pressured by the stronger greenback. In the bond market, yields on U.S. Treasuries moved higher as prices declined.

In corporate news, big box retailer Costco(COST) announced a special dividend, which will pay shareholders a total of $3 billion on Dec. 18. Shares rose 6%.

Costco becomes the latest company to move dividend payments to calendar year 2012 as taxes on payments to shareholders are set to rise on Jan. 1, due to the fiscal cliff. Costco rival Wal-Mart(WMT) is also speeding up those payments.

Shares of Knight Capital(KCG) surged 15% after the troubled broker-dealer received a buyout offer from rival and partial owner Getco.