US Stocks Extend Rally Despite Mega-Cap Tech Underperformance

Traders work on the floor of the New York Stock Exchange.

Photographer: Michael Nagle/Bloomberg

Key stock indexes erased losses in a broad-based rally Tuesday afternoon.

US stocks gained for a third straight session Tuesday on optimism the US government shutdown is poised to end, even as mega-cap tech shares sank and concerns about lofty valuations persisted.