US stocks are rising on the back of a change in focus to corporate earnings reports, and investors remaining hopeful of a near end to the Iran war.