Walmart stock surged as a new CEO takes the helm and on news of a trade deal with India, a key supplier.

Walmart joins a group of mostly technology companies in the $1 trillion market cap club.

The milestone reflects the US retail giant's booming e-commerce business and investors' embrace of its AI investments.