We study the optimal design of clearing systems. We analyze how counterparty risk should be allocated, whether traders … centralized clearing, as opposed to no or decentralized clearing, is the mutualization of risk. While mutualization fully insures … protection buyers exert effort to find robust counterparties, whose low default risk makes it possible for the clearing system to …