Investors remained wary of the impact of the U.S.-Iran war on oil prices throughout the day.

The Dow recorded its worst week since President Trump unveiled his tariff policy in April.

Stocks reversed course from their lows Monday and closed higher across the board after Trump gave signs that an end may be in sight for the U.S.-Iran war.