Optimal split of orders across liquidity pools: a stochastic - - PowerPoint PPT Presentation

optimal split of orders across liquidity pools a
SMART_READER_LITE
LIVE PREVIEW

Optimal split of orders across liquidity pools: a stochastic - - PowerPoint PPT Presentation

Optimal split of orders across liquidity pools: a stochastic algorithm approach Sophie Laruelle , Charles-Albert Lehalle & Gilles Pag` es LPMA & Chevreux Atelier TaMS - Coll` ege de France October 22, 2009 Gilles Pag` es Optimal


slide-1
SLIDE 1

Optimal split of orders across liquidity pools: a stochastic algorithm approach

Sophie Laruelle, Charles-Albert Lehalle & Gilles Pag` es

LPMA & Chevreux

Atelier TaMS - Coll` ege de France October 22, 2009

Gilles Pag` es Optimal split of orders across liquidity pools

slide-2
SLIDE 2

Outline

1 Introduction

A simple model for the execution of orders by dark pools

2 Optimal allocation under constraints

Optimization Algorithm The (IID) setting: a.s. convergence and CLT The (ERG) setting: convergence

3 A reinforcement algorithm

Existence of an equilibrium A competitive system

4 Numerical Tests

The IID setting The ERG setting The pseudo-real data setting

5 Provisional remarks

Gilles Pag` es Optimal split of orders across liquidity pools

slide-3
SLIDE 3

Outline

1 Introduction

A simple model for the execution of orders by dark pools

2 Optimal allocation under constraints

Optimization Algorithm The (IID) setting: a.s. convergence and CLT The (ERG) setting: convergence

3 A reinforcement algorithm

Existence of an equilibrium A competitive system

4 Numerical Tests

The IID setting The ERG setting The pseudo-real data setting

5 Provisional remarks

Gilles Pag` es Optimal split of orders across liquidity pools

slide-4
SLIDE 4

Static modelling

The principle of a Dark pool is the following: It proposes a bid price with no guarantee of executed quantity at the

  • ccasion of an OTC transaction.

Usually this price is lower than the bid price offered on the regular market. So one can model the impact of the existence of N dark pools (N ≥ 2) on a given transaction as follows: Let V > 0 be the random volume to be executed, Let θi ∈ (0, 1) be the discount factor proposed by the dark pool i. Let ri denote the percentage of V sent to the dark pool i for execution. Let Di ≥ 0 be the quantity of securities that can be delivered (or mase available) by the dark pool i at price θiS.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-5
SLIDE 5

Cost of the executed order

The rest of the order is to be executed on the regular market, at price S. Then the cost C of the whole executed order is given by C = S

N

  • i=1

θi min (riV , Di) + S

  • V −

N

  • i=1

min (riV , Di)

  • =

S

  • V −

N

  • i=1

ρi min (riV , Di)

  • where

ρi = 1 − θi ∈ (0, 1), i = 1, . . . , N.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-6
SLIDE 6

Mean Execution Cost

Minimizing the mean execution cost, given the price S, amounts to solving the following maximization problem max N

  • i=1

ρiE (S min (riV , Di)) , r ∈ PN

  • (1)

where PN :=

  • r = (ri)1≤i≤N ∈ RN

+ | N i=1 ri = 1

  • .

It is then convenient to include the price S into both random variables V and Di by considering

  • V := V S

and

  • Di := DiS

instead of V and Di.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-7
SLIDE 7

The dynamical aspect

We consider the sequence Y n := (V n, Dn

1, . . . , Dn N)n≥1.

We will take two types of stationarity assumptions on the sequence (IID) ≡ The sequence (Y n)n≥1 is i.i.d. with distribution ν = L(V , D1, . . . , DN) on

  • RN+1

+

, B(RN+1

+

)

  • .

(ERG)i ≡                  (i) the sequence (V n, Dn

i )n≥1 is a stationary Feller

homogeneous Markov chain with distribution L(V , Di), (ii) the sequence (V n, Dn

i )n≥1 is ergodic i.e.

P-a.s. 1 n

n

  • k=1

δ(V k,Dk

i )

(R2

+)

= ⇒ νi = L(V , Di),

