Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf ·...

10
Market Making Activity and Market Quality, part I. Jonathan A. Ch´ avez Casillas 1 1 University of Calgary Department of Mathematics and Statistics LOBster Seminar Jonathan Ch´ avez (University of Calgary) Market Making August 31, 2016 1 / 10

Transcript of Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf ·...

Page 1: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

Market MakingActivity and Market Quality, part I.

Jonathan A. Chavez Casillas1

1University of CalgaryDepartment of Mathematics and Statistics

LOBster Seminar

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 1 / 10

Page 2: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

Introduction

A Market Maker (MM) maximizes terminal wealth by trading in and out positions using LOs.

1) S = (St := S0 + σWt )0≤t≤T denotes the midprice.

2) δ± = (δ±)0≤t≤T denotes the depth for posting LO. Sell LO are posted at St + δ+t and buy at St − δ−

t .

3) M± = (M±t )0≤t≤T denotes counting processes corresponding to the arrival of of other participants buy (+) and sell (-) MO.

4) Nδ,± = (Nδ,±t )0≤t≤T denote the controlled counting process for the agent’s filled sell (+) and buy (-) LOs.

5) Conditional ona MO arrival, the posed LO is filled with probability e−κ±δ±t .

6) Xδ = (Xt δ)0≤t≤T denotes the MM’s cash process and satisfies the SDE

dXδt = (St− + δ+t )dNδ,+t − (St − δ

−t )dNδ,−t

7) Qδ = (Qδt )0≤t≤T denotes the inventory process and

Qδt = Nδ,−t − Nδ,+t

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 2 / 10

Page 3: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

Market Making

The MM caps his inventory. That is, q is between q < 0 and q > 0. Moreover, the performance criterion of the MMis

Hδ(t, x ,S, q) = Et,x,q,S

[XT + Qδ

t (SδT − αQδT )− φ

∫ T

t(Qu)2du

]Then, the MM value function is

H(t, x ,S, q) = supδ±∈A

Hδ(t, x ,S, q)

After formulating the DPP (see equation 10.4 and 10.5) we assume that H has the ansatz,

H(t, x , q,S) = x + qS + h(t, q)

As before, we obtain the optimal control in feedback form:

δ+,∗(t, q) = 1κ+ − h(t, q − 1) + h(t, q), q , q

δ−,∗(t, q) = 1κ−− h(t, q + 1) + h(t, q), q , q

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 3 / 10

Page 4: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

Substituting the optimal controls into de DPE:

φq2 = ∂th(t, q) + e−1λ+

κ+ e−κ+(−h(t,q−1)+h(t,q))

1{q>q} + e−1λ−

κ−e−κ

−(−h(t,q+1)+h(t,q))1{q<q}

Assuming that κ = κ+ = κ− then the solution of the DPE is given by

h(t, q) = 1κ

log(ω(t, q)),

where ω(t, q) is an entry on the vector ω(t) = [ω(t, q), ω(t, q − 1, . . . , ω(t, q)]T . Moreover, the vector ω(t) satisfiesthe equation

ω(t) = eA(T−t)z,

where A is the tridiagonal matrix whose entries range from q to q, its diagonal entries are −φκq2, the entries belowthe diagonal are λ+e−1 and the entries above the diagonal are λ−e−1 and z is the vector whose componets arezj = e−ακj2

, where j ranges from q to q.

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 4 / 10

Page 5: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

Behaviour of the Strategy

When the strategy is far away from expiry and inventories are close to the allowed minimum, the optimal sell postingis furthest away from the midprice at a very high price (need high incentive to even go further down) but the optimalbuy posting is close to the midprice to complete round-trips. Moreover, as the strategy approaches T and qt < 0,the optimal sell depth δ+ decreases.

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 5 / 10

Page 6: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

The figure shows the inventory and price path for one simulation of the strategy. We can see in the left that theinventory is mean reverting and that in this particular path, although the cap is set to be 10, the inventory neversurpasses 5. In the right, it is displayed a window of the midprice along with MM’s buy and sell LOs. Solid circlesshow incoming MO that are filled by the resting LO of the MM.

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 6 / 10

Page 7: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

The figure shows the Profit and Loss (P& L) of the optimal strategy on the left and on the right thelifetime of the inventory for different values of the running penalty φ. When φ increases, the P& Lhistogram shifts to the left because the strategy does not allow inventory positions to stray awayfrom 0, and hence profits decrease.

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 7 / 10

Page 8: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

Market Making with no Inventory Restrictions

Assume that φ = α = 0, so that there no terminal inventory penalty and no penalzation on running inventories.Then the optimal strategy is

δ+,∗ = 1κ+ , and δ−,∗ = 1

κ−

Here, it is just maximized the probability of being filled.

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 8 / 10

Page 9: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

Market Making at the touch

In very liquid markets, most of the MO do not walk the book. Thus, the MM just posts LO at the touch. For thismodel, assume that the spread is constant to ∆. Let l±t ∈ {0, 1} denote whether the agent is posted on the sell side(+) or the buy side (-) of the LOB. In this way the agent may post at both, any or none of the sides of the book.The performance criteria of the agent is given by:

H l (t, x ,S, q) = Et,x,q,S

[X l

T + Qlt(ST ( ∆

2 + φQlT ))− φ

∫ T

t(Ql

u)2du]

and the safter solving the DPE, the optimal control has the form:

l+,∗(t, q) = 1{{ ∆2 +h(t,q−1)−h(t,q)>0}∩{q>q}}

l−,∗(t, q) = 1{{ ∆2 +h(t,q+1)−h(t,q)>0}∩{q>q}}

Thus, the agent posts a LO on the appropriate side of the LOB by ensuring that she only posts if the arrival of aMO, which hits his LO, produces a change in her value by more than −∆/2.

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 9 / 10

Page 10: Market Making - Activity and Market Quality, part I.people.ucalgary.ca/~aswish/Chapter10_p1.pdf · Market Making Activity and Market Quality, part I. Jonathan A. Ch´avez Casillas

In the figure, it is shown that the agent’s optimal posting varies with time and running penalty. In the left, we seethat the agent only posts sell LO when her inventory is very high and buy LO when is very low. In the central regionshe posts both. On the right we see that when the running penalty increases, the region over which the agentconstraints her inventory shrink and eventually arrives to a region where she only posts one unit of the asset at atime and then immediately liquidates it.

Jonathan Chavez (University of Calgary) Market Making August 31, 2016 10 / 10