US stocks opened lower as investors consider the impact of a batch of earnings reports and weigh the hope of peace in Iran.