Gilles Pag` es Optimal split of orders across liquidity pools

slide-8
SLIDE 8

Towards some solutions

There are two approaches to deal with this problem. A classical maximization (under constraints using a Lagrangian). An approach, somewhat more intuitive, based on a reinforcement principle; the algorithm is devised by R. Berenstein and C.-A. Lehalle in keeping with R. Almgren. We will study both and try comparing their assets and drawbacks.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-9
SLIDE 9

Outline

1 Introduction

A simple model for the execution of orders by dark pools

2 Optimal allocation under constraints

Optimization Algorithm The (IID) setting: a.s. convergence and CLT The (ERG) setting: convergence

3 A reinforcement algorithm

Existence of an equilibrium A competitive system

4 Numerical Tests

The IID setting The ERG setting The pseudo-real data setting

5 Provisional remarks

Gilles Pag` es Optimal split of orders across liquidity pools

slide-10
SLIDE 10

The mean execution function of a dark pool

Let ϕ : [0, 1] → R+ be the mean execution function of a single dark pool defined by ∀r ∈ [0, 1] , ϕ(r) = ρ E (min (rV , D)) (2) where ρ > 0, (V , D) is an R2

+-valued random vector defined on a

probability space (Ω, A, P). To ensure the consistency of the model, we assume that V > 0 P − a.s., V ∈ L1(P) and P(D > 0) > 0 (3) The positivity of V means that we consider only true orders. The fact that D is not identically 0 means that the dark pool exists in practice.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-11
SLIDE 11

The function ϕ is clearly concave, non-decreasing, bounded and if the distribution function of D V is continuous on R∗

+,

(4) then ϕ is everywhere differentiable on the unit interval [0, 1] with ϕ′(r) = ρE

  • 1{rV <D}V
  • , r ∈ [0, 1] .

(5) So the distribution of D

V has no atom except possibly at 0. It can be

interpreted as the fact the dark pool has no ”quantized” answer to an

  • rder.

One extends ϕ on the whole real line into a concave non-decreasing function with lim±∞ ϕ = ±∞.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-12
SLIDE 12

Extension of the mean execution function

One extends ϕ in the whole real line into a concave non decreasing function with lim±∞ ϕ = ±∞.

−1 −0.5 0.5 1 1.5 2 2.5 3 −6 −4 −2 2 4 6 8

Extension

Gilles Pag` es Optimal split of orders across liquidity pools

slide-13
SLIDE 13

Optimal allocation of orders among N dark pools

Assume that V satisfies (3). We set for every r = (r1, . . . , rN) ∈ PN, Φ(r1, . . . , rN) :=

N

  • i=1

ϕi(ri). where for every i ∈ IN = {1, . . . , N}, ϕi(u) := ρiE (min (uV , Di)) , u ∈ [0, 1] Based on the extension of the functions ϕi, we can formally extend Φ on the whole affine hyperplan spanned by PN i.e. HN :=

  • r = (r1, . . . , rN) ∈ RN |

N

  • i=1

ri = 1

  • Gilles Pag`

es Optimal split of orders across liquidity pools

slide-14
SLIDE 14

The Lagrangian Approach

We aim at solving the following maximization problem max

r∈PN Φ(r)

(6) The Lagrangian associated to the sole affine constraint is L(r, λ) = Φ(r) − λ N

  • i=1

ri − 1

  • (7)

So, for every i ∈ IN, ∂L ∂ri = ϕ′

i(ri) − λ.

This suggests that any r∗ ∈ arg maxPN Φ iff ϕ′

i(r∗ i ) is constant when i runs

  • ver IN or equivalently if

∀i ∈ IN, ϕ′

i(r∗ i ) = 1

N

N

  • j=1

ϕ′

j(r∗ j ).

(8)

Gilles Pag` es Optimal split of orders across liquidity pools

slide-15
SLIDE 15

Existence of maximum

To ensure that the candidate provided by the Lagragian approach is the true one, we need an additional assumption on ϕ to take into account the bahaviour of Φ on the boundary of ∂PN.

Proposition 1

Assume that (V , Di) satisfies (3) and (4) for every i ∈ IN. Assume that the functions ϕi satisfy the following assumption (C) ≡ min

i∈IN

ϕ′

i(0) > max i∈IN

ϕ′

i

  • 1

N − 1

  • .

(9) Then arg maxHN Φ = arg maxPN Φ ⊂ int(PN) where arg max

PN Φ =

  • r ∈ PN | ϕ′

i(ri) = ϕ′ 1(r1), i = 1, . . . , N

  • .

Gilles Pag` es Optimal split of orders across liquidity pools

slide-16
SLIDE 16

Interpretation and Comments

