The mood was buoyant on Wall Street.