Oil prices were higher after an agreement between the U.S. and Iran to halt recent hostilities in the Middle East.