Assumption (C) is a kind of homogenity assumption on the rebates made by the involved dark pools. If we assume that P(Di = 0) = 0 for every i ∈ IN (all dark pools buy or sell at least one security at the announced price!), then (C) ≡ min

i∈IN

ρi > max

i∈IN

  • ρi

E V 1{

V N−1 ≤Di}

E V

  • since ϕ′

i(0) = ρi E V . In particular, it is always satisfied when

ρi = ρ, i ∈ IN.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-17
SLIDE 17

Interpretation of Condition (C)

We consider the case where N = 2. We have then the two following derivatives ϕ

1(r1)

and ϕ

2(r2) = ϕ

2(1 − r1)

0.2 0.4 0.6 0.8 1 0.5 1 1.5 2 2.5 3 3.5 4 4.5 r

Condition (C) satisfied

φ’

1(r)

φ’

2(1−r)

0.2 0.4 0.6 0.8 1 0.5 1 1.5 2 2.5 3 3.5 4 r

Condition (C) not satisfied

φ’

1(r)

φ’

2(1−r)

Gilles Pag` es Optimal split of orders across liquidity pools

slide-18
SLIDE 18

Design of the stochastic algorithm

Remark: a1, . . . , aN are equal iff ai = a1+···+aN

N

, ∀1 ≤ i ≤ N. Then using the representation of the derivatives ϕ′

i yields that, if Assumption (C) is

satisfied, then r∗ ∈ arg max

PN Φ ⇔

∀i ∈ {1, . . . , N} , E

  • V
  • ρi1{r∗

i V <Di} − 1

N

N

j=1 ρj1{r∗

j V <Dj}

  • = 0.

Consequently, this leads to the following recursive zero search procedure rn+1

i

= rn

i + γn+1Hi(rn, Y n+1), r0 ∈ PN, i ∈ IN,

(10)

Gilles Pag` es Optimal split of orders across liquidity pools

slide-19
SLIDE 19

where for i ∈ IN, every r ∈ PN, every V > 0 and every D1, . . . , DN ≥ 0, Hi(r, Y ) = V  ρi1{riV <Di} − 1 N

N

  • j=1

ρj1{rjV <Dj}   where (Y n)n≥1 is a sequence of random vectors with non negative components such that, for every n ≥ 1 and i ∈ IN, (V n, Dn

i ) d

= (V , Di).

The underlying idea of the algorithm

is to reward the dark pools which outperform the mean of the N dark pools by increasing the allocated volume sent at the next step (and conversely).

Gilles Pag` es Optimal split of orders across liquidity pools

slide-20
SLIDE 20

Constraint Problem

In this algorithm, we took into account the constraint

N

  • i=1

ri = 1, but not ri > 0, ∀1 ≤ i ≤ N. So the algorithm may exit from the simplex PN stable. To overcome this problem, we have two possibilities

1 Use a Lyapunov function and a strong mean-reverting assumption out

  • f PN : this solution is simpler from a mathematical point of view.

2 Force the coefficients ri to stay in PN by a truncation-projection

procedure: this solution is more efficient for users.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-21
SLIDE 21

Convergence Theorem

Theorem 1

Assume that V ∈ L2(P) and that Assumption (C) holds. Let γ := (γn)n≥1 be a step sequence satisfying the usual decreasing step assumption

  • n≥1

γn = +∞ and

  • n≥1

γ2

n < +∞.

Let (Y n)n≥1 be an i.i.d. sequence defined on a probability space (Ω, A, P). Then, there exists an arg maxPN Φ-valued random variable r∞ such that rn a.s. − → r∞.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-22
SLIDE 22

Rate of convergence (Central Limit Theorem)

To establish a CLT, we need to ensure the existence of the Hessian of the

  • bjective function Φ. This needs further assumption on a couple (V , D)

which is that the conditional disctribution function FD(u | V = v, D > 0) := P(D ≤ u | V = v, D > 0), u ≥ 0, v > 0, admits a density fD(u, v) such that and satisfying              (i) FD(u | V = v, D > 0) = u

0 fD(u′, v)du′

(ii) for every v > 0, u → fD(u, v) is continuous and positive, (iii) ∀ ε∈ (0, 1), sup

εV ≤u≤V /ε

fD(u, V )V 2 ∈ L1(P). (11)

Gilles Pag` es Optimal split of orders across liquidity pools

slide-23
SLIDE 23

Central Limit Theorem

Theorem 2

