S&P 500 futures rose while oil prices fell. Corporate earnings and a fragile ceasefire agreement between the U.S. and Iran were in focus.