This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Optimal execution with liquidity risk in a diffusive order book market

Hyoeun Lee111Department of Statistics, University of Illinois, Email:[email protected] ,  Kiseop Lee222Department of Statistics, Purdue University, Email: [email protected]
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 TT. 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, mm^{*}, and optimal placement of limit order, yy^{*}, 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 MM) by a certain time horizon TT. At t=0t=0, the investor decides the quantity of the market order mm (0mM0\leq m\leq M), and the rest MmM-m will be placed using the limit order. The price level for the limit order, yy, is also determined at t=0t=0. At time TT, 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, {0,T/n,2T/n,T}\{0,T/n,2T/n,\dots T\}. At each time step, the investor cancels existing un-executed limit orders and place new market and limit orders. At time TT, 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 mm^{*} and yy^{*} 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. S(t,x,ω)S(t,x,\omega) represents the stock price per share at time t[0,T]t\in[0,T] that the trader pays/receives for an order of size x𝐑x\in\mathbf{R} given the state ωΩ\omega\in\Omega. A positive order(x>0x>0) represents a buy, a negative order (x<0x<0) represents a sale, and the zeroth order (x=0x=0) 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 ((Xt,Yt:t[0,T]),τ)((X_{t},Y_{t}:t\in[0,T]),\tau) where XtX_{t} represents the trader’s aggregate stock holding at time tt (units of the stock), YtY_{t} represents the trader’s aggregate money account position at time tt (units of money market account), and τ\tau represents the liquidation time of the stock position. Here, XtX_{t} and YtY_{t} are predictable and optional processes, respectively, with X0Y00X_{0-}\equiv Y_{0-}\equiv 0. A self-financing strategy is a trading strategy ((Xt,Yt:t[0,T]),τ)((X_{t},Y_{t}:t\in[0,T]),\tau) where XtX_{t} is cadlag if Sx=0\frac{\partial S}{\partial x}=0 for all tt, and XtX_{t} is cadlag with finite quadratic variation ([X,X]T<[X,X]_{T}<\infty) otherwise, and

Yt\displaystyle Y_{t} =Y0+X0S(0,X0)+0tXu𝑑S(u,0)XtS(t,0)\displaystyle=Y_{0}+X_{0}S(0,X_{0})+\int_{0}^{t}X_{u}dS(u,0)-X_{t}S(t,0)
0utΔXu[S(u,ΔXu)S(u,0)]0tSx(u,0)d[X,X]uc.\displaystyle-\sum_{0\leq u\leq t}\Delta X_{u}[S(u,\Delta X_{u})-S(u,0)]-\int_{0}^{t}\frac{\partial S}{\partial x}(u,0)d[X,X]_{u}^{c}. (2.1)

Therefore, it is natural to define the liquidity cost of a self-financing trading strategy (X,Y,τ)(X,Y,\tau) by Lt=0utΔXu[S(u,ΔXu)S(u,0)]+0tSx(u,0)d[X,X]uc,0<tT,L_{t}=\sum_{0\leq u\leq t}\Delta X_{u}[S(u,\Delta X_{u})-S(u,0)]+\int_{0}^{t}\frac{\partial S}{\partial x}(u,0)d[X,X]_{u}^{c},\quad 0<t\leq T, where L0=0L_{0-}=0, and L0=X0[S(0,X0)S(0,0)]L_{0}=X_{0}[S(0,X_{0})-S(0,0)].

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 S(t,0)S(t,0) is a diffusion process. The goal is to sell MM orders by time horizon TT. 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 t=0t=0). 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 (t=0,t1,,tN=Tt=0,t_{1},\dots,t_{N}=T), and at each time step the trader place market/limit order.

For the supply curve, we use

S(t,x)=S(t,0)dβ(K+x),β>0,x<0,S(t,x)=S(t,0)-d-\beta(K+x)^{-},\,\,\beta>0,\,\,x<0,

and

S(t,0)=S0+μt+σWt,orS(t,0)=S0e(μσ22)t+σWt,S(t,0)=S_{0}+\mu t+\sigma W_{t},\quad\text{or}\quad S(t,0)=S_{0}e^{(\mu-\frac{\sigma^{2}}{2})t+\sigma W_{t}},

where d(>0)d(>0) is the half of the bid and ask spread, and KK is the initial market depth at the best bid price. Therefore, the price does not move up to the first KK shares, then moves down linearly afterward. [6], [8] suggest linear supply curve: For liquid stocks, the supply curve is linear in xx and for highly illiquid commodities, [6] suggests a jump-linear supply curve. In our work, we apply a linear curve, and just use one β\beta since we focus on only one side (sell). Also, we consider the necessary limit order book feature, the market depth KK.

First, let us consider a single period case. The placement is made only once at time 0. At time 0, the trader makes a decision. If a trader sells MM orders using only a market order at time 0, the trader’s cash flow becomes M(S(0,M)f)M*(S(0,-M)-f) where ff is the fee per an executed market order. A more general case is when a trader sells mm orders using a market order at time 0, and places a MmM-m sell limit order at the price level S(0,0)+yS(0,0)+y, ydy\geq d. Any remaining unexecuted orders at time TT are converted to a market order and are executed immediately with paying the liquidity cost.

Let τ\tau be the first time that the trader’s limit order becomes the best ask. In other word, τ\tau is the first time S(0,0)+yS(0,0)+y becomes the best ask. Let LL be the number of executed shares at the price level S(0,0)+yS(0,0)+y and denote L=(Mm)ρL=(M-m)\rho where ρ\rho 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 m(S(0,m)f)m*(S(0,-m)-f). If τ>T\tau>T, no limit order will be executed and all will be put as a market order. Therefore, the expected cash flow from the remaining MmM-m shares will be (Mm)E(S(T,(Mm))f|τ>T).(M-m)E(S(T,-(M-m))-f|\tau>T). When τ<T\tau<T, the expected cash flow from the remaining MmM-m shares becomes E(L(S(0,0)+y+r))+E((MmL)(S(T,(Mm))f)|τ<T),E(L(S({0},0)+y+r))+E((M-m-L)(S(T,-(M-m))-f)|\tau<T), where rr is the rebate per an executed limit order.

Our goal is to find the optimal (m,y)(m,y) which maximizes the expected cash flow

m(S(0,m)f)+(Mm)E(S(T,(Mm))f|τ>T)P(τ>T)\displaystyle m(S(0,-m)-f)+(M-m)E(S(T,-(M-m))-f|\tau>T)P(\tau>T)
+{E(L(S(0,0)+y+r))+E((MmL)(S(T,(MmL))f)|τ<T)}P(τ<T).\displaystyle+\{E(L(S(0,0)+y+r))+E((M-m-L)(S(T,-(M-m-L))-f)|\tau<T)\}P(\tau<T). (3.1)

To do this, we need to calculate the conditional expectation E(S(T,0)|τ<T)E(S(T,0)|\tau<T). Since S(t,0)S(t,0) is a function of a Brownian motion, the distribution of τ\tau 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 τa\tau_{a} is the hitting time of aa for a standard Brownian motion BtB_{t}, 0<ba0<b\leq a, and MtM_{t} is its running maximum, we have

P(BT<b|τa<T)=P(BT>a+(ab)|τa<T),P(B_{T}<b|\tau_{a}<T)=P(B_{T}>a+(a-b)|\tau_{a}<T),

and

P(MTa,BT<b)=P(MTa,BT>2ab).P(M_{T}\geq a,\,B_{T}<b)=P(M_{T}\geq a,\,B_{T}>2a-b).

We will apply this joint distribution to calculate the conditional expectation E(S(T,0)|τ<T)E(S(T,0)|\tau<T). It becomes a function of yy 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 tt and when hitting does not happen until tt. 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. ZZ are denoted by ϕ(z)=ez2/2/2π\phi(z)=e^{-z^{2}/2}/\sqrt{2\pi}, N(z)=zϕ(x)𝑑xN(z)=\int_{-\infty}^{z}\phi(x)dx. BtB_{t} is a standard Brownian motion.

Lemma 3.1.

Let us assume that the price process follows a Brownian motion with drift, S(t,0)=S(0,0)+μt+σBtS(t,0)=S(0,0)+\mu t+\sigma B_{t}. Let τy:=infu{S(u,0)+d=S(0,0)+y}.\tau_{y}:=\inf_{u}\{S(u,0)+d=S(0,0)+y\}. Then

P(τy>t)=\displaystyle P(\tau_{y}>t)= N((yd)μtσt)e2(yd)μσ2N((yd)μtσt),\displaystyle N\left(\frac{(y-d)-\mu t}{\sigma\sqrt{t}}\right)-e^{\frac{2(y-d)\mu}{\sigma^{2}}}N\left(\frac{-(y-d)-\mu t}{\sigma\sqrt{t}}\right),
E[(S(t,0)S(0,0))(τy>t)]=\displaystyle E[(S(t,0)-S(0,0))\mathcal{I}(\tau_{y}>t)]= μtN(ydμtσt)+e2(yd)μσ2(2(yd)μt)N((yd)μtσt),\displaystyle\mu tN\left(\frac{y-d-\mu t}{\sigma\sqrt{t}}\right)+e^{\frac{2(y-d)\mu}{\sigma^{2}}}(-2(y-d)-\mu t)N\left(\frac{-(y-d)-\mu t}{\sigma\sqrt{t}}\right),
E[(S(t,0)S(0,0))(τy<t)]=\displaystyle E[(S(t,0)-S(0,0))\mathcal{I}(\tau_{y}<t)]= μtN((yd)+μtσt)+e2(yd)μσ2(2(yd)+μt)N((yd)μtσt).\displaystyle\mu tN\left(\frac{-(y-d)+\mu t}{\sigma\sqrt{t}}\right)+e^{\frac{2(y-d)\mu}{\sigma^{2}}}(2(y-d)+\mu t)N\left(\frac{-(y-d)-\mu t}{\sigma\sqrt{t}}\right).
Proof.

Let Mt:=maxutS(u,0)S(0,0)M_{t}:=\max\limits_{u\leq t}S(u,0)-S(0,0). From the definition of τy\tau_{y}, {τy>t}={Mtyd}\{\tau_{y}>t\}=\{M_{t}\leq y-d\}. From Jeanblanc et al. [20], note that

P((S(t,0)S(0,0))dz,Mta)=ϕ(zμtσt)1σte2μaϕ(z2aμtσt).P((S(t,0)-S(0,0))\in dz,M_{t}\leq a)=\phi\left(\frac{z-\mu t}{\sigma\sqrt{t}}\right)\frac{1}{\sigma\sqrt{t}}-e^{2\mu a}\phi\left(\frac{z-2a-\mu t}{\sigma\sqrt{t}}\right).

Then

P(τy>t)=P(Mtyd)\displaystyle P(\tau_{y}>t)=P(M_{t}\leq y-d) =(yd)ϕ(zμtσt)1σte2μ(yd)ϕ(z2(yd)μtσt)dz\displaystyle=\int_{-\infty}^{(y-d)}\phi\left(\frac{z-\mu t}{\sigma\sqrt{t}}\right)\frac{1}{\sigma\sqrt{t}}-e^{2\mu(y-d)}\phi\left(\frac{z-2(y-d)-\mu t}{\sigma\sqrt{t}}\right)dz
=N((yd)μtσt)e2(yd)μσ2N((yd)μtσt).\displaystyle=N\left(\frac{(y-d)-\mu t}{\sigma\sqrt{t}}\right)-e^{\frac{2(y-d)\mu}{\sigma^{2}}}N\left(\frac{-(y-d)-\mu t}{\sigma\sqrt{t}}\right).

Next,

E[(S(t,0)\displaystyle E[(S(t,0) S(0,0))(τy>t)]=E[(S(t,0)S(0,0))(Mt(yd))]\displaystyle-S(0,0))\mathcal{I}(\tau_{y}>t)]=E[(S(t,0)-S(0,0))\mathcal{I}(M_{t}\leq(y-d))]
=\displaystyle= (yd)zP((S(t,0)S(0,0))dz,Mt(yd))\displaystyle\int_{-\infty}^{(y-d)}zP((S(t,0)-S(0,0))\in dz,M_{t}\leq(y-d))
=\displaystyle= (yd)zϕ(zμtσt)1σte2μ(yd)ϕ(z2(yd)μtσt)dz\displaystyle\int_{-\infty}^{(y-d)}z\phi\left(\frac{z-\mu t}{\sigma\sqrt{t}}\right)\frac{1}{\sigma\sqrt{t}}-e^{2\mu(y-d)}\phi\left(\frac{z-2(y-d)-\mu t}{\sigma\sqrt{t}}\right)dz
=\displaystyle= μtN(ydμtσt)+e2(yd)μσ2(2(yd)μt)N((yd)μtσt).\displaystyle\mu tN\left(\frac{y-d-\mu t}{\sigma\sqrt{t}}\right)+e^{\frac{2(y-d)\mu}{\sigma^{2}}}(-2(y-d)-\mu t)N\left(\frac{-(y-d)-\mu t}{\sigma\sqrt{t}}\right).

Finally,

