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 market-impact functions (power laws and logarithmic), and in both cases compute optimal trajectories of the control parameter .