Assume that Assumption (11) holds for every (V , Di), i ∈ IN and that V ∈ L2+δ(P), δ > 0. Set γn = c

n, n ≥ 1 with c > 1 2ℜ(λmin), where λmin

denotes the eigenvalue of A∞ := −Dh(r∞) |1⊥ with the lowest real part. Then √n (rn − r∞)

L

− → N (0, cΣ∗) (12) where the asymptotic variance is given by Σ∗ = ∞ eu(A∞− Id

2c )Σ∞e(A∞− Id 2c )tdu

where Σ∞ = E

  • H (r∞, V , D1, . . . , DN) H (r∞, V , D1, . . . , DN)t

|1⊥ and

  • A∞ − Id

2c

t stands for the transpose operator of A∞ − Id

2c ∈ L(1⊥).

Gilles Pag` es Optimal split of orders across liquidity pools

slide-24
SLIDE 24

Convergence in (ERG) setting

We assume that for every i ∈ {1, . . . , N}, the sequence (V n, Dn

i )n≥1

satisfies (ERG)i with a limiting distribution (V , Di) satisfying the consistency assumption (3) and the continuity assumption (4), which implies by standard weak convergence arguments that for every i ∈ IN and every u ∈ R+, 1 n

n

  • k=1

V k1{uV k<Dk

i } − E(V 1{uV ≤Di})) a.s.

− → 0 since the (non-negative) function fu(v, y) := v1{uv≤y} is P(V ,Di)-a.s. continuous and O(v) as v → ∞ by (4). We assume that there exists an exponent αi ∈ (0, 1) such that ∀ u ∈ R+, 1 n

n

  • k=1

V k1{uV k<Dk

i } − E(V 1{uV <Di})

a.s. & in L2(P)

= O(n−αi) (13)

Gilles Pag` es Optimal split of orders across liquidity pools

slide-25
SLIDE 25

Convergence Theorem

Theorem 3

Let (Vn, D1

n, . . . , DN n )n≥1 be a stationary Feller homogeneous Markov

chain and assume that supn≥0 E(V n)4 < +∞. Furthermore, assume that for every i ∈ IN, the sequence (V n, Dn

i )n≥1 is ergodic at rate αi ∈ (0, 1)

toward (V , Di). Assume that the distribution of (V , Di) satisfies the consistency assumption (3) and the continuity assumption (4). If the step sequence (γn)n≥1 satisfies

  • n≥1

γn = +∞, γn = o(nα−1) and

  • n≥1

n1−α max(γ2

n, |γn−γn+1|) < ∞

where α := mini∈IN αi ∈ (0, 1), then the algorithm defined by (10) with growth control parameter ϑ∈ (0, 2/3) a.s. converges towards r∞ = argmaxPN Φ.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-26
SLIDE 26

Example

An example of process that satisfies the assumptions of the Theorem 3 is the exponential of Ornstein-Uhlenbeck process (in continuous time) or an auto-regressive process (in discrete time). Let (Y n)n be a sequence defined by ∀n, Y n = (V , Dn

1, . . . , Dn N) = eX n

where X n = (X n

0 , . . . , X n N) satisfies the recursive equation of AR(1),

X n+1 = m + AX n + Σǫn+1 with A < 1, ǫn ∼ N (0, IdN+1) and rk (Σ) = N + 1. (Y n)n is geometrically α-mixing at rate An hence ergodic at rate 1

2 − ǫ.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-27
SLIDE 27

Outline

1 Introduction

A simple model for the execution of orders by dark pools

2 Optimal allocation under constraints

Optimization Algorithm The (IID) setting: a.s. convergence and CLT The (ERG) setting: convergence

3 A reinforcement algorithm

Existence of an equilibrium A competitive system

4 Numerical Tests

The IID setting The ERG setting The pseudo-real data setting

5 Provisional remarks

