Stocks End Near Record High as Nvidia Gains on AI Licensing Deal

The Nvidia headquarters in Santa Clara, California.

Photographer: David Paul Morris/Bloomberg

US stocks wavered near a record high in thin holiday trading as investors shifted attention to a relentless rally in commodities. Nvidia Corp. climbed as analysts viewed a licensing dealBloomberg Terminal with artificial intelligence startup Groq positively.

The S&P 500 finished little changed and the Nasdaq 100 fell 0.1%. Among S&P 500 sectors, materials and tech led gains, while consumer discretionary and energy retreated.