If shorting was losing money all the time it would be illegal end of story but it is not it makes huge sums of money for all the houses off the backs of the retail investors. You think that the brokerages lost money on Sino forest, maybe but the most money was lost by the retail market as per usual. Its legal because it lucrative and semi restricted for use by industry insiders. Its the house's ace in the hole.