Gilles Pag` es Optimal split of orders across liquidity pools

slide-28
SLIDE 28

Description

This procedure originally introduced by R. Berenstein and C.-A. Lehalle is based on a reinforcementmechanism. Let I n

i be the cost induced by the execution of the order sent to dark pool

i at time n. The proportion rn

i of the global order V n+1 to be sent to the dark

pool i for execution at time n + 1 is defined as proportional to this profit i.e. by ∀i ∈ IN, rn

i :=

I n

i

  • j I n

j

. The updating of the random vector I n is as follows ∀n ≥ 0, ∀i ∈ IN, I n+1

i

= I n

i + ρi min

  • rn

i V n+1, Dn+1 i

  • , I 0

i = 0.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-29
SLIDE 29

A new formulation

Elementary computations show that the algorithm can be written directly in a recursive way in terms of the vector-valued-state-variable X n = I n n X n+1

i

= X n

i −

1 n + 1

  • X n

i − ρi min

X n

i

¯ X n V n+1, Dn+1

i

  • , i ∈ IN,

where ¯ X n =

N

  • j=1

X n

j = 1

n

n

  • j=1

I n

j

and rn

i = X n i

¯ X n . This is a standard form for a stochastic algorithm (with step γn = 1

n).

Gilles Pag` es Optimal split of orders across liquidity pools

slide-30
SLIDE 30

Existence of an equilibrium

Proposition

Let N ≥ 1. Assume that (3) holds for every couple (V , Di), i ∈ IN. (a) There exists a x∗ ∈ RN

+ such that

¯ x∗ :=

  • i∈IN

x∗

i > 0

and ϕi x∗

i

¯ x∗

  • = x∗

i ,

i ∈ IN. (14) (b) Let ψi := ϕi(u)

u

, u > 0, i ∈ IN, ψ(0) = ϕ′(0) = ρEV 1{D>0}. Assume that for every i ∈ IN, ψi is (continuous) decreasing on [0, ∞) and (C′) ≡

  • i∈IN

ψ−1

i

(min

i∈IN

ϕ′

i(0)) < 1.

(15) Then there exists x∗ ∈ int(PN) satisfy (14).

Gilles Pag` es Optimal split of orders across liquidity pools

slide-31
SLIDE 31

Corollary 1

If the functions ψi are continuous and decreasing and the rebate coefficients ρi are equal (to 1) and if P(Di = 0) = 0 for every i ∈ IN, then there exists an equilibrium point lying inside int(PN).

Proposition 3

An equilibrium x∗ satisfying (14) is locally uniformly attracting as soon as

  • j∈IN

x∗

j

(x∗)2 ϕ′

j

x∗

j

¯ x∗

  • < 1 − 1

¯ x∗ max

i∈IN

ϕ′

i

x∗

i

¯ x∗

  • where ¯

x∗ =

i∈IN x∗ i .

Gilles Pag` es Optimal split of orders across liquidity pools

slide-32
SLIDE 32

A competitive system

A competitive differential system ˙ x = h(x) is a system in which the field h : RN → RN is differentiable and satisfies ∀x ∈ RN, ∀ i, j ∈ IN, i = j, ∂hi ∂xj (x) > 0. As concerns the reinforcement algorithm, the mean function h is given by h : x − →

  • xi − ϕi
  • xi
  • j xj
  • 1≤i≤N

, (16) and under the standard differentiability assumption on the functions ϕi’s, ∀x ∈ RN, ∂hi ∂xj (x) = ϕ′

i

  • xi

x1 + · · · + xN

  • xi

(x1 + · · · + xN)2 > 0.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-33
SLIDE 33

Advantages and Drawbacks

Drawbacks

◮ No hope to prove that all the equilibrium points lie in the interior of PN

since one may always adopt an execution strategy which boycotts a given dark pool or, more generally N0 dark pools. Elementary combinatorial arguments show that there are at least 2N − 1 equilibrium points.

◮ As a competitive system, the algorithm has possibly a non converging

behaviour even in presence of a single (attracting) equilibrium. This is to be compared to their cooperative counterparts (with negative non diagonal partial derivatives).

Advantages

◮ on the contrary of the optimization algorithm, the reinforcement

algorithm naturally lives in the simplex PN.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-34
SLIDE 34

Outline

1 Introduction

A simple model for the execution of orders by dark pools

2 Optimal allocation under constraints

Optimization Algorithm The (IID) setting: a.s. convergence and CLT The (ERG) setting: convergence

3 A reinforcement algorithm

Existence of an equilibrium A competitive system

4 Numerical Tests

The IID setting The ERG setting The pseudo-real data setting

5 Provisional remarks

