The U.S. stock market on Tuesday ended a volatile trading session on a positive note, adding up to 1.9 percent in major stock indices. The Energy, Technology and Communications sectors were the leaders, while the Consumer and Real Estate sectors showed clear weakness.