When & How to Sell