Dollar slides as US-Iran peace deal sparks risk-on rally