E[(S(t,0)S(0,0))(τy<t)]\displaystyle E[(S(t,0)-S(0,0))\mathcal{I}(\tau_{y}<t)] =E[(S(t,0)S(0,0))]E[(S(t,0)S(0,0))(τy>t)]\displaystyle=E[(S(t,0)-S(0,0))]-E[(S(t,0)-S(0,0))\mathcal{I}(\tau_{y}>t)]
=μtE[(S(t,0)S(0,0))(τy>t)]\displaystyle=\mu t-E[(S(t,0)-S(0,0))\mathcal{I}(\tau_{y}>t)]
=μtN((yd)+μtσt)+e2(yd)μσ2(2(yd)+μt)N((yd)μtσt).\displaystyle=\mu tN\left(\frac{-(y-d)+\mu t}{\sigma\sqrt{t}}\right)+e^{\frac{2(y-d)\mu}{\sigma^{2}}}(2(y-d)+\mu t)N\left(\frac{-(y-d)-\mu t}{\sigma\sqrt{t}}\right).

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, dS(t,0)=μS(t,0)dt+σS(t,0)dBtdS(t,0)=\mu S(t,0)dt+\sigma S(t,0)dB_{t}. Also, let’s denote τy:=infu{S(u,0)=S(0,0)+yd}\tau_{y}:=\inf_{u}\{S(u,0)=S(0,0)+y-d\}. Then

