U.S. stocks closed up on Friday, with the S&P 500 index marking an increase for the fourth straight week. Five of China’s largest state-owned companies also said that they would delist from the New York Stock Exchange.