Goldman's $1.8bn profit for the first quarter of the year was also overshadowed by its announcement that it planned to issue new stocks to raise $5bn to repay some of the government bailout money it took last year.

In a speech at Georgetown University, Obama gave a cautiously optimistic assessment of the economy ahead, saying that "times are still tough" but that there were "glimmers of hope".

"There is no doubt that times are still tough," Obama said.

"But from where we stand, for the very first time, we are beginning to see glimmers of hope. And beyond that, way off in the distance, we can see a vision of an America's future that is far different than our troubled economic past."

The president said, however, that things may get worse in the months ahead before they get better.

'More pain'

"The severity of this recession will cause more job loss, more foreclosures, and more pain before it ends."

The US president said the US economy may worsen before it improves [AFP]
The speech, in which Obama summarised his administration's economic efforts so far, comes as he nears the symbolic 100-day mark of his presidency, the traditional marker by which new administrations are judged.

Obama also said the country needed to seize the opportunity to rebuild its economy on a stronger foundation, less dependent on a risk-obsessed financial sector and more on clean energy, good education and healthcare costs brought under control.

"We cannot rebuild this economy on the same pile of sand," he said, invoking a biblical reference.

"We must build our house upon a rock. We must lay a new foundation for growth and prosperity, a foundation that will move us from an era of borrow-and-spend to one where we save and invest, where we consume less at home and send more exports abroad."

Obama's message came as his central bank chief, Ben Bernanke, suggested that the recession in the US may at last be bottoming out.

In a speech in Atlanta, the Federal Reserve chairman cited recent data on home and car sales, home building and consumer spending to echo Obama's "glimmer of hope" message that the situation was getting better.