By
The Shanghai Composite Index ended at 2,204.78 after erasing some gains made in morning trading. But the index was down 0.9 percent on the week, declining for a seventh straight week.