P(τy>t)=\displaystyle P(\tau_{y}>t)= N(aμt+σ2/2σt)e2aμσ2aN(aμt+σ2t/2σt),\displaystyle N\left(\frac{a-\mu t+\sigma^{2}/2}{\sigma\sqrt{t}}\right)-e^{\frac{2a\mu}{\sigma^{2}}-a}N\left(\frac{-a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right),
E[S(t,0)(τy>t)]=\displaystyle E[S(t,0)\mathcal{I}(\tau_{y}>t)]= S(0,0)(eμtN(aμt+σ2t/2σt)e2aμσ2+μt+aN(aμt+σ2t/2σt)),\displaystyle S(0,0)\left(e^{\mu t}N\left(\frac{a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right)-e^{\frac{2a\mu}{\sigma^{2}}+\mu t+a}N\left(\frac{-a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right)\right),
E[S(t,0)(τy<t)]=\displaystyle E[S(t,0)\mathcal{I}(\tau_{y}<t)]= S(0,0)(eμtN(a+μtσ2t/2σt)+e2aμσ2+μt+aN(aμt+σ2t/2σt)).\displaystyle S(0,0)\left(e^{\mu t}N\left(\frac{-a+\mu t-\sigma^{2}t/2}{\sigma\sqrt{t}}\right)+e^{\frac{2a\mu}{\sigma^{2}}+\mu t+a}N\left(\frac{-a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right)\right).

where

a:=ln((S(0,0)+yd)S(0,0)).a:=\ln\left(\frac{(S(0,0)+y-d)}{S(0,0)}\right).
Proof.

Let Xt=ln(S(t,0)/S(0,0))X_{t}=\ln(S(t,0)/S(0,0)). Then Xt=(μσ2/2)t+σBtX_{t}=(\mu-\sigma^{2}/2)t+\sigma B_{t}. Let’s denote Mt:=maxutXuM_{t}:=\max\limits_{u\leq t}X_{u}. From the definition of τy\tau_{y}, note that {τy>t}={Mtln((S(0,0)+yd)S(0,0))}\{\tau_{y}>t\}=\{{M_{t}}\leq\ln\left(\frac{(S(0,0)+y-d)}{S(0,0)}\right)\}. Then, we may apply the proof of Lemma 3.1 by using a=ln((S(0,0)+yd)S(0,0))a=\ln\left(\frac{(S(0,0)+y-d)}{S(0,0)}\right) and P(Xtdz,Mta)=ϕ(z(μσ22)tσt)1σte2(μσ22)aϕ(z2a(μσ22)tσt).P(X_{t}\in dz,M_{t}\leq a)=\phi\left(\frac{z-(\mu-\frac{\sigma^{2}}{2})t}{\sigma\sqrt{t}}\right)\frac{1}{\sigma\sqrt{t}}-e^{2(\mu-\frac{\sigma^{2}}{2})a}\phi\left(\frac{z-2a-(\mu-\frac{\sigma^{2}}{2})t}{\sigma\sqrt{t}}\right).

First,

P(τy>t)=P(Mta)\displaystyle P(\tau_{y}>t)=P(M_{t}\leq a) =aϕ(z(μσ22)tσt)1σte2(μσ22)aϕ(z2a(μσ22)tσt)dz\displaystyle=\int_{-\infty}^{a}\phi\left(\frac{z-(\mu-\frac{\sigma^{2}}{2})t}{\sigma\sqrt{t}}\right)\frac{1}{\sigma\sqrt{t}}-e^{2(\mu-\frac{\sigma^{2}}{2})a}\phi\left(\frac{z-2a-(\mu-\frac{\sigma^{2}}{2})t}{\sigma\sqrt{t}}\right)dz
=N(aμt+σ2/2σt)e2aμσ2aN(aμt+σ2t/2σt)\displaystyle=N\left(\frac{a-\mu t+\sigma^{2}/2}{\sigma\sqrt{t}}\right)-e^{\frac{2a\mu}{\sigma^{2}}-a}N\left(\frac{-a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right)

Next,

E[S(t,0)S(0,0)(τy>t)]\displaystyle E\left[\frac{S(t,0)}{S(0,0)}\mathcal{I}(\tau_{y}>t)\right] =E[eXt(Mta)]=aezP(Xtdz,Mta)\displaystyle=E[e^{X_{t}}\mathcal{I}(M_{t}\leq a)]=\int_{-\infty}^{a}e^{z}P(X_{t}\in dz,M_{t}\leq a)
=(eμtN(aμt+σ2t/2σt)e2aμσ2+μt+aN(aμt+σ2t/2σt)),\displaystyle=\left(e^{\mu t}N\left(\frac{a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right)-e^{\frac{2a\mu}{\sigma^{2}}+\mu t+a}N\left(\frac{-a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right)\right),
E[S(t,0)S(0,0)(τy<t)]\displaystyle E\left[\frac{S(t,0)}{S(0,0)}\mathcal{I}(\tau_{y}<t)\right] =E[eXt]E[eXt(Mta)]\displaystyle=E[e^{X_{t}}]-E[e^{X_{t}}\mathcal{I}(M_{t}\leq a)]
=eμt(eμtN(aμt+σ2t/2σt)e2aμσ2+μt+aN(aμt+σ2t/2σt))\displaystyle=e^{\mu t}-\left(e^{\mu t}N\left(\frac{a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right)-e^{\frac{2a\mu}{\sigma^{2}}+\mu t+a}N\left(\frac{-a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right)\right)
=(eμtN(a+μtσ2t/2σt)+e2aμσ2+μt+aN(aμt+σ2t/2σt)).\displaystyle=\left(e^{\mu t}N\left(\frac{-a+\mu t-\sigma^{2}t/2}{\sigma\sqrt{t}}\right)+e^{\frac{2a\mu}{\sigma^{2}}+\mu t+a}N\left(\frac{-a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}}\right)\right).

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:

αt=yd+μtσt,βt=ydμtσt,N~(αt)=e2(yd)μ/σ2N(αt),ϵ0=(N(βT)N~(αT)).\alpha_{t}=\frac{y-d+\mu t}{\sigma\sqrt{t}},\quad\beta_{t}=\frac{y-d-\mu t}{\sigma\sqrt{t}},\quad\tilde{N}(-\alpha_{t})=e^{2(y-d)\mu/\sigma^{2}}N(-\alpha_{t}),\quad\epsilon_{0}=\left(N\left(\beta_{T}\right)-\tilde{N}\left(-\alpha_{T}\right)\right).
Lemma 3.3.

Let us assume that the price process follows a Brownian motion, S(t,0)=S(0,0)+μt+σBtS(t,0)=S(0,0)+\mu t+\sigma B_{t}. Then ECF(y,m)ECF(y,m) can be summarized as follows:

ECF(y,m)\displaystyle ECF(y,m) =MS(0,0)+m(dβ(Km)f)\displaystyle=MS(0,0)+m(-d-\beta(K-m)^{-}-f) (3.2)
+(Mm){μTN(βT)(2(yd)+μT)N~(αT)+ϵ0(dβ(KM+m)f)}\displaystyle+(M-m)\left\{\mu TN(\beta_{T})-(2(y-d)+\mu T)\tilde{N}(-\alpha_{T})+\epsilon_{0}(-d-\beta(K-M+m)^{-}-f)\right\}
+(1ϵ0)(E[L](y+r)E[(MmL)(d+β(KM+m+L)+f)])\displaystyle+\left(1-\epsilon_{0}\right)\left(E[L](y+r)-E[(M-m-L)(d+\beta(K-M+m+L)^{-}+f)]\right)
+(MmE[L])(μTN(βT)+(2(yd)+μT)N~(αT)).\displaystyle+(M-m-E[L])\left(\mu TN\left(-\beta_{T}\right)+(2(y-d)+\mu T)\tilde{N}(-\alpha_{T})\right).
Proof.

By definition of S(t,m)S(t,-m), ECF(y,m)ECF(y,m) can be rewritten as follows:

ECF(y,m)\displaystyle ECF(y,m) =m(S0dβ(Km)f)\displaystyle=m(S_{0}-d-\beta(K-m)^{-}-f) (3.3)
+(Mm){E[S(T,0)(τ>T)]+P(τ>T)(dβ(KM+m)f)}\displaystyle+(M-m)\left\{E[S(T,0)\mathcal{I}(\tau>T)]+P(\tau>T)(-d-\beta(K-M+m)^{-}-f)\right\}
+E[L](S(0,0)+y+r)P(τ<T)E[(MmL)(d+β(KM+m+L)+f)]P(τ<T)\displaystyle+E[L](S(0,0)+y+r)P(\tau<T)-E[(M-m-L)(d+\beta(K-M+m+L)^{-}+f)]P(\tau<T)
+E[(MmL)]E[(S(T,0)(τ<T)].\displaystyle+E[(M-m-L)]E[(S(T,0)\mathcal{I}(\tau<T)].

From Lemma 3.1, note that

E[S(t,0)(τ>t)]\displaystyle E[S(t,0)\mathcal{I}(\tau>t)] =S(0,0)P(τ>t)+μtN(βt)(2(yd)+μt)N~(αt),\displaystyle=S(0,0)P(\tau>t)+\mu tN\left(\beta_{t}\right)-(2(y-d)+\mu t)\tilde{N}(-\alpha_{t}), (3.4)
E[S(t,0)(τ<t)]\displaystyle E[S(t,0)\mathcal{I}(\tau<t)] =S(0,0)P(τ<t)+μtN(βt)+(2(yd)+μt)N~(αt),\displaystyle=S(0,0)P(\tau<t)+\mu tN\left(-\beta_{t}\right)+(2(y-d)+\mu t)\tilde{N}(-\alpha_{t}),
P(τ>t)\displaystyle P(\tau>t) =N(βt)N~(αt).\displaystyle=N(\beta_{t})-\tilde{N}(-\alpha_{t}).

Then, by plugging expressions in (3.4) into (3.3), we have the final expression as in (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, dSt=μStdt+σStdBtdS_{t}=\mu S_{t}dt+\sigma S_{t}dB_{t}. Then ECF(y,m)ECF(y,m) can be summarized as follows:

ECF(y,m)\displaystyle ECF(y,m) =m(S0dβ(Km)f)\displaystyle=m(S_{0}-d-\beta(K-m)^{-}-f) (3.5)
+(Mm){S0(eμTN(β~T)N~(α~T))+(N(β~T)N~(α~T))(dβ(KM+m)f)}\displaystyle+(M-m)\left\{S_{0}\left(e^{\mu T}N\left(\tilde{\beta}_{T}\right)-\tilde{N}\left(-\tilde{\alpha}_{T}\right)\right)+(N\left(\tilde{\beta}_{T}\right)-\tilde{N}\left(-\tilde{\alpha}_{T}\right))(-d-\beta(K-M+m)^{-}-f)\right\}
+E[L](S(0,0)+y+r)(N(β~T)+N~(α~T))\displaystyle+E[L](S(0,0)+y+r)\left(N\left(-\tilde{\beta}_{T}\right)+\tilde{N}\left(-\tilde{\alpha}_{T}\right)\right)
E[(MmL)(d+β(KM+m+L)+f)](N(β~T)+N~(α~T))\displaystyle-E[(M-m-L)(d+\beta(K-M+m+L)^{-}+f)]\left(N\left(-\tilde{\beta}_{T}\right)+\tilde{N}\left(-\tilde{\alpha}_{T}\right)\right)
+E[(MmL)]S0(eμTN(β~T)+N~(α~T)),\displaystyle+E[(M-m-L)]S_{0}\left(e^{\mu T}N\left(-\tilde{\beta}_{T}\right)+\tilde{N}\left(-\tilde{\alpha}_{T}\right)\right),

where

a:=ln((S0+yd)S0),α~t=a+μtσ2t/2σt,β~t=aμt+σ2t/2σt,N~(α~t)=e2aμσ2+μt+aN(α~t).a:=\ln\left(\frac{(S_{0}+y-d)}{S_{0}}\right),\quad\tilde{\alpha}_{t}=\frac{a+\mu t-\sigma^{2}t/2}{\sigma\sqrt{t}},\quad\tilde{\beta}_{t}=\frac{a-\mu t+\sigma^{2}t/2}{\sigma\sqrt{t}},\quad\tilde{N}(-\tilde{\alpha}_{t})=e^{\frac{2a\mu}{\sigma^{2}}+\mu t+a}N(-\tilde{\alpha}_{t}).
Proof.

By definition of S(t,m)S(t,-m), ECF(y,m)ECF(y,m) can be rewritten as follows:

ECF(y,m)\displaystyle ECF(y,m) =m(S0dβ(Km)f)\displaystyle=m(S_{0}-d-\beta(K-m)^{-}-f) (3.6)
+(Mm){E[S(T,0)(τ>T)]+P(τ>T)(dβ(KM+m)f)}\displaystyle+(M-m)\left\{E[S(T,0)\mathcal{I}(\tau>T)]+P(\tau>T)(-d-\beta(K-M+m)^{-}-f)\right\}
+E[L](S(0,0)+y+r)P(τ<T)E[(MmL)(d+β(KM+m+L)+f)]P(τ<T)\displaystyle+E[L](S(0,0)+y+r)P(\tau<T)-E[(M-m-L)(d+\beta(K-M+m+L)^{-}+f)]P(\tau<T)
+E[(MmL)]E[(S(T,0)(τ<T)].\displaystyle+E[(M-m-L)]E[(S(T,0)\mathcal{I}(\tau<T)].

From Lemma 3.2, note that

E[S(T,0)(τ>T)]\displaystyle E[S(T,0)\mathcal{I}(\tau>T)] =S0(eμTN(β~T)N~(α~T)),\displaystyle=S_{0}\left(e^{\mu T}N\left(\tilde{\beta}_{T}\right)-\tilde{N}\left(-\tilde{\alpha}_{T}\right)\right), (3.7)
E[S(T,0)(τ<T)]\displaystyle E[S(T,0)\mathcal{I}(\tau<T)] =S0(eμTN(β~T)+N~(α~T)),\displaystyle=S_{0}\left(e^{\mu T}N\left(-\tilde{\beta}_{T}\right)+\tilde{N}\left(-\tilde{\alpha}_{T}\right)\right),
P(τ>T)\displaystyle P(\tau>T) =N(β~T)N~(α~T),\displaystyle=N\left(\tilde{\beta}_{T}\right)-\tilde{N}\left(-\tilde{\alpha}_{T}\right),

Then, by plugging expressions in (3.7) into (3.6), we have the final expression as in (3.5).

3.2 case analysis: a constant ρ\rho with a Brownian motion Model

Let us recall that L=(Mm)ρL=(M-m)\rho , ρ[0,1]\rho\in[0,1], where ρ\rho is the proportion of the execution such that L=(Mm)ρL=(M-m)\rho. In this subsection, we work on the simple case when ρ\rho is a constant.

Remark 3.

In practical situation, a constant ρ\rho is an unrealistic assumption. A more realistic case for ρ\rho is a random model, such as ρ=12+2πarctan(X)\rho=\frac{1}{2}+\frac{2}{\pi}\arctan(X) where XX follows a normal distribution, which could depend on yy and mm. Or, ρ\rho could be a function of flows and time where we understand arrivals of orders as some counting process. However, for simplicity, we consider ρ\rho 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, S(t,0)=S(0,0)+μt+σBtS(t,0)=S(0,0)+\mu t+\sigma B_{t}, where BtB_{t} is a standard Brownian motion. When L=(Mm)ρL=(M-m)\rho , ECF(y,m)ECF(y,m) in (3.2) can be expressed as follows:

ECF(y,m)=\displaystyle ECF(y,m)= M(S02ρ(yd)N~(αT)(d+fμT)(1ρ+ρϵ0)+(1ϵ0)ρ(y+r))\displaystyle M\left(S_{0}-2\rho(y-d)\tilde{N}(-\alpha_{T})-(d+f-\mu{T})(1-\rho+\rho\epsilon_{0})+(1-\epsilon_{0})\rho(y+r)\right)
m(ρ(1ϵ0)(d+f+y+r)2ρ(yd)N~(αT)+μT(1ρ+ρϵ0))\displaystyle-m\left(\rho(1-\epsilon_{0})(d+f+y+r)-2\rho(y-d)\tilde{N}(-\alpha_{T})+\mu{T}(1-\rho+\rho\epsilon_{0})\right)
β[m(Km)+(Mm)(ϵ0(KM+m)+(1ϵ0)(1ρ)(K(Mm)(1ρ)))],\displaystyle-\beta\left[m(K-m)^{-}+(M-m)\left(\epsilon_{0}(K-M+m)^{-}+(1-\epsilon_{0})(1-\rho)(K-(M-m)(1-\rho))^{-}\right)\right],

where the notations αT\alpha_{T}, βT\beta_{T}, ϵ0\epsilon_{0} are from Remark 2.

Proof.

This result is from the equation (3.2) of Lemma 3.3 with L=(Mm)ρL=(M-m)\rho.

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 μ<0\mu<0 and μ>0\mu>0, respectively. We find the optimal (y,m)(y^{*},m^{*}), which means that the optimal strategy at time 0 is to place a market order of quantity mm^{*}, and place remaining MmM-m^{*} orders by a limit order at the price of S(0,0)+yS(0,0)+y^{*}.

Theorem 3.6.

Let (y,m)(y^{*},m^{*}) be the optimal strategy satisfying

ECF(y,m)ECF(y,m)y>0,0mM.ECF(y^{*},m^{*})\geq ECF(y,m)\quad\forall y>0,\quad 0\leq m\leq M.

Under the cash flow model from Lemma 3.5, let μ<0\mu<0. Then y=dy^{*}=d. The behavior of mm^{*} is as follows:

  1. 1.

    If ρ=1\rho=1, m=0m^{*}=0.

  2. 2.

    If ρ<1\rho<1 and KMK\geq M,

    • m=0m^{*}=0 when ρ(2d+r+f)+μt(1ρ)>0\rho(2d+r+f)+\mu t(1-\rho)>0

    • m=Mm^{*}=M when ρ(2d+r+f)+μt(1ρ)<0\rho(2d+r+f)+\mu t(1-\rho)<0

  3. 3.

    If ρ<1\rho<1 and K<MK<M,

  4. mm^{*} is one of {0,K,MK/(1ρ),M,m1,m2,m3}\{0,K,M-K/(1-\rho),M,m^{*}_{1},m^{*}_{2},m^{*}_{3}\} where

m1=K/2ϵ3/2β,m2=MK2(1ρ)ϵ32(1ρ)2β,m3=2Mβ(1ρ)2+βρKϵ32β(1+(1ρ)2),m^{*}_{1}=K/2-\epsilon_{3}/2\beta,\quad m^{*}_{2}=M-\frac{K}{2(1-\rho)}-\frac{\epsilon_{3}}{2(1-\rho)^{2}\beta},\quad m^{*}_{3}=\frac{2M\beta(1-\rho)^{2}+\beta\rho K-\epsilon_{3}}{2\beta(1+(1-\rho)^{2})},
ϵ3:=ρ(2d+r+f)+μt(1ρ).\epsilon_{3}:=\rho(2d+r+f)+\mu t(1-\rho).
Proof.

Part 1: Behavior of yy^{*}: Note that

ECFy(Mm)\displaystyle\frac{\frac{\partial ECF}{\partial y}}{(M-m)} =ρ(N(βt)N~(αt))\displaystyle=\rho(N(-\beta_{t})-\tilde{N}(-\alpha_{t})) (3.8)
+2e2(yd)μσ2σt(ϕ(αt)αtN(αt))(ρ(2d+f+rμt)+βγ)\displaystyle+\frac{2e^{\frac{2(y-d)\mu}{\sigma^{2}}}}{\sigma\sqrt{t}}\left(\phi(\alpha_{t})-\alpha_{t}N(-\alpha_{t})\right)\left(-\rho(2d+f+r-\mu t)+\beta\gamma\right) (3.9)
+N~(αt)2(yd)σ2t(ρ(2d+f+r)+βγ)\displaystyle+\tilde{N}(-\alpha_{t})\frac{2(y-d)}{\sigma^{2}t}\left(-\rho(2d+f+r)+\beta\gamma\right) (3.10)
γ:=min(KM+m,0)(1ρ)min(K(Mm)(1ρ),0)(note:γ<0)\gamma:=\min(K-M+m,0)-(1-\rho)\min(K-(M-m)(1-\rho),0)\quad\quad(note:\gamma<0)

When μ<0\mu<0, all three lines (3.8), (3.9), (3.10) are negative, so y=dy^{*}=d.

Part 2: Behavior of mm^{*}: We’ve already shown that when μ<0\mu<0, y=dy^{*}=d. Therefore, ECF(y=y,m)ECF(y=y^{*},m) can be simplified as following:

ECF(y=d,m)=M(S0+ρ(d+r)(1ρ)(d+fμt))mϵ3+mβmin(Km,0)+β(Mm)(1ρ)min(K(Mm)(1ρ),0),\displaystyle\begin{aligned} ECF(y=d,m)=&M(S_{0}+\rho(d+r)-(1-\rho)(d+f-\mu t))-m\epsilon_{3}+m\beta\min(K-m,0)\\ &+\beta(M-m)(1-\rho)\min(K-(M-m)(1-\rho),0),\end{aligned} (3.11)

where ϵ3:=ρ(2d+r+f)+μt(1ρ)\epsilon_{3}:=\rho(2d+r+f)+\mu t(1-\rho). We will divide the range of mm to four cases to obtain the expression of ECF(y,m)ECF(y,m) and to obtain mm^{*} which maximizes ECFECF.

  1. 1.

    K(Mm)(1ρ)0K-(M-m)(1-\rho)\geq 0, Km0K-m\geq 0

  2. In this case, (3.11) becomes a decreasing function of mm if ϵ3>0\epsilon_{3}>0 and increasing function of mm if ϵ3>0\epsilon_{3}>0. Note that if KMK\geq M, for any mm the conditions (K(Mm)(1ρ)0K-(M-m)(1-\rho)\geq 0, Km0K-m\geq 0) are satisfied. Therefore, if KMK\geq M, m=0m^{*}=0 if ϵ3>0\epsilon_{3}>0 and m=Mm^{*}=M if ϵ3<0\epsilon_{3}<0. This includes the case when ρ=1\rho=1: when ρ=1\rho=1, ϵ3=2d+r+f>0\epsilon_{3}=2d+r+f>0, so m=0m^{*}=0.

  3. 2.

    K(Mm)(1ρ)0K-(M-m)(1-\rho)\geq 0 (i.e. mMK/(1ρ)m\geq M-K/(1-\rho)), Km<0K-m<0

  4. In this case, maximum of (3.11) is obtained at m1=K/2ϵ3/2βm_{1}^{*}=K/2-\epsilon_{3}/2\beta.

  5. 3.

    K(Mm)(1ρ)<0K-(M-m)(1-\rho)<0 (i.e. m<MK/(1ρ)m<M-K/(1-\rho)), Km0K-m\geq 0

  6. In this case, maximum of (3.11) is obtained at m2=MK2(1ρ)ϵ32(1ρ)2βm_{2}^{*}=M-\frac{K}{2(1-\rho)}-\frac{\epsilon_{3}}{2(1-\rho)^{2}\beta}.

  7. 4.

    K(Mm)(1ρ)<0K-(M-m)(1-\rho)<0 (i.e. m<MK/(1ρ)m<M-K/(1-\rho)), Km<0K-m<0

  8. In this case, maximum of (3.11) is obtained at m3=2Mβ(1ρ)2+βρKϵ32β(1+(1ρ)2)m_{3}^{*}=\frac{2M\beta(1-\rho)^{2}+\beta\rho K-\epsilon_{3}}{2\beta(1+(1-\rho)^{2})}.

To summarize, when KMK\geq M, m=0m^{*}=0 or MM depending on the sign of ϵ3\epsilon_{3}. If not, the maximum will be obtained at one of {0,m1,m2,m3,M,K,MK/(1ρ)}\{0,m_{1}^{*},m_{2}^{*},m_{3}^{*},M,K,M-K/(1-\rho)\}.

Refer to caption
Refer to caption
Figure 1: mm^{*} (Left) and yy^{*} (Right) against μ\mu for K=10K=10 (black solid line), K=50K=50 (red dashed line), K=70K=70 (green dotted line), K=150K=150 (blue dot-dashed line). ρ=0.2,β=0.01,M=100,r=0.003,f=0.003,ϵ=0.01,T=0.1,S0=100,d=ϵ/2=0.005,σ=0.1\rho=0.2,\beta=0.01,M=100,r=0.003,f=0.003,\epsilon=0.01,T=0.1,S_{0}=100,d=\epsilon/2=0.005,\sigma=0.1.

Theorem 3.6 shows that when μ<0\mu<0, y=dy^{*}=d, which means that the investor may put a limit order at the best bid price. This is shown in behavior of yy^{*} in the right panel of Figure 1, y=dy^{*}=d when μ<0\mu<0. The left panel of Figure 1 describes behavior of mm^{*}, the optimal market order size at t=0t=0. As shown in Theorem 3.6, when μ<0\mu<0 m=m2m^{*}=m^{*}_{2} when K=10K=10, and m=Km^{*}=K for K=50K=50, 7070, and m=Mm^{*}=M when K=150K=150. The behavior of yy^{*} and mm^{*} when μ>0\mu>0 is described in the following Theorem 3.7. In this theorem, we first introduce T0T_{0}, the threshold for the time horizon333Note that this work is about single-step. TT is not the number of the time steps, but it is just the length of time for the single step. TT such that if the investor’s time horizon TT is bigger than T0T_{0}, then y>dy^{*}>d. We also provide lower bound for T0T_{0} and stepwise-linear approximation of yy^{*} as a function of TT.

Theorem 3.7.

Let (y,m)(y^{*},m^{*}) be defined as in Lemma 3.5. Then, when μ>0\mu>0,

y>dy^{*}>d for T>T0T>T_{0}. The lower bound of T0T_{0} is that

T0>2d+f+rμ.T_{0}>\frac{2d+f+r}{\mu}.

Also, for T>T0T>T_{0}, as TT0T\searrow T_{0}, the first-order approximation for yy^{*} is given as:

y(T)=d+κ(TT0)+o((TT0)2),y^{*}(T)=d+\kappa(T-T_{0})+o((T-T_{0})^{2}),

where

κ:=(2ECFTy(d,T0)2ECFy2(d,T0)).\kappa:=\left(-\frac{\frac{\partial^{2}ECF}{\partial T\partial y}(d,T_{0})}{\frac{\partial^{2}ECF}{\partial y^{2}}(d,T_{0})}\right).

The details of κ\kappa are given in (3.17). In addition, there exists mm^{*} as follows:

  1. 1.

    If KM,K\geq M, m=0m^{*}=0.

  2. 2.

    If K<MK<M, mm^{*} is one of {0,M,m4,m5,m6,M,|KM|,MK/(1ρ)}\{0,M,m_{4}^{*},m^{*}_{5},m^{*}_{6},M,|K-M|,M-K/(1-\rho)\}

where

m4=ϵ0(1+ϵ0)M+(1ϵ0)2(1+ϵ0)Kϵ42(1+ϵ0)β,m^{*}_{4}=\frac{\epsilon_{0}}{(1+\epsilon_{0})}M+\frac{(1-\epsilon_{0})}{2(1+\epsilon_{0})}K-\frac{\epsilon_{4}}{2(1+\epsilon_{0})\beta},
m5=Mβ(ϵ0+(1ϵ0)(1ρ))K+ϵ42β(ϵ0+(1ϵ0)(1ρ)2),m6=β(2M(ϵ0+(1ρ)2(1ϵ0))+K(1ϵ0)ρ)ϵ42β(1+ϵ0+(1ρ)2(1ϵ0)).m^{*}_{5}=M-\frac{\beta(\epsilon_{0}+(1-\epsilon_{0})(1-\rho))K+\epsilon_{4}}{2\beta(\epsilon_{0}+(1-\epsilon_{0})(1-\rho)^{2})},\quad m^{*}_{6}=\frac{\beta(2M(\epsilon_{0}+(1-\rho)^{2}(1-\epsilon_{0}))+K(1-\epsilon_{0})\rho)-\epsilon_{4}}{2\beta(1+\epsilon_{0}+(1-\rho)^{2}(1-\epsilon_{0}))}.
ϵ4:=(ρ(1ϵ0)(d+f+y+r)2ρ(yd)N~(αT)+μT(1ρ+ρϵ0)),ϵ0=(N(βT)N~(αT)).\epsilon_{4}:=\left(\rho(1-\epsilon_{0})(d+f+y+r)-2\rho(y-d)\tilde{N}(-\alpha_{T})+\mu{T}(1-\rho+\rho\epsilon_{0})\right),\quad\epsilon_{0}=\left(N\left(\beta_{T}\right)-\tilde{N}\left(-\alpha_{T}\right)\right).
Proof.

Part 1: Behavior of yy^{*}: First, note that as yy\to\infty, from (3.8), (3.9), (3.10), ECF/y0\partial ECF/\partial y\to 0^{-}. Therefore, y<y^{*}<\infty. Next, let’s find ECF/y|y=d\left.\partial ECF/\partial y\right|_{y=d}.

ECFy(Mm)|y=d\displaystyle\left.\frac{\frac{\partial ECF}{\partial y}}{(M-m)}\right|_{y=d} =ρ(N(μTσT)N(μTσT))\displaystyle=\rho\left(N\left(\frac{\mu{T}}{\sigma\sqrt{{T}}}\right)-{N}\left(-\frac{\mu{T}}{\sigma\sqrt{{T}}}\right)\right) (3.12)
+2σt(ϕ(μTσT)μTσTN(μTσt))(ρ(2d+f+rμT)+βγ)\displaystyle+\frac{2}{\sigma\sqrt{t}}\left(\phi\left(-\frac{\mu{T}}{\sigma\sqrt{{T}}}\right)-\frac{\mu{T}}{\sigma\sqrt{{T}}}N\left(-\frac{\mu{T}}{\sigma\sqrt{t}}\right)\right)\left(-\rho(2d+f+r-\mu{T})+\beta\gamma\right) (3.13)

Note that (3.12)>0>0, and (3.13)>0>0 when

μT>2d+f+r+(βγ)/ρ.\mu T>2d+f+r+(-\beta\gamma)/\rho. (3.14)

Note that ECF/y|y=d>0\left.\partial ECF/\partial y\right|_{y=d}>0 implies that y>dy^{*}>d. Since from the proof of Theorem 3.6 we’ve shown that γ<0\gamma<0, μT>2d+f+r+(βγ)/ρ>2d+f+r\mu T>2d+f+r+(-\beta\gamma)/\rho>2d+f+r, so the lower bound for TT to satisfy this condition is (2d+f+r)/μ(2d+f+r)/\mu. (we ignore βγ/ρ-\beta\gamma/\rho term since the definition of γ\gamma contains mm, so it can be correctly computed after we have the value of mm^{*}. )

t(ECFy(Mm)|y=d)\displaystyle\frac{\partial}{\partial t}\left(\left.\frac{\frac{\partial ECF}{\partial y}}{(M-m)}\right|_{y=d}\right) =γβ(1σTT(ϕ(ht)htN(hT))+μσ2tN(hT))\displaystyle=-\gamma\beta\left(\frac{1}{\sigma{T}\sqrt{{T}}}(\phi(h_{t})-h_{t}N(-h_{T}))+\frac{\mu}{\sigma^{2}t}N(-h_{T})\right) (3.15)
+\displaystyle+ ρσTT((2d+f+r)((ϕ(hT)htN(hT))+N(hT)μTσT)+2μT(ϕ(hT)hTN(hT)))\displaystyle\frac{\rho}{\sigma{T}\sqrt{{T}}}\bigg{(}{(2d+f+r)}\left((\phi(h_{T})-h_{t}N(-h_{T}))+N(-h_{T})\frac{\mu T}{\sigma\sqrt{T}}\right)+{2\mu T}{}(\phi(h_{T})-h_{T}N(-h_{T}))\bigg{)} (3.16)

Note that both (3.15), (3.16) are positive. This implies that ECFy|y=d\left.\frac{\partial ECF}{\partial y}\right|_{y=d} is a increasing function of TT, which supports that for T0T_{0} such that ECFy|y=d,T=T0=0\left.\frac{\partial ECF}{\partial y}\right|_{y=d,T=T_{0}}=0, ECFy|y=d>0\left.\frac{\partial ECF}{\partial y}\right|_{y=d}>0 for any T>T0T>T_{0}.

Now, we will use the mean value theorem to show the behavior of yy^{*} when TT is close to T0T_{0}. To this end, the following conditions are necessary: |y2ECF|\left|\partial_{y}^{2}ECF\right| needs to be strictly positive at y=d,T=T0y=d,T=T_{0}. y2ECF(y=d,T=T0)=2ρ(Mm)μN(ht)/σ2\partial_{y}^{2}ECF(y=d,T=T_{0})=-2\rho(M-m)\mu N(-h_{t})/\sigma^{2}, so |y2ECF(y=d,T=T0)|>0|\partial_{y}^{2}ECF(y=d,T=T_{0})|>0. Next, since yy^{*} satisfies yECF(y)=0\partial_{y}ECF(y^{*})=0, and thus, by the Implicit Function Theorem, there exists an open set UU containing y=dy=d, an open set VV containing T=T0T=T_{0}, and a unique continuously differentiable function y(T)y^{*}(T) such that

{(y(t),T|TV}={(y,T)U×V|ECFy(y,T)=0}.\{(y^{*}(t),T|T\in V\}=\left\{(y,T)\in U\times V\left|\frac{\partial ECF}{\partial y}(y,T)=0\right.\right\}.

In particular, y(T)dy^{*}(T)\to d as TT0T\to T_{0}. Furthermore, since T0>0T_{0}>0, it is clear that yECF\partial_{y}ECF is differentiable in a neighborhood of (y=d,T=T0)(y=d,T=T_{0}), and, thus, we can apply the mean value theorem to show that there exists δ(0,1)\delta\in(0,1) such that

0=ECFy(y(T),T)=2ECFy2(d+δ(y(T)d),T0+δ(TT0))y(T)+2ECFTy(d+δ(y(T)d),T0+δ(TT0))(TT0).0=\frac{\partial ECF}{\partial y}(y^{*}(T),T)=\frac{\partial^{2}ECF}{\partial y^{2}}(d+\delta(y^{*}(T)-d),T_{0}+\delta(T-T_{0}))y^{*}(T)+\frac{\partial^{2}ECF}{\partial T\partial y}(d+\delta(y^{*}(T)-d),T_{0}+\delta(T-T_{0}))(T-T_{0}).

Since 2ECF/y2\partial^{2}ECF/\partial y^{2}, 2ECF/yt\partial^{2}ECF/\partial y\partial t are both continuous when T>0T>0, and there is an open set containing (d,T0)(d,T_{0}) such that 2ECF/y2\partial^{2}ECF/\partial y^{2} is strictly negative and, furthermore,

y(T)dTT0=2ECFTy(d+δ(y(T)d),T0+δ(TT0))2ECFy2(d+δ(y(T)d),T0+δ(TT0))TT0(2ECFTy(d,T0)2ECFy2(d,T0)):=κ(T0),\frac{y^{*}(T)-d}{T-T_{0}}=-\frac{\frac{\partial^{2}ECF}{\partial T\partial y}(d+\delta(y^{*}(T)-d),T_{0}+\delta(T-T_{0}))}{\frac{\partial^{2}ECF}{\partial y^{2}}(d+\delta(y^{*}(T)-d),T_{0}+\delta(T-T_{0}))}\quad\overrightarrow{T\to T_{0}}\quad\left(-\frac{\frac{\partial^{2}ECF}{\partial T\partial y}(d,T_{0})}{\frac{\partial^{2}ECF}{\partial y^{2}}(d,T_{0})}\right):=\kappa(T_{0}),
κ(T0)=3ϕ(hT0)σ+σ2(N(hT0)N(hT0))2μT0+2(hT0N(hT0))(2d+f+rT0+μT0+βγρT0+σ)2N(hT0)T0.\kappa({T_{0}})=\frac{{3\phi(-h_{T_{0}})}\sigma+\frac{\sigma^{2}(N(h_{T_{0}})-N(-h_{T_{0}}))}{2\mu\sqrt{T_{0}}}+{2(-h_{T_{0}}N(-h_{T_{0}}))}\left(-\frac{2d+f+r}{\sqrt{T_{0}}}+\mu\sqrt{T_{0}}+\frac{\beta\gamma}{\rho\sqrt{T_{0}}}+\sigma\right)}{{2N(h_{T_{0}})\sqrt{T_{0}}}}. (3.17)
Remark 4.

Note that κ\kappa contains γ\gamma, which depends on the value of mm. For the fast approximation, we may use the lower bound of κ\kappa,

κ¯(T0)=3ϕ(hT0)σ+σ2(N(hT0)N(hT0))2μT0+2(hT0N(hT0))(2d+f+rT0+μT0+σ)2N(hT0)T0.\underline{\kappa}({T_{0}})=\frac{{3\phi(-h_{T_{0}})}\sigma+\frac{\sigma^{2}(N(h_{T_{0}})-N(-h_{T_{0}}))}{2\mu\sqrt{T_{0}}}+{2(-h_{T_{0}}N(-h_{T_{0}}))}\left(-\frac{2d+f+r}{\sqrt{T_{0}}}+\mu\sqrt{T_{0}}+\sigma\right)}{{2N(h_{T_{0}})\sqrt{T_{0}}}}.

Part 2: Behavior of mm^{*}

Now, to find mm^{*}, let us reorganize ECF(y,m)ECF(y,m) as following:

ECF(y,m)=Mϵ5mϵ4β[(Mm)(ϵ0(KM+m)+(1ϵ0)(1ρ)(K(Mm)(1ρ)))+m(Km)],\displaystyle\begin{aligned} ECF(y,m)=M\epsilon_{5}-m\epsilon_{4}-\beta\bigg{[}&(M-m)\big{(}\epsilon_{0}(K-M+m)^{-}+(1-\epsilon_{0})(1-\rho)(K-(M-m)(1-\rho))^{-}\big{)}\\ &+m(K-m)^{-}\bigg{]},\end{aligned} (3.18)

where

ϵ4:=(ρ(1ϵ0)(d+f+y+r)2ρ(yd)N~(αT)+μT(1ρ+ρϵ0)),\epsilon_{4}:=\left(\rho(1-\epsilon_{0})(d+f+y+r)-2\rho(y-d)\tilde{N}(-\alpha_{T})+\mu{T}(1-\rho+\rho\epsilon_{0})\right),
ϵ5:=(S02ρ(yd)N~(αT)(d+fμT)(1ρ+ρϵ0)+(1ϵ0)ρ(y+r)).\epsilon_{5}:=\left(S_{0}-2\rho(y-d)\tilde{N}(-\alpha_{T})-(d+f-\mu{T})(1-\rho+\rho\epsilon_{0})+(1-\epsilon_{0})\rho(y+r)\right).

Note that ϵ5\epsilon_{5} does not depend on m, and ϵ4>0\epsilon_{4}>0 since it can be reorganized as

(ρ(1ϵ0)(d+f+r)+2ρ(d)N~(αT)+μT(1ρ+ρϵ0))+ρy(N(βT)N~(αT))\left(\rho(1-\epsilon_{0})(d+f+r)+2\rho(d)\tilde{N}(-\alpha_{T})+\mu{T}(1-\rho+\rho\epsilon_{0})\right)+\rho y(N(-\beta_{T})-\tilde{N}(-\alpha_{T})), and N(βT)N~(αT)>0N(-\beta_{T})-\tilde{N}(-\alpha_{T})>0. Now, investigate the behavior of (3.18) in different range of mm to find mm^{*}.

Case 1-1: (Km)0,(KM+m)0,(K(Mm)(1ρ))0(K-m)\geq 0,(K-M+m)\geq 0,(K-(M-m)(1-\rho))\geq 0. In this case, the (3.18) becomes a linear decreasing function of mm. When KMK\geq M, for any mm this condition is satisfied so m=0m^{*}=0.

Case 1-2: (Km)<0,(KM+m)0,(K(Mm)(1ρ))0(K-m)<0,(K-M+m)\geq 0,(K-(M-m)(1-\rho))\geq 0 In this case, (3.18) attains its maximum at K2ϵ42β\frac{K}{2}-\frac{\epsilon_{4}}{2\beta}, which is <K<K, so in this range (3.18) is a decreasing function of mm.

Case 2-1: (Km)0,(KM+m)<0,(K(Mm)(1ρ))0(K-m)\geq 0,(K-M+m)<0,(K-(M-m)(1-\rho))\geq 0 In this case, (3.18) attains its maximum at m4=MK/2ϵ4/2βϵ0m^{*}_{4}=M-K/2-\epsilon_{4}/2\beta\epsilon_{0},

Case 2-2: (Km)<0,(KM+m)<0,(K(Mm)(1ρ))0(K-m)<0,(K-M+m)<0,(K-(M-m)(1-\rho))\geq 0 In this case, (3.18) attains its maximum at

m5=ϵ0(1+ϵ0)M+(1ϵ0)2(1+ϵ0)Kϵ42(1+ϵ0)βm^{*}_{5}=\frac{\epsilon_{0}}{(1+\epsilon_{0})}M+\frac{(1-\epsilon_{0})}{2(1+\epsilon_{0})}K-\frac{\epsilon_{4}}{2(1+\epsilon_{0})\beta}

Case 3: (KM+m)0,(K(Mm)(1ρ))<0(K-M+m)\geq 0,(K-(M-m)(1-\rho))<0 This condition is contradictory.
Case 4-1: (Km)0,(KM+m)<0,(K(Mm)(1ρ))<0(K-m)\geq 0,(K-M+m)<0,(K-(M-m)(1-\rho))<0 In this case, (3.18) attains its maximum at m5=Mβ(ϵ0+(1ϵ0)(1ρ))K+ϵ42β(ϵ0+(1ϵ0)(1ρ)2)m^{*}_{5}=M-\frac{\beta(\epsilon_{0}+(1-\epsilon_{0})(1-\rho))K+\epsilon_{4}}{2\beta(\epsilon_{0}+(1-\epsilon_{0})(1-\rho)^{2})}

Case 4-2: (Km)<0,(KM+m)<0,(K(Mm)(1ρ))<0(K-m)<0,(K-M+m)<0,(K-(M-m)(1-\rho))<0 In this case, (3.18) attains its maximum at m6=β(2M(ϵ0+(1ρ)2(1ϵ0))+K(1ϵ0)ρ)ϵ42β(1+ϵ0+(1ρ)2(1ϵ0))m^{*}_{6}=\frac{\beta(2M(\epsilon_{0}+(1-\rho)^{2}(1-\epsilon_{0}))+K(1-\epsilon_{0})\rho)-\epsilon_{4}}{2\beta(1+\epsilon_{0}+(1-\rho)^{2}(1-\epsilon_{0}))}

To summarize, when KMK\geq M, m=0m^{*}=0 . If not, the maximum will be obtained at one of {0,M,m4,m5,m6,M,MK,|MK/(1ρ)|}\{0,M,m_{4}^{*},m^{*}_{5},m^{*}_{6},M,M-K,|M-K/(1-\rho)|\}.

In Theorem 3.7, we have shown the behavior of yy^{*} and mm^{*} when μ\mu is positive.

Refer to caption
Refer to caption
Figure 2: Behavior of mm^{*} (Left) and yy^{*} (Right) against T. For the left graph, black solid line is when ρ=0.1\rho=0.1, red dashed line is when ρ=0.5\rho=0.5, green dotted dot-dashed line is when ρ=1\rho=1. For the graph in the right panel, yy^{*} and it’s first-order approximation d+κ(TT0)d+\kappa(T-T_{0}) are described in solid and dashed lines, respectively, using Black color(ρ=0.1\rho=0.1), red color(ρ=0.5)\rho=0.5), and green color (ρ=1\rho=1). Blue dot-dashed line in Right panel is using the approximation from [12]. For both panels, M=100,r=0.003,f=0.003,ϵ=0.01,S0=100,d=ϵ/2=0.005,σ=0.1,μ=0.5M=100,r=0.003,f=0.003,\epsilon=0.01,S_{0}=100,d=\epsilon/2=0.005,\sigma=0.1,\mu=0.5 .
Refer to caption
Refer to caption
Figure 3: mm^{*} (left) and yy^{*} (right) against μ\mu for β=0.001\beta=0.001 (black solid line), β=0.005\beta=0.005 (red dashed line), and β=0.01\beta=0.01 (blue dotted line). K=10,ρ=0.2,K=10,\rho=0.2, M=100,r=0.003,f=0.003,ϵ=0.01,d=ϵ/2=0.005,T=0.1,S0=100,σ=0.1M=100,r=0.003,f=0.003,\epsilon=0.01,d=\epsilon/2=0.005,T=0.1,S_{0}=100,\sigma=0.1.
Refer to caption
Refer to caption
Figure 4: mm^{*} (left), and yy^{*} (right) against μ\mu for σ=0.1\sigma=0.1 (black solid line), σ=0.15\sigma=0.15 (red dashed line), σ=0.2\sigma=0.2 (blue dotted line). K=10K=10, M=100,r=0.003,f=0.003,ϵ=0.01,d=ϵ/2=0.005,T=0.1,S0=100,ρ=0.5M=100,r=0.003,f=0.003,\epsilon=0.01,d=\epsilon/2=0.005,T=0.1,S_{0}=100,\rho=0.5.
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 5: mm^{*} (left), yy^{*} (right) against for K=150K=150, BM (top), K10K_{1}0, BM (middle) and K=10K=10, GBM (bottom). ρ=0.2\rho=0.2 (black solid line), ρ=0.4\rho=0.4 (red dashed line), ρ=0.6\rho=0.6 (green dotted line), ρ=0.8\rho=0.8 (blue dot-dashed line) and ρ=1\rho=1 (cyan long dahsed line). M=100,r=0.003,f=0.003,ϵ=0.01,d=ϵ/2=0.005,T=0.1,S0=100,σ=0.1M=100,r=0.003,f=0.003,\epsilon=0.01,d=\epsilon/2=0.005,T=0.1,S_{0}=100,\sigma=0.1 for BM (top, middle) and σ=0.01\sigma=0.01 for GBM(bottom).

First, let us focus on the behavior of yy^{*}. As shown in the right panel of Figure 1, y=dy^{*}=d until μ\mu reaches a certain positive value (the lower bound is μT>2d+f+r+(βγ)/ρ\mu T>2d+f+r+(-\beta\gamma)/\rho) and then linearly increases with respect to μ\mu.

Also, in the right panel of Figure 2 it is observed that y=dy^{*}=d until a certain time threshold,T0T_{0}, and then increases linearly with respect to TT.

This complies with the result of Theorem 3.7 that y>dy^{*}>d for a big enough μT\mu T. In Theorem 3.7, we have provided the existence of such a threshold, and named the threshold in the time horizon as T0T_{0}. We provided the stepwise-linear approximation of yy^{*} as a function of TT: y(T)d+κ(TT0)y^{*}(T)\approx d+\kappa(T-T_{0}), the first-order approximation given in Theorem 3.7. These approximations are also found in the right panel of Figure 2. Each yy^{*} 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 yy^{*} using Theorem 3.6. of [12]. These approximations of yy^{*} converges close to the actual yy^{*} as TT0T\searrow T_{0}. These approximation methods provide the quick computation method that the investor can use to decide the limit order placement based on their time horizon, TT.

Now, let us focus on the behavior of yy^{*} with various KKs, the initial market depth. The right panel of Figure 1 shows that yy^{*} increases as KK increases, but the difference is relatively small for K=10,50,70K=10,50,70 and there is huge difference when K=150K=150. The case of K=150K=150 is special since this is only the case when K>MK>M (M=100M=100 in the simulation), which represents the case when the market depth KK is bigger than the investor’s inventory MM. 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 TT, the market order at time TT still will be beneficial since there is no impact on the supply curve based on the quantity of the market order size MM.

Another interesting analysis of yy^{*} is the change of behavior for different β\betas. Figure 3 shows behavior of yy^{*} int he right panel. yy^{*} increases as β\beta decreases. Also, recall that there is a lower bound of μ\mu such that y>dy^{*}>d after a certain value of μ\mu, where the bound is μT>2d+r+f+(βγ)/ρ\mu T>2d+r+f+(-\beta\gamma)/\rho (given in Equation (3.14)), where γ<0\gamma<0. Therefore, as β\beta increases, the bound also increases, which is observed in Figure  3.

In addition, the behavior of yy^{*} for various values of σ\sigma, the volatility of price process is shown in Figure 4. As σ\sigma increases, after μ\mu gets bigger than a certain (positive) threshold value, yy^{*} decreases. While for low (positive) μ\mu, bigger σ\sigma implies a higher chance of the limit order execution. However it is not necessarily true for high μ\mu, and this explains why yy^{*} decreases as σ\sigma increases for big enough μ\mu.

Now, let us show the behavior of mm^{*}. Figure 2 shows the behavior of mm^{*} against TT when μ>0\mu>0. The behavior of mm^{*} follows the result of Theorem 3.7, and it is decreasing as TT increases. This is because when μ>0\mu>0 and TT increases, the benefit from the limit order increases. When μ>0\mu>0, the probability of limit order execution increases as TT increases, and even if a limit order is not executed, the expected value of STS_{T} is higher than S0S_{0}, so the market order at t=0t=0 is less preferred.

The left panel of Figure 5 shows the behavior of mm^{*} against μ\mu when K=150K=150 (top) and K=10K=10 (middle) for different ρ\rho’s. K=10K=10 represents the case when the market depth is low (the quantity of limit order on best bid queue when t=0t=0 is low). In this case, mm^{*} shows a relatively smooth decreasing trend as μ\mu increases. For K=150K=150, on the other hand, mm^{*} is still decreasing but there is a sudden drop from m=Mm^{*}=M to m=0m^{*}=0. 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 K>MK>M, the conclusion for mm^{*} and yy^{*} should be the same whether M=1 or M=K-1. So in this case, the investor’s choice comes down to two choices: m=0m=0 (just use limit order) and m=Mm=M (just use market order).

The behavior of mm^{*} for different KKs with a fixed ρ\rho is shown in the right panel of Figure 1. mm^{*}, the optimal quantity for the market order, decreases as μ\mu increases. It is because as μ\mu increases, there is higher chance of LOLO execution and the market order at TT is more preferred than MOMO at 0. The slope for the decrease gets steeper when KK, the market depth, increases. This is because the affect of market order size gets smaller as KK increases.

The change of mm^{*} slope as β\beta can be found in Figure  3. When β\beta is smaller, the slope is sharper. This is because when β\beta 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 β\beta.

The behavior of mm^{*} for various values of σ\sigma is shown in Figure 4. As σ\sigma increases, it is observed that mm^{*} increases. As described earlier, bigger σ\sigma implies a higher chance of the limit order execution. However it is not necessarily true for a high μ\mu, and this explains why yy^{*} decreases and mm^{*} increases as σ\sigma increases for a big enough μ\mu.

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 mm^{*}, yy^{*} which maximize the ECF given in Lemma 3.4. Since for the same price process, μ\mu and σ\sigma for the geometric Brownian motion model should be smaller than the those for BM, we are using 0.010.01 for σ\sigma and range of μ\mu from 0.1-0.1 to 0.20.2 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 μ\mu and σ\sigma), yy^{*} and mm^{*} show similar behavior but it is smoother for the geometric Brownian motion model.

To summarize, we have investigated the behavior of optimal (yy^{*}, mm^{*}) against important LOB features (ρ\rho, β\beta, KK) and other parameters for price movement such as μ\mu 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 t=0t=0 and waited until the investor’s time horizon TT. As a natural extension, now we introduce nn time steps between time 0 and time TT. 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 MM for the second period, and so on.

Let us denote the time steps as {t0=0,t1=T/n,t2=2T/n,,tn=T}\{t_{0}=0,t_{1}=T/n,t_{2}=2T/n,\dots,t_{n}=T\}. At each tit_{i}, the investor is allowed to

  • cancel any remaining limit order, (this becomes new remaining inventory, MiM_{i})

  • place a market order of size mim_{i}(Mi\leq M_{i}), or

  • place the rest (MimiM_{i}-m_{i}) using limit order at the price of Si+yiS_{i}+y_{i}. (SiS_{i}: mid-price at time tit_{i})

Then we define the Multi-period Expected cash flow (MECF) as follows:

For n=1n=1,

MECF(n=1,S0,y,m,M,T=t)=ECF(y,m),\displaystyle MECF(n=1,S_{0},y,m,M,T=t)=ECF(y,m), (4.1)

where the ECF (expected case flow) from the single-period case is in  (3.1).

For n2n\geq 2, we define the expected cash flow as a function of nn, the number of time steps, S0S_{0}, the stock mid-price at time t0t_{0}, y0y_{0}, the initial limit order placement, m0m_{0}, the initial market order quantity, MM, the inventory, and TT, the time horizon.

Note that the cash flow at a time step tit_{i} depends only on Mi,SiM_{i},S_{i}, and the action at tit_{i}. 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.

MECF(n,S0,y0,m0,\displaystyle MECF(n,S_{0},y_{0},m_{0}, M,T)=m0(S(0,m0)f)+E[L(S(0,0)+y+r)|τ<Tn]P(τ<Tn)\displaystyle M,T)=m_{0}\left(S(0,-m_{0})-f\right)+E\left[L(S(0,0)+y+r)\bigg{|}\tau<\frac{T}{n}\right]P\left(\tau<\frac{T}{n}\right) (4.2)
+MECF(n1,E[STn|τ<Tn],y1,m1,Mm0L,T(n1)n)P(τ<Tn)\displaystyle+MECF\bigg{(}n-1,E[{S_{\frac{T}{n}}\big{|}_{\tau<\frac{T}{n}}}],y_{1},m_{1},M-m_{0}-L,\frac{T(n-1)}{n}\bigg{)}P\left(\tau<\frac{T}{n}\right) (4.3)
+MECF(n1,E[STn|τ>Tn],y1,m1,Mm0,T(n1)n)P(τ>Tn)\displaystyle+MECF\bigg{(}n-1,E[{S_{\frac{T}{n}}\big{|}_{\tau>\frac{T}{n}}}],y_{1},m_{1},M-m_{0},\frac{T(n-1)}{n}\bigg{)}P\left(\tau>\frac{T}{n}\right) (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 LL is the amount of executed shares at the price level S0+y0S_{0}+y_{0} when τ\tau, the first time the trader’s limit order becomes the best ask, is less than T/nT/n). Then, if τ<T/n\tau<T/n, the Mm0LM-m_{0}-L is the remaining inventory for the next time step, as described in (4.3). Otherwise, if τ>T/n\tau>T/n, then none of the limit order has been executed until T/nT/n, and the remaining inventory for the next time step is Mm0M-m_{0}, 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 y0y_{0} and m0m_{0} assuming that the parameter remains the same during [0,T][0,T]. At each time step tit_{i}, after updating the parameter, the investor can use the same technique to find the optimal yiy_{i} and mim_{i}.

Proposition 4.1.

Let MECF be defined as in (4.1), (4.2) -(4.4). Let us assume that the price process, StS_{t}, follows Brownian motion as in Lemma 3.5 and L=(Mm)ρL=(M-m)\rho. Then, MECF(n, S, y, m, M, T) can be summarized as follows:

For n=1n=1,

MECF\displaystyle MECF (n=1,S0,y,m,M,T=t)\displaystyle(n=1,S_{0},y,m,M,T=t)
=\displaystyle= M(S02ρ(yd)N~(αt)(d+fμt)(1ρ+ρϵ0)+(1ϵ0)ρ(y+r))\displaystyle M\left(S_{0}-2\rho(y-d)\tilde{N}(-\alpha_{t})-(d+f-\mu t)(1-\rho+\rho\epsilon_{0})+(1-\epsilon_{0})\rho(y+r)\right)
m(ρ(1ϵ0)(d+f+y+r)2ρ(yd)N~(αt)+μt(1ρ+ρϵ0))\displaystyle-m\left(\rho(1-\epsilon_{0})(d+f+y+r)-2\rho(y-d)\tilde{N}(-\alpha_{t})+\mu t(1-\rho+\rho\epsilon_{0})\right)
β[m(Km)+(Mm)(ϵ0(KM+m)+(1ϵ0)(1ρ)(K(Mm)(1ρ)))],\displaystyle-\beta\left[m(K-m)^{-}+(M-m)\left(\epsilon_{0}(K-M+m)^{-}+(1-\epsilon_{0})(1-\rho)(K-(M-m)(1-\rho))^{-}\right)\right],
αt=yd+μtσt,βt=ydμtσt.N~(αt)=e2(yd)μ/σ2N(αt),ϵ0=(N(βt)N~(αt))\alpha_{t}=\frac{y-d+\mu t}{\sigma\sqrt{t}},\quad\beta_{t}=\frac{y-d-\mu t}{\sigma\sqrt{t}}.\quad\tilde{N}(-\alpha_{t})=e^{2(y-d)\mu/\sigma^{2}}N(-\alpha_{t}),\quad\epsilon_{0}=\left(N\left(\beta_{t}\right)-\tilde{N}\left(-\alpha_{t}\right)\right)

For n2n\geq 2,

MECF(n,S0,y0n,m0n,M,T)=m0n(S0d+βmin(Km0n,0)f)+(Mm0n)ρ{(S0+y0n+r)(N(βTn)+N~(αTn))}+MECF(n1,E[STn|τ<T/n],y1n,m1n,(Mm0n)(1ρ),T(n1)n)(N(βTn)+N~(αTn))+MECF(n1,E[STn|τ>T/n],y1n,m1n,Mm0n,T(n1)n)(N(βTn)N~(αTn))\displaystyle\begin{aligned} MECF&(n,S_{0},y_{0}^{n},m_{0}^{n},M,T)\\ =&m_{0}^{n}(S_{0}-d+\beta\min(K-m_{0}^{n},0)-f)\\ +&(M-m_{0}^{n})\rho\left\{(S_{0}+y_{0}^{n}+r)\left(N\left(-\beta_{\frac{T}{n}}\right)+\tilde{N}\left(-\alpha_{\frac{T}{n}}\right)\right)\right\}\\ +&MECF(n-1,E[{S_{\frac{T}{n}}|_{\tau<T/n}}],y_{1}^{n},m_{1}^{n},(M-m_{0}^{n})(1-\rho),\frac{T(n-1)}{n})\left(N\left(-\beta_{\frac{T}{n}}\right)+\tilde{N}\left(-\alpha_{\frac{T}{n}}\right)\right)\\ +&MECF(n-1,E[{S_{\frac{T}{n}}|_{\tau>T/n}}],y_{1}^{n},m_{1}^{n},M-m_{0}^{n},\frac{T(n-1)}{n})\left(N\left(\beta_{\frac{T}{n}}\right)-\tilde{N}\left(-\alpha_{\frac{T}{n}}\right)\right)\end{aligned} (4.5)
αt=yd+μtσt,βt=ydμtσt.N~(αt)=e2(yd)μ/σ2N(αt).\alpha_{t}=\frac{y-d+\mu t}{\sigma\sqrt{t}},\quad\beta_{t}=\frac{y-d-\mu t}{\sigma\sqrt{t}}.\quad\tilde{N}(-\alpha_{t})=e^{2(y-d)\mu/\sigma^{2}}N(-\alpha_{t}).
Proof.

The result of this theorem is directly using the definition in (4.1), (4.2) -(4.4) and Lemma 3.1. ∎

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, y0n,m0ny_{0}^{*n},m_{0}^{*n},

y0n,m0n:=argmaxyd,0mMMECF(n,S0,y,m,T),y_{0}^{*n},m_{0}^{*n}:=\underset{y\geq d,0\leq m\leq M}{\arg\max}MECF(n,S_{0},y,m,T), (4.6)

the optimal price level for the limit order placement (the limit order will be placed at S0+y0nS_{0}+y_{0}^{*n}) and the market order quantity m0n(M)m_{0}^{*n}(\leq M), when there are nn time steps and TT is the total investment horizon.

Note that the action at each time step tit_{i}, yiny_{i}^{n} and minm_{i}^{n} depends on the state of tit_{i} (remaining inventory and the mid-price at tit_{i}), so the optimal policy at time tit_{i}, (yin,min)(y_{i}^{*n},m_{i}^{*n}), could be degenerated into ((yin,min),(yi+1n,mi+1n),(yn1n,mn1n))\left((y_{i}^{*n},m_{i}^{*n}),(y_{i+1}^{*n},m_{i+1}^{*n}),\dots(y_{n-1}^{*n},m_{n-1}^{*n})\right). Then, the Dynamic Programming Principle leads to the following backward recursion for the MECF:

(y0n,\displaystyle(y_{0}^{*n}, m0n)\displaystyle m_{0}^{*n})
=\displaystyle= argmaxyd,0mM[m(S0d+βmin(Km,0)f)+(Mm)ρ(S0+y+r)(N(βTn)+N~(αTn))\displaystyle\underset{y\geq d,0\leq m\leq M}{\arg\max}\bigg{[}m(S_{0}-d+\beta\min(K-m,0)-f)+(M-m)\rho(S_{0}+y+r)\left(N\left(-\beta_{\frac{T}{n}}\right)+\tilde{N}\left(-\alpha_{\frac{T}{n}}\right)\right)
+maxy1,m1MECF(n1,E[STn|τ<T/n],y1,m1,(Mm)(1ρ),T(n1)n)(N(βTn)+N~(αTn))\displaystyle+\max_{y_{1},m_{1}}MECF(n-1,E[{S_{\frac{T}{n}}|_{\tau<T/n}}],y_{1},m_{1},(M-m)(1-\rho),\frac{T(n-1)}{n})\left(N\left(-\beta_{\frac{T}{n}}\right)+\tilde{N}\left(-\alpha_{\frac{T}{n}}\right)\right)
+maxy1,m1MECF(n1,E[STn|τ>T/n],y1,m1,Mm,T(n1)n)(N(βTn)N~(αTn))].\displaystyle+\max_{y_{1},m_{1}}MECF(n-1,E[{S_{\frac{T}{n}}|_{\tau>T/n}}],y_{1},m_{1},M-m,\frac{T(n-1)}{n})\left(N\left(\beta_{\frac{T}{n}}\right)-\tilde{N}\left(-\alpha_{\frac{T}{n}}\right)\right)\bigg{]}.

Using this Proposition 4.1, we are now going to solve the optimal placement decision at time 0. 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 ρ=1\rho=1.

Theorem 4.2.

For y0n,m0ny_{0}^{*n},m_{0}^{*n} defined as in Proposition 4.1 and (4.6) and when ρ=1\rho=1, y0n=d,m0n=0y_{0}^{*n}=d,m_{0}^{*n}=0 for all nn when μ<0\mu<0.

Proof.

For n=1n=1, proof is done in Proposition 3.6. Note that y01=dy_{0}^{*1}=d, m01=0m_{0}^{*1}=0, maxMECF=MECF(n=1,S0,y=d,m=0,M,T)=M(S0+d+r)\max MECF=MECF(n=1,S_{0},y=d,m=0,M,T)=M(S_{0}+d+r).

Now, let us prove that for n2n\geq 2, if y0(n1)=d,m0(n1)=0y_{0}^{*(n-1)}=d,m_{0}^{*(n-1)}=0 and maxMECF(n1,S0,y,m,M,T)=M(S0+d+r)\max MECF(n-1,S_{0},y,m,M,T)=M(S_{0}+d+r), then y0n=d,m0n=0y_{0}^{*n}=d,m_{0}^{*n}=0 and maxMECF(n,S0,y,m,M,T)=M(S0+d+r)\max MECF(n,S_{0},y,m,M,T)=M(S_{0}+d+r).

To prove this, let us denote

f(y,m):=\displaystyle f(y,m):= m(S0d+βmin(Km,0)f)+(Mm)(S0+y+r)P(τ<T/n)\displaystyle m(S_{0}-d+\beta\min(K-m,0)-f)+(M-m)(S_{0}+y+r)P(\tau<T/n)
+(Mm)E[STnI(τ>T/n)]+(Mm)(d+r)P(τ>T/n).\displaystyle+(M-m)E[{S_{\frac{T}{n}}I({\tau>T/n})}]+(M-m)(d+r)P({\tau>T/n}).

Then, from Eq. (4.7), maxy,mMECF(n,S0,y,m,M,T)=maxy,mf(y,m)\max_{y,m}MECF(n,S_{0},y,m,M,T)=\max_{y,m}f(y,m). We now need to find y,my,m which maximize f(y,m)f(y,m).

Let us recall that t1:=T/nt_{1}:=T/n. Using Lemma 3.1, f(y,m)f(y,m) can be written as

f(y,m)=\displaystyle f(y,m)= MS0+m(d+βmin(Km,0)f)+(Mm)(d+r)\displaystyle MS_{0}+m(-d+\beta\min(K-m,0)-f)+(M-m)(d+r)
+(Mm)(yd)(N(βt1)+N~(αt1))+(Mm)(μt1N(βt1)+(2(yd)μt1)N~(αt1)),\displaystyle+(M-m)(y-d)(N(-\beta_{t_{1}})+\tilde{N}(-\alpha_{t_{1}}))+(M-m)\left(\mu{t_{1}}N(\beta_{t_{1}})+(-2(y-d)-\mu{t_{1}})\tilde{N}(-\alpha_{t_{1}})\right),

And when we take a derivative with respect to yy, f(y,m)/y=(Mm)(N(βt1)N~(αt1)2μ2tσ2N(αt1))<0,{\partial f(y,m)}/{\partial y}=(M-m)\big{(}N(-\beta_{t_{1}})-\tilde{N}(-\alpha_{t_{1}})-\frac{2\mu^{2}t}{\sigma^{2}}N(-\alpha_{t_{1}})\big{)}<0, so y=dy^{*}=d.

Now, f(y=d,m)=M(S0+d+r)+m(2d+βmin(Km,0)fr)f(y=d,m)=M(S_{0}+d+r)+m(-2d+\beta\min(K-m,0)-f-r), which is linearly decreasing when mKm\leq K, and when m>Km>K, f(y=d,m)f(y=d,m) becomes a second order concave polynomial of mm which takes its maximum at K/2(2d+f+r)/β<KK/2-(2d+f+r)/\beta<K, so for m>Km>K, f(y=d,m)f(y=d,m) is also a decreasing function of mm. Therefore, f(y=d,m)f(y=d,m) is a decreasing function of mm for 0mM0\leq m\leq M, so m=0m^{*}=0. Also, maxMECF(n,S0,y,m,M,T)=MECF(n,S0,y=d,m=0,M,T)=M(S0+d+r).\max MECF(n,S_{0},y,m,M,T)=MECF(n,S_{0},y=d,m=0,M,T)=M(S_{0}+d+r).

We have proved that that if y0(n1)=d,m0(n1)=0y_{0}^{*(n-1)}=d,m_{0}^{*(n-1)}=0 and maxMECF(n1,S0,y,m,M,T)=M(S0+d+r)\max MECF(n-1,S_{0},y,m,M,T)=M(S_{0}+d+r), then y0n=d,m0n=0y_{0}^{*n}=d,m_{0}^{*n}=0 and maxMECF(n,S0,y,m,M,T)=M(S0+d+r)\max MECF(n,S_{0},y,m,M,T)=M(S_{0}+d+r). By induction, this proves the theorem. ∎

In Theorem 4.2, we’ve shown the analysis for the case when ρ=1\rho=1 and μ<0\mu<0, 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 y2=dy^{*2}=d for any ρ[0,1]\rho\in[0,1] for the negative drift. Due to the complexity, we’ve proved for the case when n=2n=2.

Theorem 4.3.

For y0ny_{0}^{*n} defined as in Proposition 4.1 and (4.6), y02=dy_{0}^{*2}=d when μ<0\mu<0.

Proof.

For n=1n=1, recall that

ECF(y=d,m,M)=M(S0+ρ(d+r)(1ρ)(d+fμt))mϵ3+mβmin(Km,0)+β(Mm)(1ρ)min(K(Mm)(1ρ),0),\displaystyle\begin{aligned} ECF(y=d,m,M)=&M(S_{0}+\rho(d+r)-(1-\rho)(d+f-\mu t))-m\epsilon_{3}+m\beta\min(K-m,0)\\ &+\beta(M-m)(1-\rho)\min(K-(M-m)(1-\rho),0),\end{aligned}

Let us denote

F(M,m):=ECF(y=d,m,M)MS0.F(M,m):=ECF(y=d,m,M)-MS_{0}.

where ϵ3:=ρ(2d+r+f)+μt(1ρ)\epsilon_{3}:=\rho(2d+r+f)+\mu t(1-\rho).

For n=2n=2, let MA:=(Mm0)(1ρ)M_{A}:=(M-m_{0})(1-\rho) and MB:=(Mm0)M_{B}:=(M-m_{0}). MECF can be written as

MECF(n=2,S0,y,m0,M,T)=MS0+m0(d+βmin(Km0,0)f)+(Mm0)ρ{(y+r)(N(βT2)+N~(αT2))}+E[ST2(τ<T/2)](Mm0)(1ρ)+max0mMAF(MA,m)(N(βT2)+N~(αT2))+E[ST2(τ>T/2)](Mm0)+max0mMBF(MB,m)(N(βT2)N~(αT2)).\displaystyle\begin{aligned} MECF&(n=2,S_{0},y,m_{0},M,T)\\ =&MS_{0}+m_{0}(-d+\beta\min(K-m_{0},0)-f)\\ &+(M-m_{0})\rho\left\{(y+r)\left(N\left(-\beta_{\frac{T}{2}}\right)+\tilde{N}\left(-\alpha_{\frac{T}{2}}\right)\right)\right\}\\ &+E[{S_{\frac{T}{2}}\mathcal{I}({\tau<T/2})}](M-m_{0})(1-\rho)+\max_{0\leq m\leq M_{A}}F(M_{A},m)\left(N\left(-\beta_{\frac{T}{2}}\right)+\tilde{N}\left(-\alpha_{\frac{T}{2}}\right)\right)\\ &+E[{S_{\frac{T}{2}}\mathcal{I}({\tau>T/2})}](M-m_{0})+\max_{0\leq m\leq M_{B}}F(M_{B},m)\left(N\left(\beta_{\frac{T}{2}}\right)-\tilde{N}\left(-\alpha_{\frac{T}{2}}\right)\right).\\ \end{aligned} (4.7)

By taking derivative with respect to yy,

y\displaystyle\frac{\partial}{\partial y} MECF(n=2,S0,y,m0,M,T)\displaystyle MECF(n=2,S_{0},y,m_{0},M,T)
=\displaystyle= ρ(Mm0)(N(βT2)N~(αT2))\displaystyle\rho(M-m_{0})\left(N\left(-\beta_{\frac{T}{2}}\right)-\tilde{N}\left(-\alpha_{\frac{T}{2}}\right)\right)
+2e2(yd)μσ2σT2(ϕ(αT2)αT2N(αT2))(ρ(r+dμT2)(Mm0)+max0mMBF(MB,m)max0mMAF(MA,m))\displaystyle+\frac{2e^{\frac{2(y-d)\mu}{\sigma^{2}}}}{\sigma\sqrt{{\frac{T}{2}}}}\left(\phi(\alpha_{\frac{T}{2}})-\alpha_{\frac{T}{2}}N(-\alpha_{\frac{T}{2}})\right)\left(-\rho(r+d-\mu{\frac{T}{2}})(M-m_{0})+\max_{0\leq m\leq M_{B}}F(M_{B},m)-\max_{0\leq m\leq M_{A}}F(M_{A},m)\right)
+2(yd)N~(αTn)σ2T2(ρ(r+d)(Mm0)+max0mMBF(MB,m)max0mMAF(MA,m))\displaystyle+\frac{2(y-d)\tilde{N}\left(-\alpha_{\frac{T}{n}}\right)}{\sigma^{2}{\frac{T}{2}}}\left(-\rho(r+d)(M-m_{0})+\max_{0\leq m\leq M_{B}}F(M_{B},m)-\max_{0\leq m\leq M_{A}}F(M_{A},m)\right)

Since first line is negative, if we show that (max0mMBF(MB,m)max0mMAF(MA,m))<ρ(r+d)(Mm0)\left(\max_{0\leq m\leq M_{B}}F(M_{B},m)-\max_{0\leq m\leq M_{A}}F(M_{A},m)\right)<\rho(r+d)(M-m_{0}), we can show that the entire expression is negative. The proof follows:

max0mMBF(MB,m)max0mMAF(MA,m)=ρMB(ρ(d+r)(1ρ)(d+fμT2))+max0mMB[mϵ3+mβmin(Km,0)+β(MBm)(1ρ)min(K(MBm)(1ρ),0)]max0mMA[mϵ3+mβmin(Km,0)+β(MAm)(1ρ)min(K(MAm)(1ρ),0)]\displaystyle\begin{aligned} &\max_{0\leq m\leq M_{B}}F(M_{B},m)-\max_{0\leq m\leq M_{A}}F(M_{A},m)\\ =&\rho M_{B}(\rho(d+r)-(1-\rho)(d+f-\mu{\frac{T}{2}}))\\ &+\max_{0\leq m\leq M_{B}}\left[-m\epsilon_{3}+m\beta\min(K-m,0)+\beta(M_{B}-m)(1-\rho)\min(K-(M_{B}-m)(1-\rho),0)\right]\\ &-\max_{0\leq m\leq M_{A}}\left[-m\epsilon_{3}+m\beta\min(K-m,0)+\beta(M_{A}-m)(1-\rho)\min(K-(M_{A}-m)(1-\rho),0)\right]\end{aligned} (4.8)

Let’s denote mb:=argmaxF(MB,m)m^{b}:=\arg\max F(M_{B},m). Let’s divide into two cases: mbMA=MB(1ρ)m^{b}\leq M_{A}=M_{B}(1-\rho) and MA=MB(1ρ)<mb<MBM_{A}=M_{B}(1-\rho)<m^{b}<M_{B}.

Case 1, mbMA=MB(1ρ)m^{b}\leq M_{A}=M_{B}(1-\rho): In this case, max0mMAF(MA,m)F(MA,m=mb)\max_{0\leq m\leq M_{A}}F(M_{A},m)\geq F(M_{A},m=m^{b}), so max0mMBF(MB,m)max0mMAF(MA,m)F(MB,m=mb)F(MA,m=mb)\max_{0\leq m\leq M_{B}}F(M_{B},m)-\max_{0\leq m\leq M_{A}}F(M_{A},m)\leq F(M_{B},m=m^{b})-F(M_{A},m=m^{b}), therefore

(4.8)ρMB(ρ(d+r)(1ρ)(d+fμT2))\displaystyle(\ref{thm5:proof:eq1})\leq\rho M_{B}(\rho(d+r)-(1-\rho)(d+f-\mu{\frac{T}{2}}))
+[mbϵ3+mbβmin(Kmb,0)+β(MBmb)(1ρ)min(K(MBmb)(1ρ),0)]\displaystyle+\left[-m^{b}\epsilon_{3}+m^{b}\beta\min(K-m^{b},0)+\beta(M_{B}-m^{b})(1-\rho)\min(K-(M_{B}-m^{b})(1-\rho),0)\right]
+[mbϵ3+mbβmin(Kmb,0)+β(MAmb)(1ρ)min(K(MAmb)(1ρ),0)]\displaystyle+\left[-m^{b}\epsilon_{3}+m^{b}\beta\min(K-m^{b},0)+\beta(M_{A}-m^{b})(1-\rho)\min(K-(M_{A}-m^{b})(1-\rho),0)\right]
=ρ2MB(d+r)ρ(1ρ)(d+fμT2)MB\displaystyle=\rho^{2}M_{B}(d+r)-\rho(1-\rho)(d+f-\mu{\frac{T}{2}})M_{B}
+β(MBmb)(1ρ)min(K(MBmb)(1ρ),0)β(MAmb)(1ρ)min(K(MAmb)(1ρ),0)\displaystyle+\beta(M_{B}-m^{b})(1-\rho)\min(K-(M_{B}-m^{b})(1-\rho),0)-\beta(M_{A}-m^{b})(1-\rho)\min(K-(M_{A}-m^{b})(1-\rho),0)
<ρ2MB(d+r)(Mm0)ρ(d+r).\displaystyle<\rho^{2}M_{B}(d+r)\leq(M-m_{0})\rho(d+r).

Case 2, MA=MB(1ρ)<mb<MBM_{A}=M_{B}(1-\rho)<m^{b}<M_{B}:

In this case, max0mMAF(MA,m)F(MA,m=MA)\max_{0\leq m\leq M_{A}}F(M_{A},m)\geq F(M_{A},m=M_{A}), so max0mMBF(MB,m)max0mMAF(MA,m)F(MB,m=mb)F(MA,m=mA)\max_{0\leq m\leq M_{B}}F(M_{B},m)-\max_{0\leq m\leq M_{A}}F(M_{A},m)\leq F(M_{B},m=m^{b})-F(M_{A},m=m_{A}), therefore

(4.8)ρMB(ρ(d+r)(1ρ)(d+fμT2))\displaystyle(\ref{thm5:proof:eq1})\leq\rho M_{B}(\rho(d+r)-(1-\rho)(d+f-\mu{\frac{T}{2}}))
+[mbϵ3+mbβmin(Kmb,0)+β(MBmb)(1ρ)min(K(MBmb)(1ρ),0)]\displaystyle+\left[-m^{b}\epsilon_{3}+m^{b}\beta\min(K-m^{b},0)+\beta(M_{B}-m^{b})(1-\rho)\min(K-(M_{B}-m^{b})(1-\rho),0)\right]
[MAϵ3+MAβmin(KMA,0)]\displaystyle-\left[-M_{A}\epsilon_{3}+M_{A}\beta\min(K-M_{A},0)\right]
=ρ2MB(d+r)ρ(1ρ)(d+fμT2)MB\displaystyle=\rho^{2}M_{B}(d+r)-\rho(1-\rho)(d+f-\mu{\frac{T}{2}})M_{B}
+[mb(ρ(2d+r+f)+μT2(1ρ)βmin(Kmb,0))\displaystyle+\bigg{[}-m^{b}\left(\rho(2d+r+f)+\mu{\frac{T}{2}}(1-\rho)-\beta\min(K-m^{b},0)\right)
+β(MBmb)(1ρ)min(K(MBmb)(1ρ),0)]\displaystyle\quad+\beta(M_{B}-m^{b})(1-\rho)\min(K-(M_{B}-m^{b})(1-\rho),0)\bigg{]}
[MAρ(2d+r+f)MAμT2(1ρ)+MAβmin(KMA,0)]\displaystyle-\left[-M_{A}\rho(2d+r+f)-M_{A}\mu{\frac{T}{2}}(1-\rho)+M_{A}\beta\min(K-M_{A},0)\right]
<ρ2MB(d+r)+ρ(1ρ)μT2MBmbμt(1ρ)+MAμT2(1ρ)<ρ2MB(d+r)ρ(Mm0)(d+r).\displaystyle<\rho^{2}M_{B}(d+r)+\rho(-1\rho)\mu{\frac{T}{2}}M_{B}-m^{b}\mu t(1-\rho)+M_{A}\mu{\frac{T}{2}}(1-\rho)<\rho^{2}M_{B}(d+r)\leq\rho(M-m_{0})(d+r).

So we proved that (max0mMBF(MB,m)max0mMAF(MA,m))<ρ(r+d)(Mm0)\left(\max_{0\leq m\leq M_{B}}F(M_{B},m)-\max_{0\leq m\leq M_{A}}F(M_{A},m)\right)<\rho(r+d)(M-m_{0}), which implies yMECF(n,S0,y,m0,M,T)<0\frac{\partial}{\partial y}MECF(n,S_{0},y,m_{0},M,T)<0. Therefore, y=dy^{*}=d.

Remark 5.

While we’ve only proved for the case for two-period case, y0n=dy_{0}^{*n}=d appears to be true for all nn.

Now, let us study what happens to m0nm_{0}^{*n}. Let us show the behavior of m02m_{0}^{*2}.

Theorem 4.4.

For m0nm_{0}^{*n} defined as in Proposition 4.1, m02m01m_{0}^{*2}\leq m_{0}^{*1} when μ<0\mu<0. For m02m_{0}^{*2},

  1. 1.

    If ρ=1\rho=1, m02=0m_{0}^{*2}=0.

  2. 2.

    If ρ<1\rho<1 and KM`K\geq M^{`},

    • m02=0m_{0}^{*2}=0 when ρ(3d+2r+f)+μt(1ρ)>0\rho(3d+2r+f)+\mu t(1-\rho)>0

    • m02=M`m_{0}^{*2}=M^{`} when ρ(3d+2r+f)+μt(1ρ)<0\rho(3d+2r+f)+\mu t(1-\rho)<0

  3. 3.

    If ρ<1\rho<1 and K<M`K<M^{`},

  4. m02m_{0}^{*2} is one of {0,K,M`K/(1ρ),M`,m12,m22,m33}\{0,K,M^{`}-K/(1-\rho),M^{`},m^{*2}_{1},m^{*2}_{2},m^{*3}_{3}\} where

m12=K/2ϵ3`/2β,m22=M`K2(1ρ)ϵ3`2(1ρ)2β,m32=2M`β(1ρ)2+βρKϵ3`2β(1+(1ρ)2),m^{*2}_{1}=K/2-\epsilon_{3}^{`}/2\beta,\quad m^{*2}_{2}=M^{`}-\frac{K}{2(1-\rho)}-\frac{\epsilon_{3}^{`}}{2(1-\rho)^{2}\beta},\quad m^{*2}_{3}=\frac{2M^{`}\beta(1-\rho)^{2}+\beta\rho K-\epsilon_{3}^{`}}{2\beta(1+(1-\rho)^{2})},

where ϵ3`:=ρ(3d+2r+f)+(1ρ)μT\epsilon_{3}^{`}:=\rho(3d+2r+f)+(1-\rho)\mu T and M`:=Mm1M^{`}:=M-m_{1},

m1:=argmax0mMECF(n=1,S0,y=d,m,M,T/2)m_{1}:=\arg\max_{0\leq m\leq M}ECF(n=1,S_{0},y=d,m,M,T/2), which can be computed using Theorem 3.6.

Proof.

Note that the MECF for n=2n=2 can be written as following, where the notations are borrowed from the proof of Theorem 4.2.

MECF(n=2,S0,y=d,m0,M,T)=MS0+m0(d+βmin(Km0,0)f)+(Mm0)ρ{(d+r)}+μT2(Mm0)(1ρ)+(Mm0)(ρ(d+r)(1ρ)(d+fμT/2))+max0m1MA[m1ϵ3+m1βmin(Km,0)+β(MAm1)(1ρ)min(K(MAm1)(1ρ),0)],\displaystyle\begin{aligned} MECF&(n=2,S_{0},y=d,m_{0},M,T)\\ =&MS_{0}+m_{0}(-d+\beta\min(K-m_{0},0)-f)+(M-m_{0})\rho\left\{(d+r)\right\}\\ +&\mu\frac{T}{2}(M-m_{0})(1-\rho)+(M-m_{0})(\rho(d+r)-(1-\rho)(d+f-\mu T/2))\\ +&\max_{0\leq{m_{1}}\leq M_{A}}[-{m_{1}}\epsilon_{3}+{m_{1}}\beta\min(K-m,0)+\beta(M_{A}-{m_{1}})(1-\rho)\min(K-(M_{A}-{m_{1}})(1-\rho),0)],\end{aligned} (4.9)

MA=(Mm0)(1ρ)M_{A}=(M-m_{0})(1-\rho).

mm which minimizes MECF(n=2,S0,y=d,m,M,T)MECF(n=2,S_{0},y=d,m,M,T) actually minimizes the following with respect to m0m_{0}:

m0βmin(Km0,0)m0ϵ3`+β(M`m0)(1ρ)min(K(Mm0)(1ρ),0),\displaystyle-m_{0}\beta min(K-m_{0},0)-m_{0}\epsilon_{3}^{`}+\beta(M^{`}-m_{0})(1-\rho)min(K-(M^{{}^{\prime}}-m_{0})(1-\rho),0),

while the solution for n=1n=1 minimizes

mβmin(Km,0)mϵ3+β(Mm)(1ρ)min(K(Mm)(1ρ),0),-m\beta min(K-m,0)-m\epsilon_{3}+\beta(M-m)(1-\rho)min(K-(M-m)(1-\rho),0),

with respect to m. Note that ϵ3:=ρ(2d+r+f)+μt(1ρ)\epsilon_{3}:=\rho(2d+r+f)+\mu t(1-\rho), ϵ3`:=ρ(3d+2r+f)+(1ρ)μT\epsilon_{3}^{`}:=\rho(3d+2r+f)+(1-\rho)\mu T and M`:=Mm1M^{`}:=M-m_{1}.

Using the proof of Theorem 3.6. we have

  1. 1.

    If ρ=1\rho=1, m02=0m_{0}^{*2}=0.

  2. 2.

    If ρ<1\rho<1 and KM`K\geq M^{`},

    • m02=0m_{0}^{*2}=0 when ρ(3d+2r+f)+μt(1ρ)>0\rho(3d+2r+f)+\mu t(1-\rho)>0

    • m02=M`m_{0}^{*2}=M^{`} when ρ(3d+2r+f)+μt(1ρ)<0\rho(3d+2r+f)+\mu t(1-\rho)<0

  3. 3.

    If ρ<1\rho<1 and K<M`K<M^{`},

  4. m02m_{0}^{*2} is one of {0,K,M`K/(1ρ),M,m12,m22,m33}\{0,K,M^{`}-K/(1-\rho),M,m^{*2}_{1},m^{*2}_{2},m^{*3}_{3}\} where