Gilles Pag` es Optimal split of orders across liquidity pools

slide-35
SLIDE 35

Abundance and Shortage

We compare the behaviour of both algorithms in different settings : the IID one, the ERG one and with pseudo-real data (whose construction is explained below). We examine specifically two situations : abundance and shortage. What we call ”abundance” is the fact that the mean of V is less that the sum of the means of the Di, i.e. EV ≤

N

  • i=1

EDi , and the ”shortage” is the situation where we have the contrary, i.e. EV >

N

  • i=1

EDi. The most interesting setting to compare them is the shortage since it is the situation the most common in the market.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-36
SLIDE 36

Comparison Criterions

We present the performances of both algorithms and compare them to the strategy devised by an insider ”oracle” who would know the true values of V and Di. This “oracle” strategy is the best possible allocation. ∀n ≥ 1, min

  • V n,

N

  • i=1

Dn

i

  • .

So we introduce in the following figures the allocation coefficients of the optimization algorithm and the reinforcement algorithm (just drawn in the IID setting as example because the best way to compare the two algorithms is to look at their performances),

Gilles Pag` es Optimal split of orders across liquidity pools

slide-37
SLIDE 37

Comparison Criterions

the ratios between the executed quantity and the sent quantity for the three algorithms (we name it satisfaction), i.e. for every n ≥ 1,

  • i0−1

i=1 ρiDi + ρi0

  • V − i0−1

i=1 ρiDi

  • V n

for the oracle, where ρ1 < ρ2 < · · · < ρN, and i0 such that i0−1

i=1 Di < V ≤ i0 i=1 Di.

  • N

i=1 ρi min (r n i V n, Dn i )

V n for both algorithms.

the ratios between the satisfaction index of both optimization and reinforcement algorithms and that of the oracle, i.e. for every n ≥ 1 N

i=1 ρi min (rn i V n, Dn i )

i0−1

i=1 ρiDi + ρi0

  • V − i0−1

i=1 ρiDi

.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-38
SLIDE 38

With log-normal simulated data (Shortage)

10 20 30 40 50 60 70 80 90 100 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 Number of simulations x 102 Coefficients of allocation

Allocation Coefficients

Optimization Reinforcement 10 20 30 40 50 60 70 80 90 100 0.58 0.585 0.59 0.595 0.6 0.605 0.61 Number of simulations x 102 % of satisfaction

Satisfactions

Oracle Optimization Reinforcement 10 20 30 40 50 60 70 80 90 100 0.96 0.97 0.98 0.99 1 1.01 1.02 Number of simulations x 102 ratio

Satisfactions Ratios

One Optimization/Oracle Reinforcement/Oracle

Figure: Case N = 3, mV = 3

2

N

i=1 mDi, mDi = i, σV = 1, σDi = 1, 1 ≤ i ≤ N.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-39
SLIDE 39

Satisfaction evolution according to variance variation

1 2 3 4 5 0.4 0.5 0.6 0.7 0.8 0.9 1 Variance Satisfaction

Satisfaction vs Variance

Reinforcement Optimization

Figure: The satisfaction decreases as the variance increases between 0 and 2.5, then increases but less smoothy and is perturbated.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-40
SLIDE 40

Exponential of OU

The quantity V and Di, i ∈ IN, are exponentials of an Ornstein-Uhlenbeck process, i.e. X n+1 = m + AX n + BΞn+1, where A < 1, BB∗ ∈ Gl(d, R) and m =    m1 . . . mN+1    ∈ RN+1, Ξn+1 =    Ξn+1

1.

. . Ξn+1

N+1

   ∼ N (0, IN+1) i.i.d., eX n =      V n Dn

1

. . . Dn

N

     .

Gilles Pag` es Optimal split of orders across liquidity pools

slide-41
SLIDE 41

Numerical Data

The initial value of the algorithms is r0

i = 1 N , 1 ≤ i ≤ N and we set

ρ =   0.95 0.97 0.99   , m =    1 . . . 1    , A =     0.7 0.01 0.01 0.01 0.01 0.3 0.01 0.01 0.01 0.01 0.2 0.01 0.01 0.01 0.01 0.1     , B =     0.02 0.01 0.9 0.01 0.01 0.6 0.01 0.01 0.01 0.3     .

Gilles Pag` es Optimal split of orders across liquidity pools

slide-42
SLIDE 42

Numerical Results (Shortage)

20 40 60 80 100 0.41 0.42 0.43 0.44 0.45 0.46 0.47 Number of simulations x 102 % of satisfaction

Satisfactions

Oracle Optimization Reinforcement 20 40 60 80 100 0.93 0.94 0.95 0.96 0.97 0.98 0.99 1 Number of simulations x 102 Ratios

Satisfactions Ratio

