We analyze the problem of an investor who needs to unwind a portfolio in the face of recurring and uncertain liquidity needs, with a model that accounts for both permanent and temporary price impact of trading. We first show that a risk-neutral investor who myopically deleverages his position to...