m12=K/2ϵ3`/2β,m22=M`K2(1ρ)ϵ3`2(1ρ)2β,m32=2M`β(1ρ)2+βρKϵ3`2β(1+(1ρ)2).m^{*2}_{1}=K/2-\epsilon_{3}^{`}/2\beta,\quad m^{*2}_{2}=M^{`}-\frac{K}{2(1-\rho)}-\frac{\epsilon_{3}^{`}}{2(1-\rho)^{2}\beta},\quad m^{*2}_{3}=\frac{2M^{`}\beta(1-\rho)^{2}+\beta\rho K-\epsilon_{3}^{`}}{2\beta(1+(1-\rho)^{2})}.
Remark 6.

Note that ϵ3<ϵ3`\epsilon_{3}<\epsilon_{3}^{`}, and M`<MM^{`}<M, which makes m12m1m^{*2}_{1}\leq m_{1}^{*}, m22m2m^{*2}_{2}\leq m_{2}^{*}, m32m3m^{*2}_{3}\leq m_{3}^{*}. From this inequality, it is observed that m02m^{*2}_{0}, the optimal Market Order quantity at time 0 for the two-step case is less than (or equal to ) m0m^{*}_{0}, the optimal Market Order quantity at time 0 for the one-step case.

Refer to caption
Refer to caption
Figure 6: mm^{*} (left) and yy^{*} (right) for multi-period (dots) and single period (lines). M=100,r=0.003,f=0.003,ϵ=0.01,d=ϵ/2=0.005,T=0.1,S0=100,σ=0.1M=100,r=0.003,f=0.003,\epsilon=0.01,d=\epsilon/2=0.005,T=0.1,S_{0}=100,\sigma=0.1.

