Merton’s portfolio problem including market frictions: A closed-form formula supporting the shadow price approach