Optimal execution with liquidity risk in a diffusive order book market
Abstract
We study the optimal order placement strategy with the presence of a liquidity cost. In this problem, a stock trader wishes to clear her large inventory by a predetermined time horizon . A trader uses both limit and market orders, and a large market order faces an adverse price movement caused by the liquidity risk. First, we study a single period model where the trader places a limit order and/or a market order at the beginning. We show the behavior of optimal amount of market order, , and optimal placement of limit order, , under different market conditions. Next, we extend it to a multi-period model, where the trader makes sequential decisions of limit and market orders at multiple time points.
1 Introduction
In general, stock traders often need to handle a large order. Usually, the first step is to split a large order into multiple small orders before placing. This is to reduce the unfavorable price movements to the trader caused by a large order. Selling an asset tends to move the price downward, while buying an asset tends to move the price upward. This effect is often called as a liquidity cost, a price impact, or a market impact. In this paper, we are going to call this as a liquidity cost.
The liquidity cost affects the optimal strategy of traders, since a large initial market order may face a hefty liquidity cost. The optimal execution strategy under a liquidity cost has been studied extensively.
The pioneering work of Bertsimas and Lo [5] and Almgren and Chriss [3] consider a linear impact, such that the liquidity cost is proportional to the number shares of an order. Bank and Baum [4], Çetin et al. [8] , and Frey and Patie [13] investigate deeply on the liquidity cost and additional transient impacts. Obizhaeva and Wang [22] consider a transient (linear) impact additionally. A transient impact is that the impact from a market order is not permanent, but only exists for a short moment and vanishes.
However, Potters and Bouchaud [23], Eisler et al. [11], and Donier [10] empirical showed that the liquidity cost is not linear, but rather concave. Alfonsi et al. [1] , Predoiu et al. [24], Gatheral [14] and Guéant [16], and many others, have proposed extensions or alternatives to Obizhaeva and Wang [22] with a nonlinear liquidity cost.
Furthermore, instead of the exponential decay of the transient impact, more general decay kernels are considered by Alfonsi et al. [2] and Gatheral et al. [15] since the exponential decay is not observed on market data.
When placing orders, the second step for investors is to decide between a market order and a limit order. A market order (MO) is an order to buy/sell an asset at the best available price. Market orders are executed immediately, while the best available price might be affected adversely (liquidity cost). Most studies so far have focused on an execution problem using solely a market order.
A limit order (LO) is an order to buy/sell an asset at a specific price. The price of a limit order is specified by the buyer/seller, but the execution is not guaranteed. A limit order can be cancelled by the buyer/seller before execution.
A limit order book (LOB) collects all quantities and the price of limit orders. The LOB is updated upon execution of market orders, submission of limit orders, or cancellation of pre-existing limit orders.
Recently, more researchers like Jacquier and Liu [19], Alfonsi et al. [1], Guilbaud and Pham [17], Maglaras et al. [21], Cont and Kukanov [9] consider both market orders and limit orders, instead of focusing on the market order only. However, only the best bid or the best ask prices are considered as options.
Cartea et al. [7], Guo et al. [18], Figueroa-López et al. [12] have considered whether placing the limit order deeper in the book could be preferable, which is often called as an optimal placement problem. In [7], the optimal placement problem is studied under a continuous-time model for the mid-price, a mean-reverting process with jumps. [18] investigate the optimal placement problem under a discrete-time model for the level I prices of a LOB. In [12], a problem similar to [18] is studied under a continuous-time model, and shows that there exists an optimal placement policy different from the Level I-II solution of [18].
While [18] and [12] studied the optimal placement behavior with a small size order without a liquidity cost, practically we cannot entirely ignore the liquidity cost. Therefore, in this paper, we solve the optimal execution problem with liquidity cost, while considering both market orders and limit orders as options. For the limit order, the optimal price level is also investigated as in [12]. For the price impact model, we borrow the liquidity risk introduced in [8] but we add the necessary features of LOB.
We first investigate the optimal placement problem under the single-period setting, where the investor can place an order only at the beginning. The investor needs to clear the inventory (of size ) by a certain time horizon . At , the investor decides the quantity of the market order (), and the rest will be placed using the limit order. The price level for the limit order, , is also determined at . At time , any unexecuted limit order is immediately executed using a market order.
Next, we study an analogous problem with a multi-period setting, where the investor makes decisions at multiple time steps, . At each time step, the investor cancels existing un-executed limit orders and place new market and limit orders. At time , similar to single-period setting, any remaining inventory is immediately executed using a market order.
We model the asset price using the Brownian and the geometric Brownian motion, and also model the liquidity cost from the investor’s market order; we use the model derived from [8], but also include the basic feature of Limit Order book. We investigate the behavior of optimal and which maximize the expected cash flow from the order placement.
The rest of the paper is organized as follows. We briefly explain the liquidity risk introduced in [8] in section 2. In section 3, we discuss the optimal execution strategy in one period model. We extend it to a multi-period case in section 4. We conclude in section 5.
2 Liquidity Risk
We recall the concepts introduced in the work of Çetin et al. [8]. We consider a market with a risky asset and a money market account. The risky asset, stock, pays no dividend and we assume that the spot rate of interest is zero, without loss of generality. represents the stock price per share at time that the trader pays/receives for an order of size given the state . A positive order() represents a buy, a negative order () represents a sale, and the zeroth order () corresponds to the marginal trade. For the detailed structure of the supply curve, we refer to Section 2 of Çetin et al. [8].
A trading strategy (portfolio) is a triplet where represents the trader’s aggregate stock holding at time (units of the stock), represents the trader’s aggregate money account position at time (units of money market account), and represents the liquidation time of the stock position. Here, and are predictable and optional processes, respectively, with . A self-financing strategy is a trading strategy where is cadlag if for all , and is cadlag with finite quadratic variation () otherwise, and
(2.1) |
Therefore, it is natural to define the liquidity cost of a self-financing trading strategy by where , and .
A practically important problem of a trader is how to execute a large order in the market with liquidity risk. Guo et al. [18] studied an optimal placement problem under a discrete time setting. Figueroa-Lopez et al. [12] studied an optimal placement problem in continuous time setting, but both studies did not consider the liquidity cost. We plan to study how to place an order using both market and limit orders in a market with liquidity risk.
3 A Single Period Model
3.1 A Diffusive LOB Market
As the first step, let us consider a simple case where the marginal price is a diffusion process. The goal is to sell orders by time horizon . We consider two cases. In a single period case, we will study the optimal placement problem in a single step (decision is made once when ). The trader will use market order and limit order to minimize the utility function (expected cost), which incorporates the execution risk from limit order and liquidity cost from market order. We next extend it to a multi-period case. Then the goal is to use the previous step to build the multiple-period (decision can be made multiple times (), and at each time step the trader place market/limit order.
For the supply curve, we use
and
where is the half of the bid and ask spread, and is the initial market depth at the best bid price. Therefore, the price does not move up to the first shares, then moves down linearly afterward. [6], [8] suggest linear supply curve: For liquid stocks, the supply curve is linear in and for highly illiquid commodities, [6] suggests a jump-linear supply curve. In our work, we apply a linear curve, and just use one since we focus on only one side (sell). Also, we consider the necessary limit order book feature, the market depth .
First, let us consider a single period case. The placement is made only once at time . At time , the trader makes a decision. If a trader sells orders using only a market order at time 0, the trader’s cash flow becomes where is the fee per an executed market order. A more general case is when a trader sells orders using a market order at time 0, and places a sell limit order at the price level , . Any remaining unexecuted orders at time are converted to a market order and are executed immediately with paying the liquidity cost.
Let be the first time that the trader’s limit order becomes the best ask. In other word, is the first time becomes the best ask. Let be the number of executed shares at the price level and denote where is the proportion of the execution.
Notice that even when the trader’s limit order becomes the best ask, there is no guarantee of execution, since there will be orders at the exact same level from other traders too. The trader’s cash flow from the initial market order is . If , no limit order will be executed and all will be put as a market order. Therefore, the expected cash flow from the remaining shares will be When , the expected cash flow from the remaining shares becomes where is the rebate per an executed limit order.
Our goal is to find the optimal which maximizes the expected cash flow
(3.1) |
To do this, we need to calculate the conditional expectation . Since is a function of a Brownian motion, the distribution of is related to the hitting time of a Brownian motion. It is well known that it is obtained by the reflection property of a Brownian motion and its running maximum. That is a common problem especially in a barrier option. It is also known that when is the hitting time of for a standard Brownian motion , , and is its running maximum, we have
and
We will apply this joint distribution to calculate the conditional expectation . It becomes a function of only.
Next two lemmas give us useful equations about expected stock prices and the probability of the limit order execution. Lemma 3.1 describes the expected stock price, which follows a Brownian motion, in two different cases: when the stock price hits a certain price before and when hitting does not happen until . Lemma 3.2 shows analogous expected stock prices when the stock price follows a geometric Brownian motion.
Remark 1.
For the rest of the paper, the pdf, cdf, and survival or tail distribution of a standard normal r.v. are denoted by , . is a standard Brownian motion.
Lemma 3.1.
Let us assume that the price process follows a Brownian motion with drift, . Let Then
The next lemma gives us similar results when the price process is a geometric Brownian motion.
Lemma 3.2.
Let us assume that the price process follows a geometric Brownian motion, . Also, let’s denote . Then
where
Proof.
Let . Then . Let’s denote . From the definition of , note that . Then, we may apply the proof of Lemma 3.1 by using and
First,
Next,
∎
Using Lemma 3.1 , we can calculate the expected cash flow (ECF) for a Brownian motion model. Similarly, the ECF for a geometric Brownian model is explicitly shown in Lemma 3.4 using results from Lemma 3.2.
Remark 2.
For the rest of the paper, we use the following notations:
Lemma 3.3.
Let us assume that the price process follows a Brownian motion, . Then can be summarized as follows:
(3.2) | ||||
Similarly, using Lemma 2, we can calculate the expected cash flow for a geometric Brownian motion model.
Lemma 3.4.
Let us assume that the price process follows geometric Brownian motion, . Then can be summarized as follows:
(3.5) | ||||
where
3.2 case analysis: a constant with a Brownian motion Model
Let us recall that , , where is the proportion of the execution such that . In this subsection, we work on the simple case when is a constant.
Remark 3.
In practical situation, a constant is an unrealistic assumption. A more realistic case for is a random model, such as where follows a normal distribution, which could depend on and . Or, could be a function of flows and time where we understand arrivals of orders as some counting process. However, for simplicity, we consider as a constant in this paper.
In the following Lemma, we introduce the ECF (Expected Cash Flow) function when the price process follows a Brownian motion.
Lemma 3.5.
Let us assume that the price process follows Brownian motion, , where is a standard Brownian motion. When , in (3.2) can be expressed as follows:
where the notations , , are from Remark 2.
Using this Lemma 3.5, we now study the optimal placement strategy. Next two theorems, Theorem 3.6 and Theorem 3.7 give us optimal strategies when and , respectively. We find the optimal , which means that the optimal strategy at time is to place a market order of quantity , and place remaining orders by a limit order at the price of .
Theorem 3.6.
Let be the optimal strategy satisfying
Under the cash flow model from Lemma 3.5, let . Then . The behavior of is as follows:
-
1.
If , .
-
2.
If and ,
-
•
when
-
•
when
-
•
-
3.
If and ,
-
is one of where
Proof.
Part 1: Behavior of : Note that
(3.8) | ||||
(3.9) | ||||
(3.10) |
Part 2: Behavior of : We’ve already shown that when , . Therefore, can be simplified as following:
(3.11) |
where . We will divide the range of to four cases to obtain the expression of and to obtain which maximizes .
-
1.
,
-
In this case, (3.11) becomes a decreasing function of if and increasing function of if . Note that if , for any the conditions (, ) are satisfied. Therefore, if , if and if . This includes the case when : when , , so .
-
2.
(i.e. ),
-
In this case, maximum of (3.11) is obtained at .
-
3.
(i.e. ),
-
In this case, maximum of (3.11) is obtained at .
-
4.
(i.e. ),
-
In this case, maximum of (3.11) is obtained at .
To summarize, when , or depending on the sign of . If not, the maximum will be obtained at one of .
∎


Theorem 3.6 shows that when , , which means that the investor may put a limit order at the best bid price. This is shown in behavior of in the right panel of Figure 1, when . The left panel of Figure 1 describes behavior of , the optimal market order size at . As shown in Theorem 3.6, when when , and for , , and when . The behavior of and when is described in the following Theorem 3.7. In this theorem, we first introduce , the threshold for the time horizon333Note that this work is about single-step. is not the number of the time steps, but it is just the length of time for the single step. such that if the investor’s time horizon is bigger than , then . We also provide lower bound for and stepwise-linear approximation of as a function of .
Theorem 3.7.
Let be defined as in Lemma 3.5. Then, when ,
for . The lower bound of is that
Also, for , as , the first-order approximation for is given as:
where
The details of are given in (3.17). In addition, there exists as follows:
-
1.
If .
-
2.
If , is one of
where
Proof.
Part 1: Behavior of : First, note that as , from (3.8), (3.9), (3.10), . Therefore, . Next, let’s find .
(3.12) | ||||
(3.13) |
Note that (3.12), and (3.13) when
(3.14) |
Note that implies that . Since from the proof of Theorem 3.6 we’ve shown that , , so the lower bound for to satisfy this condition is . (we ignore term since the definition of contains , so it can be correctly computed after we have the value of . )
(3.15) | ||||
(3.16) |
Note that both (3.15), (3.16) are positive. This implies that is a increasing function of , which supports that for such that , for any .
Now, we will use the mean value theorem to show the behavior of when is close to . To this end, the following conditions are necessary: needs to be strictly positive at . , so . Next, since satisfies , and thus, by the Implicit Function Theorem, there exists an open set containing , an open set containing , and a unique continuously differentiable function such that
In particular, as . Furthermore, since , it is clear that is differentiable in a neighborhood of , and, thus, we can apply the mean value theorem to show that there exists such that
Since , are both continuous when , and there is an open set containing such that is strictly negative and, furthermore,
(3.17) |
Remark 4.
Note that contains , which depends on the value of . For the fast approximation, we may use the lower bound of ,
Part 2: Behavior of
Now, to find , let us reorganize as following:
(3.18) |
where
Note that does not depend on m, and since it can be reorganized as
, and . Now, investigate the behavior of (3.18) in different range of to find .
Case 1-1: . In this case, the (3.18) becomes a linear decreasing function of . When , for any this condition is satisfied so .
Case 1-2: In this case, (3.18) attains its maximum at , which is , so in this range (3.18) is a decreasing function of .
Case 2-1: In this case, (3.18) attains its maximum at ,
Case 2-2: In this case, (3.18) attains its maximum at
Case 3:
This condition is contradictory.
Case 4-1:
In this case, (3.18) attains its maximum at
Case 4-2: In this case, (3.18) attains its maximum at
To summarize, when , . If not, the maximum will be obtained at one of .
∎
In Theorem 3.7, we have shown the behavior of and when is positive.












First, let us focus on the behavior of . As shown in the right panel of Figure 1, until reaches a certain positive value (the lower bound is ) and then linearly increases with respect to .
Also, in the right panel of Figure 2 it is observed that until a certain time threshold,, and then increases linearly with respect to .
This complies with the result of Theorem 3.7 that for a big enough . In Theorem 3.7, we have provided the existence of such a threshold, and named the threshold in the time horizon as . We provided the stepwise-linear approximation of as a function of : , the first-order approximation given in Theorem 3.7. These approximations are also found in the right panel of Figure 2. Each is described in solid lines, and the approximation is given in the dashed line using matching colors. Comparing with the result from [12], the blue dotted line in the Right panel of Figure 2 is showing first order Taylor approximation of using Theorem 3.6. of [12]. These approximations of converges close to the actual as . These approximation methods provide the quick computation method that the investor can use to decide the limit order placement based on their time horizon, .
Now, let us focus on the behavior of with various s, the initial market depth. The right panel of Figure 1 shows that increases as increases, but the difference is relatively small for and there is huge difference when . The case of is special since this is only the case when ( in the simulation), which represents the case when the market depth is bigger than the investor’s inventory . In this case, the investor would not fear to put limit orders at the higher level, since even if limit orders do not get executed until time , the market order at time still will be beneficial since there is no impact on the supply curve based on the quantity of the market order size .
Another interesting analysis of is the change of behavior for different s. Figure 3 shows behavior of int he right panel. increases as decreases. Also, recall that there is a lower bound of such that after a certain value of , where the bound is (given in Equation (3.14)), where . Therefore, as increases, the bound also increases, which is observed in Figure 3.
In addition, the behavior of for various values of , the volatility of price process is shown in Figure 4. As increases, after gets bigger than a certain (positive) threshold value, decreases. While for low (positive) , bigger implies a higher chance of the limit order execution. However it is not necessarily true for high , and this explains why decreases as increases for big enough .
Now, let us show the behavior of . Figure 2 shows the behavior of against when . The behavior of follows the result of Theorem 3.7, and it is decreasing as increases. This is because when and increases, the benefit from the limit order increases. When , the probability of limit order execution increases as increases, and even if a limit order is not executed, the expected value of is higher than , so the market order at is less preferred.
The left panel of Figure 5 shows the behavior of against when (top) and (middle) for different ’s. represents the case when the market depth is low (the quantity of limit order on best bid queue when is low). In this case, shows a relatively smooth decreasing trend as increases. For , on the other hand, is still decreasing but there is a sudden drop from to . When the market depth is high, then all the market order is covered by the current existing limit order. In this case, our inventory’s size does not affect the supply curve. In other words, when , the conclusion for and should be the same whether M=1 or M=K-1. So in this case, the investor’s choice comes down to two choices: (just use limit order) and (just use market order).
The behavior of for different s with a fixed is shown in the right panel of Figure 1. , the optimal quantity for the market order, decreases as increases. It is because as increases, there is higher chance of execution and the market order at is more preferred than at . The slope for the decrease gets steeper when , the market depth, increases. This is because the affect of market order size gets smaller as increases.
The change of slope as can be found in Figure 3. When is smaller, the slope is sharper. This is because when gets bigger, the market order size is more affective to the expected cash flow, so the difference in the market order size should be smaller compared to the case of a smaller .
The behavior of for various values of is shown in Figure 4. As increases, it is observed that increases. As described earlier, bigger implies a higher chance of the limit order execution. However it is not necessarily true for a high , and this explains why decreases and increases as increases for a big enough .
While in this paper we didn’t include theorems for the behavior of the optimal placement strategy using a geometric Brownian motion, we have checked that they’re showing a similar behavior as in a Brownian motion model. Bottom two panels of Figure 5 show , which maximize the ECF given in Lemma 3.4. Since for the same price process, and for the geometric Brownian motion model should be smaller than the those for BM, we are using for and range of from to for the geometric Brownian motion model here. Comparing Brownian motion model (middle panels of Figure 5) and geometric Brownian motion model (bottom panels of Figure 5) using same parameters (except and ), and show similar behavior but it is smoother for the geometric Brownian motion model.
To summarize, we have investigated the behavior of optimal (, ) against important LOB features (, , ) and other parameters for price movement such as in a single period model. In the following section, we will extend this investigation into a multiple period model.
4 A Multi-Period Model
In this section, we extend the single-period case to a multi-period case. In the single period case, the investor made a decision only at time and waited until the investor’s time horizon . As a natural extension, now we introduce time steps between time and time . We find the optimal placement strategy at the first step. The difference is that all un-executed orders are not transferred to a market order at the end of the first period. Instead, now we solve a new optimal replacement problem using the remaining order. In other word, the remaining shares after the first period becomes a new for the second period, and so on.
Let us denote the time steps as . At each , the investor is allowed to
-
•
cancel any remaining limit order, (this becomes new remaining inventory, )
-
•
place a market order of size (), or
-
•
place the rest () using limit order at the price of . (: mid-price at time )
Then we define the Multi-period Expected cash flow (MECF) as follows:
For ,
(4.1) |
where the ECF (expected case flow) from the single-period case is in (3.1).
For , we define the expected cash flow as a function of , the number of time steps, , the stock mid-price at time , , the initial limit order placement, , the initial market order quantity, , the inventory, and , the time horizon.
Note that the cash flow at a time step depends only on , and the action at . Given this Markov structure, the optimal placement problem is a Markov decision problem where the expected cost for taking each action at each step can be solved recursively.
(4.2) | ||||
(4.3) | ||||
(4.4) |
The first term of (4.2) is the cash flow from the market order, and the second term of (4.2) is the cash flow from executed limit order (recall that is the amount of executed shares at the price level when , the first time the trader’s limit order becomes the best ask, is less than ). Then, if , the is the remaining inventory for the next time step, as described in (4.3). Otherwise, if , then none of the limit order has been executed until , and the remaining inventory for the next time step is , as in (4.4).
For the dynamic placement problem, at each time step, the investor may update parameters and solve for the optimal placement. In this paper, we focus on solving for and assuming that the parameter remains the same during . At each time step , after updating the parameter, the investor can use the same technique to find the optimal and .
Proposition 4.1.
Let MECF be defined as in (4.1), (4.2) -(4.4). Let us assume that the price process, , follows Brownian motion as in Lemma 3.5 and . Then, MECF(n, S, y, m, M, T) can be summarized as follows:
For ,
For ,
(4.5) |
Proof.
In this theorem we introduced the expression of the Expected Cash flow for the multiple period. Now, let us define the optimal placement for the first time step, ,
(4.6) |
the optimal price level for the limit order placement (the limit order will be placed at ) and the market order quantity , when there are time steps and is the total investment horizon.
Note that the action at each time step , and depends on the state of (remaining inventory and the mid-price at ), so the optimal policy at time , , could be degenerated into . Then, the Dynamic Programming Principle leads to the following backward recursion for the MECF:
Using this Proposition 4.1, we are now going to solve the optimal placement decision at time . Because of the recursive nature of the multiple period, we are interested in analyzing the solution of the first period. Optimal behaviors for the remaining period are updated at next time steps with updated information (parameters), using the same method, sequentially. We now provide analytical results for the optimal behavior. The following theorem gives analytical result for the case when .
Proof.
For , proof is done in Proposition 3.6. Note that , , .
Now, let us prove that for , if and , then and .
To prove this, let us denote
Then, from Eq. (4.7), . We now need to find which maximize .
Let us recall that . Using Lemma 3.1, can be written as
And when we take a derivative with respect to , so .
Now, , which is linearly decreasing when , and when , becomes a second order concave polynomial of which takes its maximum at , so for , is also a decreasing function of . Therefore, is a decreasing function of for , so . Also,
We have proved that that if and , then and . By induction, this proves the theorem. ∎
In Theorem 4.2, we’ve shown the analysis for the case when and , which means that the limit order execution is guaranteed when the price process reaches the price level of the limit order, and the drift is negative. This could represent the liquid market condition. In this case, the optimal strategy is to place all using the limit order at the best ask, and this does not change for the number of time steps.
Now, let us show that for any for the negative drift. Due to the complexity, we’ve proved for the case when .
Proof.
For , recall that
Let us denote
where .
For , let and . MECF can be written as
(4.7) |
By taking derivative with respect to ,
Since first line is negative, if we show that , we can show that the entire expression is negative. The proof follows:
(4.8) |
Let’s denote . Let’s divide into two cases: and .
Case 1, : In this case, , so , therefore
Case 2, :
In this case, , so , therefore
So we proved that , which implies . Therefore, .
∎
Remark 5.
While we’ve only proved for the case for two-period case, appears to be true for all .
Now, let us study what happens to . Let us show the behavior of .
Theorem 4.4.
For defined as in Proposition 4.1, when . For ,
-
1.
If , .
-
2.
If and ,
-
•
when
-
•
when
-
•
-
3.
If and ,
-
is one of where
where and ,
, which can be computed using Theorem 3.6.
Proof.
Note that the MECF for can be written as following, where the notations are borrowed from the proof of Theorem 4.2.
(4.9) |
.
which minimizes actually minimizes the following with respect to :
while the solution for minimizes
with respect to m. Note that , and .
Using the proof of Theorem 3.6. we have
-
1.
If , .
-
2.
If and ,
-
•
when
-
•
when
-
•
-
3.
If and ,
-
is one of where
Remark 6.
Note that , and , which makes , , . From this inequality, it is observed that , the optimal Market Order quantity at time for the two-step case is less than (or equal to ) , the optimal Market Order quantity at time for the one-step case.
∎


Behaviors of (line) and (points) for different values (black: , red: , blue: are described in the right panel of Figure 6. We observe that when , as described in Theorem 4.3. For , it appears that it still increases in a linear (step-wise linear) way, but its slope against is more sensitive to the value of for . More specifically, when , , but when , . This is explained by the chance of the for the single period.
For the single period, when limit orders are not executed, the investor use a market order at time . Then, the expected stock price does not change with respect to , and the change of w.r.t. in the single period is minimal.
However, the (for the single period) changes when changes. When , if the limit order placed at is not executed, then the remaining orders are placed following the algorithm to maximize the ECF of the single period, and that maximum changes with respect to . Therefore, changes more sensitively to the change of than . We observe that when the number of time step increases, the slope change will more various.
The left panel of Figure 6 shows behaviors of and against for different s. It appears that , which implies that the optimal quantity for the market order at time decreases when , number of time step, increases. This is because as n increases, it is better to divide the market order into multiple chunks to reduce the negative impact from the size of the market order. Existence of suggests that placing a smaller amount of a market order twice is better than placing a big amount of at once even though the total MO amount is same.
5 Conclusion
Throughout this paper, we have obtained explicit solutions and approximations for the optimal execution problem under the liquidity cost. First, we have derived the explicit solution for the optimal size of the market order, , for the single order. In addition, the approximation of the optimal price level for the limit order, , has been calculated. The behavior of and have been investigated under various market conditions. Finally, we have extended this problem into multiple-period problem where investors can change their decision at multiple time steps. We have shown the change of the optimal behavior for different number of time steps.
To summarize, we have investigated the behavior of optimal (, ) against important LOB features and other parameters for price movement in single and multiple period models. Instead of modeling the whole LOB movement, we have taken essential features of LOB to simplify the optimization without losing the important traits of LOB.
There are other important features in the Limit Order Book closely related to this paper which have not been studied yet. For instance, the consideration of movement of bid-ask spread, the estimation and the update of parameters, the effect from correlated assets, the realistic diffusive models with jumps, are all worth further development. The models in this study could enlighten such developments.
References
- Alfonsi et al. [2010] A. Alfonsi, A. Fruth, and A. Schied. Optimal execution strategies in limit order books with general shape functions. Quantitative Finance, 10(2):143–157, 2010.
- Alfonsi et al. [2012] A. Alfonsi, A. Schied, and A. Slynko. Order book resilience, price manipulation, and the positive portfolio problem. SIAM Journal on Financial Mathematics, 3(1):511–533, 2012.
- Almgren and Chriss [2001] R. Almgren and N. Chriss. Optimal execution of portfolio transactions. Journal of Risk, 3:5–40, 2001.
- Bank and Baum [2004] P. Bank and D. Baum. Hedging and portfolio optimization in financial markets with a large trader. Mathematical Finance: An International Journal of Mathematics, Statistics and Financial Economics, 14(1):1–18, 2004.
- Bertsimas and Lo [1998] D. Bertsimas and A. W. Lo. Optimal control of execution costs. Journal of Financial Markets, 1(1):1–50, 1998.
- Blais and Protter [2010] M. Blais and P. Protter. An analysis of the supply curve for liquidity risk through book data. International Journal of Theoretical and Applied Finance, 13(06):821–838, 2010.
- Cartea et al. [2014] A. Cartea, S. Jaimungal, and J. Ricci. Buy low, sell high: a high frequency trading perspective. SIAM J. Financ. Math., 5(1):415–444, 2014.
- Çetin et al. [2010] U. Çetin, R. A. Jarrow, and P. Protter. Liquidity risk and arbitrage pricing theory. In Handbook of Quantitative Finance and Risk Management, pages 1007–1024. Springer, 2010.
- Cont and Kukanov [2013] R. Cont and A. Kukanov. Optimal order placement in limit order markets. Available at ssrn 2155218, 2013.
- Donier [2012] J. Donier. Market impact with autocorrelated order flow under perfect competition. Available at SSRN 2191660, 2012.
- Eisler et al. [2012] Z. Eisler, J.-P. Bouchaud, and J. Kockelkoren. The price impact of order book events: market orders, limit orders and cancellations. Quantitative Finance, 12(9):1395–1419, 2012.
- Figueroa-López et al. [2018] J. E. Figueroa-López, H. Lee, and R. Pasupathy. Optimal placement of a small order in a diffusive limit order book. High Frequency, 1(2):87–116, 2018.
- Frey and Patie [2002] R. Frey and P. Patie. Risk management for derivatives in illiquid markets: A simulation study. In Advances in finance and stochastics, pages 137–159. Springer, 2002.
- Gatheral [2010] J. Gatheral. No-dynamic-arbitrage and market impact. Quantitative finance, 10(7):749–759, 2010.
- Gatheral et al. [2012] J. Gatheral, A. Schied, and A. Slynko. Transient linear price impact and fredholm integral equations. Mathematical Finance: An International Journal of Mathematics, Statistics and Financial Economics, 22(3):445–474, 2012.
- Guéant [2015] O. Guéant. Optimal execution and block trade pricing: a general framework. Applied Mathematical Finance, 22(4):336–365, 2015.
- Guilbaud and Pham [2013] F. Guilbaud and H. Pham. Optimal high-frequency trading with limit and market orders. Quantitative Finance, 13(1):79–94, 2013.
- Guo et al. [2016] X. Guo, A. De Larrard, and Z. Ruan. Optimal placement in a limit order book. Mathematics and Financial Economics, 2016.
- Jacquier and Liu [2017] A. Jacquier and H. Liu. Optimal liquidation in a level-i limit order book for large-tick stocks. Preprint. Available at arXiv:1701.01327 [q-fin.TR], 2017.
- Jeanblanc et al. [2009] M. Jeanblanc, M. Yor, and M. Chesney. Mathematical methods for financial markets. Springer, 2009.
- Maglaras et al. [2015] C. Maglaras, C. Moallemi, and H. Zheng. Optimal execution in a limit order book and an associated microstructure market impact model. Preprint available at ssrn 2610808, 2015.
- Obizhaeva and Wang [2013] A. A. Obizhaeva and J. Wang. Optimal trading strategy and supply/demand dynamics. Journal of Financial Markets, 16(1):1–32, 2013.
- Potters and Bouchaud [2003] M. Potters and J.-P. Bouchaud. More statistical properties of order books and price impact. Physica A: Statistical Mechanics and its Applications, 324(1-2):133–140, 2003.
- Predoiu et al. [2011] S. Predoiu, G. Shaikhet, and S. Shreve. Optimal execution in a general one-sided limit-order book. SIAM Journal on Financial Mathematics, 2(1):183–212, 2011.