Behaviors of y01y_{0}^{*1} (line) and y02y_{0}^{*2} (points) for different ρ\rho values (black: ρ=0.4\rho=0.4, red: ρ=0.8\rho=0.8, blue: ρ=1\rho=1 are described in the right panel of Figure 6. We observe that when μ<0\mu<0, y02=dy_{0}^{*2}=d as described in Theorem 4.3. For μ>0\mu>0, it appears that it still increases in a linear (step-wise linear) way, but its slope against ρ\rho is more sensitive to the value of ρ\rho for n=2n=2. More specifically, when ρ=0.4\rho=0.4, y2<y1y^{*2}<y^{*1}, but when ρ=0.8,1\rho=0.8,1, y2>y1y^{*2}>y^{*1}. This is explained by the chance of the maxECF\max ECF for the single period.

For the single period, when limit orders are not executed, the investor use a market order at time TT. Then, the expected stock price does not change with respect to ρ\rho, and the change of yy^{*} w.r.t. ρ\rho in the single period is minimal.

However, the maxECF\max ECF (for the single period) changes when ρ\rho changes. When n=2n=2, if the limit order placed at t=0t=0 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 ρ\rho. Therefore, y2y^{*2} changes more sensitively to the change of ρ\rho than yy^{*} . 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 m01m_{0}^{*1} and m02m_{0}^{*2} against μ\mu for different ρ\rhos. It appears that m02m01m_{0}^{*2}\leq m_{0}^{*1}, which implies that the optimal quantity for the market order at time 0 decreases when nn, 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 KK 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, mm^{*}, for the single order. In addition, the approximation of the optimal price level for the limit order, yy^{*}, has been calculated. The behavior of yy^{*} and mm^{*} 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 (yy^{*}, mm^{*}) 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.