U.S. stock futures were little changed on Wednesday night after both the S&P 500

and Nasdaq Composite

touched new highs, buoyed by hopes that the U.S. and Iran were closing in on an agreement to end the war.

S&P 500 futures

and Nasdaq 100 futures