High-Frequency Trading in a Limit Order Book Sasha Stoikov (with M. - - PowerPoint PPT Presentation

high frequency trading in a limit order book
SMART_READER_LITE
LIVE PREVIEW

High-Frequency Trading in a Limit Order Book Sasha Stoikov (with M. - - PowerPoint PPT Presentation

Introduction Optimization Estimation Market maker simulations Conclusion High-Frequency Trading in a Limit Order Book Sasha Stoikov (with M. Avellaneda) Cornell University February 9, 2009 Introduction Optimization Estimation Market


slide-1
SLIDE 1

Introduction Optimization Estimation Market maker simulations Conclusion

High-Frequency Trading in a Limit Order Book

Sasha Stoikov (with M. Avellaneda)

Cornell University

February 9, 2009

slide-2
SLIDE 2

Introduction Optimization Estimation Market maker simulations Conclusion

The limit order book

slide-3
SLIDE 3

Introduction Optimization Estimation Market maker simulations Conclusion

Motivation

  • Two main categories of traders

1 Liquidity taker: buys at the ask, sell at the bid 2 Liquidity provider: waits to buy at the bid, sell at the ask

slide-4
SLIDE 4

Introduction Optimization Estimation Market maker simulations Conclusion

Motivation

  • Two main categories of traders

1 Liquidity taker: buys at the ask, sell at the bid 2 Liquidity provider: waits to buy at the bid, sell at the ask

  • How do liquidity providers (market makers) make money?

1 Making the bid/ask spread 2 Managing their risk by adjusting the quantities/prices

slide-5
SLIDE 5

Introduction Optimization Estimation Market maker simulations Conclusion

Motivation

  • Two main categories of traders

1 Liquidity taker: buys at the ask, sell at the bid 2 Liquidity provider: waits to buy at the bid, sell at the ask

  • How do liquidity providers (market makers) make money?

1 Making the bid/ask spread 2 Managing their risk by adjusting the quantities/prices

  • Factors affecting the optimal bid/ask prices:

1 Inventory risk

  • The stock mid price: S
  • The stock volatility: σ
  • The risk aversion: γ
  • The liquidity: λ(·)
slide-6
SLIDE 6

Introduction Optimization Estimation Market maker simulations Conclusion

Motivation

  • Two main categories of traders

1 Liquidity taker: buys at the ask, sell at the bid 2 Liquidity provider: waits to buy at the bid, sell at the ask

  • How do liquidity providers (market makers) make money?

1 Making the bid/ask spread 2 Managing their risk by adjusting the quantities/prices

  • Factors affecting the optimal bid/ask prices:

1 Inventory risk

  • The stock mid price: S
  • The stock volatility: σ
  • The risk aversion: γ
  • The liquidity: λ(·)

2 Adverse selection risk

slide-7
SLIDE 7

Introduction Optimization Estimation Market maker simulations Conclusion

Outline

1 Optimization

  • The maximal utility problem
  • Optimal bid and ask prices
  • Some approximations
  • P&L profiles of the optimal strategy
slide-8
SLIDE 8

Introduction Optimization Estimation Market maker simulations Conclusion

Outline

1 Optimization

  • The maximal utility problem
  • Optimal bid and ask prices
  • Some approximations
  • P&L profiles of the optimal strategy

2 Estimation

  • Modeling the order book
  • Estimating model parameters
  • Steady state quantities
slide-9
SLIDE 9

Introduction Optimization Estimation Market maker simulations Conclusion

Outline

1 Optimization

  • The maximal utility problem
  • Optimal bid and ask prices
  • Some approximations
  • P&L profiles of the optimal strategy

2 Estimation

  • Modeling the order book
  • Estimating model parameters
  • Steady state quantities

3 Simulation

  • A market making algorithm
  • Autocorrelation in the order flow
slide-10
SLIDE 10

Introduction Optimization Estimation Market maker simulations Conclusion

Outline

1 Optimization

  • The maximal utility problem
  • Optimal bid and ask prices
  • Some approximations
  • P&L profiles of the optimal strategy

2 Estimation

  • Modeling the order book
  • Estimating model parameters
  • Steady state quantities

3 Simulation

  • A market making algorithm
  • Autocorrelation in the order flow

4 Conclusion

slide-11
SLIDE 11

Introduction Optimization Estimation Market maker simulations Conclusion

The mid price of the stock

  • Brownian motion

dSt = σdWt

slide-12
SLIDE 12

Introduction Optimization Estimation Market maker simulations Conclusion

The mid price of the stock

  • Brownian motion

dSt = σdWt

  • Geometric Brownian motion

dSt St = σdWt

slide-13
SLIDE 13

Introduction Optimization Estimation Market maker simulations Conclusion

The mid price of the stock

  • Brownian motion

dSt = σdWt

  • Geometric Brownian motion

dSt St = σdWt

  • Trading at the mid-price is not allowed. However, we may

quote limit orders pb and pa around the mid-price.

slide-14
SLIDE 14

Introduction Optimization Estimation Market maker simulations Conclusion

The arrival of buy and sell orders

  • Controls: pa

t and pb t

slide-15
SLIDE 15

Introduction Optimization Estimation Market maker simulations Conclusion

The arrival of buy and sell orders

  • Controls: pa

t and pb t

  • Number of stocks bought Nb

t is Poisson with intensity

λb(pb − s), an increasing function of pb

  • Number of stocks sold Na

t is Poisson with intensity

λa(pa − s), a decreasing function of pa

slide-16
SLIDE 16

Introduction Optimization Estimation Market maker simulations Conclusion

The arrival of buy and sell orders

  • Controls: pa

t and pb t

  • Number of stocks bought Nb

t is Poisson with intensity

λb(pb − s), an increasing function of pb

  • Number of stocks sold Na

t is Poisson with intensity

λa(pa − s), a decreasing function of pa

  • The wealth in cash

dXt = padNa

t − pbdNb t

The inventory qt = Nb

t − Na t

slide-17
SLIDE 17

Introduction Optimization Estimation Market maker simulations Conclusion

The market maker’s objective

  • Maximize exponential utility

u(s, x, q, t) = max

pa

t ,pb t ,0≤t≤T

Et

  • −e−γ(XT +qT ST )
slide-18
SLIDE 18

Introduction Optimization Estimation Market maker simulations Conclusion

The market maker’s objective

  • Maximize exponential utility

u(s, x, q, t) = max

pa

t ,pb t ,0≤t≤T

Et

  • −e−γ(XT +qT ST )
  • Mean/variance objective

v(s, x, q, t) = max

pa

t ,pb t ,0≤t≤T

Et [(XT + qTST)]−γ 2Var [(XT + qTST)]

slide-19
SLIDE 19

Introduction Optimization Estimation Market maker simulations Conclusion

The market maker’s objective

  • Maximize exponential utility

u(s, x, q, t) = max

pa

t ,pb t ,0≤t≤T

Et

  • −e−γ(XT +qT ST )
  • Mean/variance objective

v(s, x, q, t) = max

pa

t ,pb t ,0≤t≤T

Et [(XT + qTST)]−γ 2Var [(XT + qTST)]

  • Infinite horizon exponential utility

w(x, s, q) = max

pa

t ,pb t

E ∞ − exp(−ωt) exp(−γ(Xt + qtSt))dt

  • .
slide-20
SLIDE 20

Introduction Optimization Estimation Market maker simulations Conclusion

The market maker’s objective

  • Maximize exponential utility

u(s, x, q, t) = max

pa

t ,pb t ,0≤t≤T

Et

  • −e−γ(XT +qT ST )
  • Mean/variance objective

v(s, x, q, t) = max

pa

t ,pb t ,0≤t≤T

Et [(XT + qTST)]−γ 2Var [(XT + qTST)]

  • Infinite horizon exponential utility

w(x, s, q) = max

pa

t ,pb t

E ∞ − exp(−ωt) exp(−γ(Xt + qtSt))dt

  • .
  • Other objectives: minimizing shortfall risk, value at risk, etc...
slide-21
SLIDE 21

Introduction Optimization Estimation Market maker simulations Conclusion

The HJB equation

u(x, s, q, t) solves                    ut + 1

2σ2uss

+ maxpb λb(pb)

  • u(s, x − pb, q + 1, t) − u(s, x, q, t)
  • + maxpa λa(pa) [u(s, x + pa, q − 1, t) − u(s, x, q, t)] = 0

u(S, x, q, t) = − exp(−γ(x + qS)).

slide-22
SLIDE 22

Introduction Optimization Estimation Market maker simulations Conclusion

The indifference or reservation prices

Definition

The indifference bid price rb (relative to a book of q stocks) is given implicitly by the relation u(x − rb(s, q, t), s, q + 1, t) = u(x, s, q, t). The indifference ask price ra solves u(x + ra(s, q, t), s, q − 1, t) = u(x, s, q, t).

slide-23
SLIDE 23

Introduction Optimization Estimation Market maker simulations Conclusion

The optimal quotes

Theorem

The optimal bid and ask prices pb and pa are given by the implicit relations pb = rb − 1 γ ln

  • 1 + γ λb

∂λb ∂p

  • and

pa = ra + 1 γ ln

  • 1 − γ λa

∂λa ∂p

  • .
slide-24
SLIDE 24

Introduction Optimization Estimation Market maker simulations Conclusion

The “Frozen-Inventory” Approximation

  • If we assume there is no arrival of orders

v(x, s, q, t) = Et[− exp(−γ(x + qST)] = − exp(−γx) exp(−γqs) exp

  • γ2q2σ2(T−t)

2

slide-25
SLIDE 25

Introduction Optimization Estimation Market maker simulations Conclusion

The “Frozen-Inventory” Approximation

  • If we assume there is no arrival of orders

v(x, s, q, t) = Et[− exp(−γ(x + qST)] = − exp(−γx) exp(−γqs) exp

  • γ2q2σ2(T−t)

2

  • The indifference price of a stock, given an inventory of q

stocks is r(s, q, t) = s − qγσ2(T − t)

slide-26
SLIDE 26

Introduction Optimization Estimation Market maker simulations Conclusion

The “Frozen-Inventory” Approximation

  • If we assume there is no arrival of orders

v(x, s, q, t) = Et[− exp(−γ(x + qST)] = − exp(−γx) exp(−γqs) exp

  • γ2q2σ2(T−t)

2

  • The indifference price of a stock, given an inventory of q

stocks is r(s, q, t) = s − qγσ2(T − t)

  • This is an approximation to ra and rb for the problem with
  • rder arrivals
slide-27
SLIDE 27

Introduction Optimization Estimation Market maker simulations Conclusion

The “Econophysics” Approximation

1 The density of market order size is

f Q(x) ∝ x−1−α Gabaix et al. (2006)

slide-28
SLIDE 28

Introduction Optimization Estimation Market maker simulations Conclusion

The “Econophysics” Approximation

1 The density of market order size is

f Q(x) ∝ x−1−α Gabaix et al. (2006)

2 The market impact of market orders

∆p ∝ ln(Q) Potters and Bouchaud (2003)

slide-29
SLIDE 29

Introduction Optimization Estimation Market maker simulations Conclusion

The “Econophysics” Approximation

1 The density of market order size is

f Q(x) ∝ x−1−α Gabaix et al. (2006)

2 The market impact of market orders

∆p ∝ ln(Q) Potters and Bouchaud (2003)

3 Constant frequency of order arrivals Λ

slide-30
SLIDE 30

Introduction Optimization Estimation Market maker simulations Conclusion

The “Econophysics” Approximation

1 The density of market order size is

f Q(x) ∝ x−1−α Gabaix et al. (2006)

2 The market impact of market orders

∆p ∝ ln(Q) Potters and Bouchaud (2003)

3 Constant frequency of order arrivals Λ

  • Imply that arrival rates are exponential

λa = A exp(−k(pa − s)) and λb = A exp(−k(s − pb))

slide-31
SLIDE 31

Introduction Optimization Estimation Market maker simulations Conclusion

The optimal quotes

  • Step one: the indifference price

r(s, q, t) = s − qγσ2(T − t)

slide-32
SLIDE 32

Introduction Optimization Estimation Market maker simulations Conclusion

The optimal quotes

  • Step one: the indifference price

r(s, q, t) = s − qγσ2(T − t)

  • Step two: the bid/ask quotes

pb = r − 1 γ ln

  • 1 + γ

k

  • and

pa = r + 1 γ ln

  • 1 + γ

k

  • .

k is a measure of the liquidity of the market.

slide-33
SLIDE 33

Introduction Optimization Estimation Market maker simulations Conclusion Numerical results

A stock price simulation for γ = 0.1

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 98.5 99 99.5 100 100.5 101 101.5 102 102.5 103

Time Stock Price

Mid−market price Price asked Price bid Indifference Price

slide-34
SLIDE 34

Introduction Optimization Estimation Market maker simulations Conclusion Numerical results

P&L profile for γ = 0.5

Strategy Spread Profit std(Profit) std(Final q) Inventory 1.15 33.92 4.72 1.88 Symmetric 1.15 66.20 14.53 9.06

Table: 1000 simulations with γ = 0.5

slide-35
SLIDE 35

Introduction Optimization Estimation Market maker simulations Conclusion Numerical results

P&L profile for γ = 0.1

Strategy Spread Profit std(Profit) std(Final q) Inventory 1.29 62.94 5.89 2.80 Symmetric 1.29 67.21 13.43 8.66

Table: 1000 simulations with γ = 0.1

slide-36
SLIDE 36

Introduction Optimization Estimation Market maker simulations Conclusion Numerical results

P&L profile for γ = 0.01

Strategy Spread Profit std(Profit) std(Final q) Inventory 1.33 66.78 8.76 4.70 Symmetric 1.33 67.36 13.40 8.65

Table: 1000 simulations with γ = 0.01

slide-37
SLIDE 37

Introduction Optimization Estimation Market maker simulations Conclusion

A market order

slide-38
SLIDE 38

Introduction Optimization Estimation Market maker simulations Conclusion

A limit order

slide-39
SLIDE 39

Introduction Optimization Estimation Market maker simulations Conclusion

A limit order

slide-40
SLIDE 40

Introduction Optimization Estimation Market maker simulations Conclusion

A cancellation

slide-41
SLIDE 41

Introduction Optimization Estimation Market maker simulations Conclusion

Assumptions

  • Market buy (resp. sell) orders arrive at independent,

exponential times with rate µ,

slide-42
SLIDE 42

Introduction Optimization Estimation Market maker simulations Conclusion

Assumptions

  • Market buy (resp. sell) orders arrive at independent,

exponential times with rate µ,

  • Limit buy (resp. sell) orders arrive at a distance of i ticks

from the opposite best quote at independent, exponential times with rate λ(i),

slide-43
SLIDE 43

Introduction Optimization Estimation Market maker simulations Conclusion

Assumptions

  • Market buy (resp. sell) orders arrive at independent,

exponential times with rate µ,

  • Limit buy (resp. sell) orders arrive at a distance of i ticks

from the opposite best quote at independent, exponential times with rate λ(i),

  • Cancellations of limit orders at a distance of i ticks from the
  • pposite best quote occur at a rate proportional to the

number of outstanding orders: if the number of outstanding

  • rders at that level is x then the cancellation rate is θ(i)x.
slide-44
SLIDE 44

Introduction Optimization Estimation Market maker simulations Conclusion

Assumptions

  • Market buy (resp. sell) orders arrive at independent,

exponential times with rate µ,

  • Limit buy (resp. sell) orders arrive at a distance of i ticks

from the opposite best quote at independent, exponential times with rate λ(i),

  • Cancellations of limit orders at a distance of i ticks from the
  • pposite best quote occur at a rate proportional to the

number of outstanding orders: if the number of outstanding

  • rders at that level is x then the cancellation rate is θ(i)x.
  • The sizes of market and limit orders are random.
slide-45
SLIDE 45

Introduction Optimization Estimation Market maker simulations Conclusion

Assumptions

  • Market buy (resp. sell) orders arrive at independent,

exponential times with rate µ,

  • Limit buy (resp. sell) orders arrive at a distance of i ticks

from the opposite best quote at independent, exponential times with rate λ(i),

  • Cancellations of limit orders at a distance of i ticks from the
  • pposite best quote occur at a rate proportional to the

number of outstanding orders: if the number of outstanding

  • rders at that level is x then the cancellation rate is θ(i)x.
  • The sizes of market and limit orders are random.
  • The above events are mutually independent.
slide-46
SLIDE 46

Introduction Optimization Estimation Market maker simulations Conclusion

The simulation pseudocode

At each time step, generate the next event:

  • Probability of a market buy order

µa µb + µa +

  • d

(λb(d) + λa(d)) +

  • d

θ(d)Qb

t (d) +

  • d

θ(d)Qa

t (d)

Draw order size (in shares) from empirical distribution.

slide-47
SLIDE 47

Introduction Optimization Estimation Market maker simulations Conclusion

The simulation pseudocode

At each time step, generate the next event:

  • Probability of a market buy order

µa µb + µa +

  • d

(λb(d) + λa(d)) +

  • d

θ(d)Qb

t (d) +

  • d

θ(d)Qa

t (d)

Draw order size (in shares) from empirical distribution.

  • Probability of a limit buy order i ticks away from the best ask

λb(i) µb + µa +

  • d

(λb(d) + λa(d)) +

  • d

θ(d)Qb

t (d) +

  • d

θ(d)Qa

t (d)

Draw order size from empirical distribution

slide-48
SLIDE 48

Introduction Optimization Estimation Market maker simulations Conclusion

The simulation pseudocode

  • Probability of a cancel buy order i ticks away from the best

ask θ(i)Qb

t (i)

µb + µa +

  • d

(λb(d) + λa(d)) +

  • d

θ(d)Qb

t (d) +

  • d

θ(d)Qa

t (d)

If there are j orders at that price, cancel one of them with uniform probability. ... same procedure for the sell side of the book.

slide-49
SLIDE 49

Introduction Optimization Estimation Market maker simulations Conclusion The market statistics

The simulation parameters

  • Ticker: AMZN
  • Number of events (market, limit, cancel): 50.000
  • Number of market orders: µa + µb = 2.371
  • Number of limit orders within a 2 dollar window:

λa(d) + λb(d) = 24.221

  • Number of cancel orders within a 2 dollar window:
  • d θ(d)Qb

t (d) + d θ(d)Qa t (d) = 22.613

slide-50
SLIDE 50

Introduction Optimization Estimation Market maker simulations Conclusion The market statistics

The distribution of limit orders

as a function of the distance to the opposite best quote λ(d)

slide-51
SLIDE 51

Introduction Optimization Estimation Market maker simulations Conclusion The market statistics

The cancel rates per order

as a function of the distance to the opposite best quote θ(d)

slide-52
SLIDE 52

Introduction Optimization Estimation Market maker simulations Conclusion The market statistics

The market order size distribution

slide-53
SLIDE 53

Introduction Optimization Estimation Market maker simulations Conclusion The market statistics

The limit order size distribution

slide-54
SLIDE 54

Introduction Optimization Estimation Market maker simulations Conclusion The market statistics

The zero market

The average book shape

slide-55
SLIDE 55

Introduction Optimization Estimation Market maker simulations Conclusion The market statistics

The zero market

Sample paths

slide-56
SLIDE 56

Introduction Optimization Estimation Market maker simulations Conclusion The individual’s statistics

Individual agent parameters

The Trump agent controls inventory by lowering the quotes after he buys, and raising the quotes after he sells. His properties include the following parameters:

  • A start time (e.g. right after the book is seeded)
  • A premium around the market spread (e.g. bid minus δb=2

cents, ask plus δa=2 cents)

  • A position limit (e.g. 500 shares)
  • A lot size (e.g. 100 shares)
  • An aggressiveness parameter for inventory control
slide-57
SLIDE 57

Introduction Optimization Estimation Market maker simulations Conclusion The individual’s statistics

Individual agent pseudocode

Trump agent operates by:

1 Condition: If time>start time and Trump does not have two

  • utstanding limit orders

2 The action: cancel outstanding orders and submit two limit

  • rders at the prices

pb = mb − δb + δb q floor ∗ aggr and pa = ma + δa − δa q ceiling ∗ aggr where the first term is the market bid or ask, the second term is the bid and ask premium and the third term controls the

  • inventory. If the floor is reached, there is no ask quote. If the

ceiling is reached, there is no bid quote.

slide-58
SLIDE 58

Introduction Optimization Estimation Market maker simulations Conclusion The individual’s statistics

Trump in Zero

  • Capital= 10, 000$, Position limited to ±40, 000$, AMZN price

= 79$

slide-59
SLIDE 59

Introduction Optimization Estimation Market maker simulations Conclusion The individual’s statistics

Trump in Zero

  • Capital= 10, 000$, Position limited to ±40, 000$, AMZN price

= 79$

  • Agent: Limit 500 shares, Lot size 100 shares, Premium = 4

cents, Aggressiveness = 1

slide-60
SLIDE 60

Introduction Optimization Estimation Market maker simulations Conclusion The individual’s statistics

Trump in Zero

  • Capital= 10, 000$, Position limited to ±40, 000$, AMZN price

= 79$

  • Agent: Limit 500 shares, Lot size 100 shares, Premium = 4

cents, Aggressiveness = 1

  • Market: 50,000 events in AMZN Zero (roughly 1 hour of

clock time)

slide-61
SLIDE 61

Introduction Optimization Estimation Market maker simulations Conclusion The individual’s statistics

Trump in Zero

  • Capital= 10, 000$, Position limited to ±40, 000$, AMZN price

= 79$

  • Agent: Limit 500 shares, Lot size 100 shares, Premium = 4

cents, Aggressiveness = 1

  • Market: 50,000 events in AMZN Zero (roughly 1 hour of

clock time)

  • Results: 82,831 shares traded, 3.3% market participation,

862$ profit

slide-62
SLIDE 62

Introduction Optimization Estimation Market maker simulations Conclusion The individual’s statistics

Trump in Zero

  • Capital= 10, 000$, Position limited to ±40, 000$, AMZN price

= 79$

  • Agent: Limit 500 shares, Lot size 100 shares, Premium = 4

cents, Aggressiveness = 1

  • Market: 50,000 events in AMZN Zero (roughly 1 hour of

clock time)

  • Results: 82,831 shares traded, 3.3% market participation,

862$ profit

  • (avg premium 4.8cents) * 82,831= 3,964 $
slide-63
SLIDE 63

Introduction Optimization Estimation Market maker simulations Conclusion The individual’s statistics

Trump in Zero

  • Capital= 10, 000$, Position limited to ±40, 000$, AMZN price

= 79$

  • Agent: Limit 500 shares, Lot size 100 shares, Premium = 4

cents, Aggressiveness = 1

  • Market: 50,000 events in AMZN Zero (roughly 1 hour of

clock time)

  • Results: 82,831 shares traded, 3.3% market participation,

862$ profit

  • (avg premium 4.8cents) * 82,831= 3,964 $
  • Adverse selection loss = 3,101 $
slide-64
SLIDE 64

Introduction Optimization Estimation Market maker simulations Conclusion The individual’s statistics

Trump in Zero

slide-65
SLIDE 65

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

The rho market

  • The zero market picks the type of market orders (BUY/SELL)

independently of past market orders

slide-66
SLIDE 66

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

The rho market

  • The zero market picks the type of market orders (BUY/SELL)

independently of past market orders

  • Empirically, the market data has long sequences of BUY (resp.

SELL) orders

slide-67
SLIDE 67

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

The rho market

  • The zero market picks the type of market orders (BUY/SELL)

independently of past market orders

  • Empirically, the market data has long sequences of BUY (resp.

SELL) orders

  • We implement autocorrelation:
slide-68
SLIDE 68

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

The rho market

  • The zero market picks the type of market orders (BUY/SELL)

independently of past market orders

  • Empirically, the market data has long sequences of BUY (resp.

SELL) orders

  • We implement autocorrelation:

1 Label Xi = 1 for a buy order and Xi = 0 for a sell order 2 Run a regression

Xi = α + β1Xi−1 + ... + β10Xi−10

3 In the simulation, enforce

P(Xi = 1) = α + β1Xi−1 + ... + β10Xi−10

slide-69
SLIDE 69

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

The rho market

slide-70
SLIDE 70

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

The rho market

slide-71
SLIDE 71

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

Trump in Rho

  • Agent: Premium = 4 cents, Limit 500 shares, Lot size 100

shares, Aggressiveness = 1

slide-72
SLIDE 72

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

Trump in Rho

  • Agent: Premium = 4 cents, Limit 500 shares, Lot size 100

shares, Aggressiveness = 1

  • Market: 50,000 events in Rho
slide-73
SLIDE 73

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

Trump in Rho

  • Agent: Premium = 4 cents, Limit 500 shares, Lot size 100

shares, Aggressiveness = 1

  • Market: 50,000 events in Rho
  • Results: 103,862 shares traded, 4.15% market participation,

151$ profit

slide-74
SLIDE 74

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

Trump in Rho

  • Agent: Premium = 4 cents, Limit 500 shares, Lot size 100

shares, Aggressiveness = 1

  • Market: 50,000 events in Rho
  • Results: 103,862 shares traded, 4.15% market participation,

151$ profit

  • (avg premium 4.7cents) * 103,862=4,853$
slide-75
SLIDE 75

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

Trump in Rho

  • Agent: Premium = 4 cents, Limit 500 shares, Lot size 100

shares, Aggressiveness = 1

  • Market: 50,000 events in Rho
  • Results: 103,862 shares traded, 4.15% market participation,

151$ profit

  • (avg premium 4.7cents) * 103,862=4,853$
  • Adverse selection loss = 4701 $
slide-76
SLIDE 76

Introduction Optimization Estimation Market maker simulations Conclusion Autocorrelation in the order flow

Trump in Rho

slide-77
SLIDE 77

Introduction Optimization Estimation Market maker simulations Conclusion

Summary

  • Prices depends on the trader’s inventory
slide-78
SLIDE 78

Introduction Optimization Estimation Market maker simulations Conclusion

Summary

  • Prices depends on the trader’s inventory
  • The indifference price relative to the inventory

r(s, q, t) = s − qγσ2(T − t)

slide-79
SLIDE 79

Introduction Optimization Estimation Market maker simulations Conclusion

Summary

  • Prices depends on the trader’s inventory
  • The indifference price relative to the inventory

r(s, q, t) = s − qγσ2(T − t)

  • Compute the optimal bid and ask prices

pb = r − 1 γ ln

  • 1 + γ λb

∂λb ∂p

  • pa = r + 1

γ ln

  • 1 − γ λa

∂λa ∂p

slide-80
SLIDE 80

Introduction Optimization Estimation Market maker simulations Conclusion

Summary

  • Prices depends on the trader’s inventory
  • The indifference price relative to the inventory

r(s, q, t) = s − qγσ2(T − t)

  • Compute the optimal bid and ask prices

pb = r − 1 γ ln

  • 1 + γ λb

∂λb ∂p

  • pa = r + 1

γ ln

  • 1 − γ λa

∂λa ∂p

  • Order book simulations:
  • We model an order book as a continuous-time Markov chain
  • The simulation environment allows us to test market makers in

different market environments

slide-81
SLIDE 81

Introduction Optimization Estimation Market maker simulations Conclusion

Current and future research

1 Generalize the market maker’s problem for

  • Multiple stocks
  • Multiple options
slide-82
SLIDE 82

Introduction Optimization Estimation Market maker simulations Conclusion

Current and future research

1 Generalize the market maker’s problem for

  • Multiple stocks
  • Multiple options

2 Problems where the market maker can

  • Adjust quantities at the bid and the ask
  • Submit orders strategically
slide-83
SLIDE 83

Introduction Optimization Estimation Market maker simulations Conclusion

Current and future research

1 Generalize the market maker’s problem for

  • Multiple stocks
  • Multiple options

2 Problems where the market maker can

  • Adjust quantities at the bid and the ask
  • Submit orders strategically

3 Modeling adverse selection:

  • Jumps in stock price
  • Correlation between the stock returns and inventory positions
  • Autocorrelation in the sign of market orders