The California State Teachers Retirement System (CalSTRS) has committed to sell all of its remaining shares in companies that produce coal for power generation by 1 July.