One Optimization/Oracle Reinforcement/Oracle

Figure: Case N = 3, mV ≥ N

i=1 mDi, σV ≥ 1, σDi ≥ 1, 1 ≤ i ≤ N.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-43
SLIDE 43

Generation of pseudo-real data

We consider an asset volume V which we want buy or sell, and the volumes which are offered by the N dark pools (Di)1≤i≤N. We have picked up data on the market for V and the Di are building from the N assets which are the most correlated with V , denoted by Si, i = 1, . . . , N, and V by the mixing function ∀1 ≤ i ≤ N, Di := βi

  • (1 − αi)V + αiSi

EV ESi

  • where

αi, i = 1, . . . , N are the mixing coefficients, βi, i = 1, . . . , N some weights. So E(Di) = βiE(V ).

Gilles Pag` es Optimal split of orders across liquidity pools

slide-44
SLIDE 44

Abundance and Shortage Cases

If N

i=1 βi < 1, then E

N

i=1 Di

  • < EV : this is a shortage situation

and we use the algorithm to find the optimal allocation. The simulation presented here have been made with the asset BNP and the four most correlated assets with BNP, so N = 4. The data used extend on 11 days. To explain the changes in the response

  • f the algorithms, we have underlined the days by drawing vertical lines to

separate the days of execution. We place in the shortage situation : we set ρ =     0.94 0.96 0.98 1     , β =     0.1 0.2 0.3 0.2     and α =     0.4 0.6 0.8 0.2     .

Gilles Pag` es Optimal split of orders across liquidity pools

slide-45
SLIDE 45

Shortage case with pseudo-real data

2 4 6 8 10 12 14 16 x 10

4

0.3 0.4 0.5 0.6 0.7 0.8 Number of data % of satisfaction

Satisfactions

Oracle Naif Optimization Reinforcement 2 4 6 8 10 12 14 16 x 10

4

0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 Number of data Ratios

Satisfactions Ratios

One Optimization/Oracle Reinforcement/Oracle Naif/Oracle

Figure: Case N = 4, N

i=1 βi < 1, 0 < αi ≤ 0.2 and r 0 i = 1/N 1 ≤ i ≤ N

Gilles Pag` es Optimal split of orders across liquidity pools

slide-46
SLIDE 46

Outline

1 Introduction

A simple model for the execution of orders by dark pools

2 Optimal allocation under constraints

Optimization Algorithm The (IID) setting: a.s. convergence and CLT The (ERG) setting: convergence

3 A reinforcement algorithm

Existence of an equilibrium A competitive system

4 Numerical Tests

The IID setting The ERG setting The pseudo-real data setting

5 Provisional remarks

Gilles Pag` es Optimal split of orders across liquidity pools

slide-47
SLIDE 47

Toward more realistic mean execution functions

One natural idea is to take into account that the rebate may depend on the quantity rV sent to be executed by the dark pool. The mean execution function of the dark pool can be modeled by ∀ r ∈ [0, 1], ϕ(r) = E(ρ(rV ) min(rV , D)) (17) where the rebate function ρ is a non-negative, bounded, non-decreasing right differentiable function. For the sake of simplicity, we assume that (V , D) satisfies (4). The right derivative of ϕ reads ϕ′

r(r) = E

  • ρ′

r(rV )V min (rV , D)

  • + E
  • ρ(rV )V 1{rV <D}
  • ,

(18) with in particular ϕ′(0) = ρ(0) E(V 1{D>0}) > 0 as above.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-48
SLIDE 48

The main gap is to specify the function ρ so that ϕ remains concave. But the choice for ρ turns out to strongly depend on the (unknown) distribution of the random variable D. Example: V , D ∼ E(λ) independent. The function g is defined by g(u) := E(u ∧ D) = 1 − e−uλ λ , u ≥ 0 so that, the execution function ϕ(r) = E(ρ(rV )g(rV )) will be concave as soon as the function ρ g is so. Typical choices are ρ = gθ with θ∈ (0, λ] which may appear as not very realistic since the rebate function is a structural feature of the different dark pools.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-49
SLIDE 49

A responsive dark pool

The dark pool may take into account the volume rV to decide which quantity will really executed rather than simply the a priori deliverable quantity D. One reason for such a behaviour is that the dark pool may wish to preserve the possibility of future transactions with other clients. So we introduce a delivery function ψ : R2

+ → R+, non-decreasing and

