When and How to Sell Debt