Major US financial markets opened higher after US President Donald Trump announced he was postponing strikes on Iran.