concave w.r.t. its first variable and satisfying 0 ≤ ψ(x, y) ≤ y, so that the new mean execution function is as follows: ϕ(r) = ρ E (min(rV , ψ(rV , D))) . (19) It is clear that the function ϕ is concave (as the minimum of two concave functions) and bounded. In this case, the first (right) derivative of ϕ reads ϕ′

r(r) = ρ E

  • V
  • 1{rV <ψ(rV ,D)} + ψ′

x(rV , D)1{rV ≥ψ(rV ,D)}

  • (20)

where ψ′

x denotes the right derivative with respect to x. In particular

ϕ′

r(0) = ρ E(V 1{D>0}) > 0.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-50
SLIDE 50

Example

We consider for modelling the quantity delivered by the dark pool i a function where we can define a minimal quantity required to begin to consum Di, namely ψi(rV , Di) = Di1{rV >siDi} where si is a parameter of the dark pool i assumed to be deterministic.

2 4 6 8 10 12 14 16 x 10

4

0.1 0.2 0.3 0.4 0.5 0.6 0.7 Number of data Coefficients of allocation

Allocation Coefficients

Optimization Reinforcement 2 4 6 8 10 12 14 16 x 10

4

0.45 0.5 0.55 0.6 0.65 Number of data % of satisfaction

Satisfactions

Optimization Reinforcement

Figure: Pseudo-real data with N = 4, N

i=1 βi < 1, 0 < αi ≤ 0.2 and r 0 i = 1/N,

1 ≤ i ≤ N, s = (0.3, 0.2, 0.2, 0.3)t.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-51
SLIDE 51

Optimization vs reinforcement ?

For practical implementation what conclusions can be drawn form our investigations on both procedures. Both reach quickly a stabilization/convergence phase close to

  • ptimality.

The reinforcement algorithm leaves the simplex structurally stable which means the proposed dispatching at each time step is realistic whereas the stochastic Lagrangian algorithm may sometimes need to be corrected. However, in a high volatility context, the stochastic Lagrangian algorithm clearly prevails with performances that may be significantly better performance. This optimization procedure also relies on established convergence results in a rather general framework (stationary α-mixing input data). Given the computational cost of these procedures which is close to zero, a good strategy is probably to implement both in parallel.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-52
SLIDE 52

Variants of the implementation

Resetting the step Constant step vs decreasing step Convergence vs pursuit

Gilles Pag` es Optimal split of orders across liquidity pools

slide-53
SLIDE 53

References

Almgren, R. F. and Chriss N. (2000). Optimal execution of portfolio transactions, Journal of Risk, 3(2):5-39. Almgren R. and Harts B. (2008). A dynamic algorithm for smart

  • rder routing, Technical report, StreamBase.

Benveniste M., M´ etivier M., Priouret P. (1987). Adaptive Algorithms and Stochastic Approximations, Springer Verlag, Berlin, 365p. Berenstein R. (2008). Algorithmes stochastiques, microstructure et ex´ ecution d’ordres, Master 2 internship report (Quantitative Research,

  • Dir. C. Lehalle, CA Cheuvreux), Probabilit´

es & Finance, UPMC-´ Ecole Polytechnique, 2008. Doukhan P. (1991). Mixing: Properties and Examples, Lecture Notes Statist. 85, Springer, New York, 142p. Duflo M. (1997). Random Iterative Models. Series: Stochastic Modelling and Applied Probability, Vol. 34. XVI, 385 p., Springer, Berlin.

Gilles Pag` es Optimal split of orders across liquidity pools

slide-54
SLIDE 54

Foucault, T. and Menkveld, A. J. (2006). Competition for

  • rder flow and smart order routing systems, Journal of Finance,

63(1):119-158. Hirsch M., Smith H. (2004). Monotone Dynamical systems, monography, 136p. Kushner H.J., Yin G.G. (1997). Stochastic approximation and recursive algorithms and applications, New York, Springer, 496p; and 2nd edition, 2003. Laruelle S., Pag` es G. (2009). Stochastic Approximation with Ergodic Innovation Revisited, pr´ e-pub LPMA. Lehalle C.-A. (2009). Rigorous strategic trading: Balanced portfolio and mean-reversion, The Journal of Trading, 4(3):40-46. Pag` es G. (2001). Sur quelques algorithmes r´ ecursifs pour les probabilit´ es num´ eriques, ESAIM P&S, 5:141-170.

Gilles Pag` es Optimal split of orders across liquidity pools