Trump announced the deal not long before a deadline for a Tuesday evening ultimatum for Iran was reached.

The price of oil seesawed in trading in response to U.S. President Donald Trump's imminent threat to obliterate Iranian power plants and bridges.

Earlier, U.S. stocks swung sharply during regular trading as uncertainty about the war with Iran increased after Trump had threatened that a “whole civilization will die tonight."