In a previous post, we examined how to buy Q shares in the least costly way, assuming we have: i) a maximum price s_bar we’re willing to pay ( s_bar > s_0, the current spot price); ii) an infinite time horizon; and iii) a temporary market impact function that’s linear in the speed of trading (number of shares bought per unit of time). A natural question is what happens if the market impact is, instead, a power function. Can we still explicitly compute the optimal speed of trading?
The answer, as we’ll see below, turns out to be yes. On top of that, there’s a robustness in the result, in that the optimal speed we find is simply a constant times the linear speed. This is due to the homogeneity of the problem (which would no longer hold true if one were to assume, say, a time limit, or other constraints or variations in the objective function).
As usual, the stock’s mid price is denoted by s_t, our “negative inventory” is q_t = Q minus our current inventory (so that we start at q_0 = Q and end up at 0), and our cash account x_t. These stochastic processes satisfy
where σ is the stock’s volatility and δ + f(λ_t) is the temporary market impact function (δ>0 constant), as a function of the speed of selling λ_t. Since we want to buy a fixed number of shares Q, we’ll pay Qδ — a constant— regardless of our trading strategy; therefore we can set δ=0 in the following without loss of generality. We need to maximize our expected PnL
which can be achieved by solving the stationary Hamilton-Jacobi-Bellman problem
where we have penalized the terminal constraint that q = Q minus our inventory be zero (that is, we acquired all the shares we had set to buy) if the stock price reaches our limit s_bar. We’ll make the natural ansatz
for some α>0 to be determined, which allows us to rewrite (3) as
where F(λ) = λf(λ) (and with the same boundary conditions as in (3)), which can be rewritten
where F* is the Legendre-Fenchel transform of F, namely
Let’s now assume that the market impact function is a pure power:
With this choice, F* is given by
so that (6) boils down to
which clearly forces α = a, so that all we need to solve is the following ODE:
It is straightforward to solve (11) by integration (multiply by h’ and integrate twice) to get
In the linear case (a=1), we recover our old friend
(see previous post). Finally, from (7) we can compute the optimal speed of trading (which is the λ=λ* for which the sup is achieved) as
Interestingly, this optimal trading rule is simply a constant times the linear case — due to the homogeneity of the problem. Therefore, it is still, in the nonlinear case, optimal to buy stock at a speed that’s proportional to the remaining inventory to acquire, and inversely proportional to the square distance of the stock price to the limit price.
Quantitatively Yours,

