Bank of America reported strong first-quarter results on Tuesday, beating or meeting Wall Street expectations on almost every single metric, while the bank's leader cheered improving economic optimism in the country.

Bank of America's stock rose as much as about 1.5 percent in the premarket but then lost its gains after Goldman Sachs reported disappointing earnings.