A volatile Wall Street advanced for a second consecutive day on Thursday , as investors found renewed confidence in a report that Bank of America is close to buying the struggling mortgage lender Countrywide Financial .