Before revision:  We solve the stochastic equation for two classes of market-impact functions (power laws and logarithmic), and in both cases we compute optimal leverage trajectories .
After revision:  We solve the stochastic equation for two classes of carrying capacity functions (power laws and logarithmic), and in both cases we compute optimal leverage trajectories .