order book modeling and market making under uncertainty
play

Order book modeling and market making under uncertainty. Sidi - PowerPoint PPT Presentation

Order book dynamics Market making problem(s) References Order book modeling and market making under uncertainty. Sidi Mohamed ALY Lund University sidi@maths.lth.se (Joint work with K. Nystr om and C. Zhang, Uppsala University) Le Mans,


  1. Order book dynamics Market making problem(s) References Order book modeling and market making under uncertainty. Sidi Mohamed ALY Lund University sidi@maths.lth.se (Joint work with K. Nystr¨ om and C. Zhang, Uppsala University) Le Mans, June 29, 2016 1 / 22

  2. Order book dynamics Market making problem(s) Order book as a point process References Outline Order book dynamics 1 Order book as a point process Market making problem(s) 2 Market making strategy HJB equation Solving HJB equation References 3 2 / 22

  3. Order book dynamics Market making problem(s) Order book as a point process References Electronic trading Today a large proportion of transactions in equity markets are executed by algorithms on electronic trading platforms In electronic order-driven markets, participants may submit limit orders (or cancel an existing limit order), by specifying whether they wish to buy or sell, the amount (volume) and the price. Limit orders wait in a queue to be canceled or executed and the latter occurs when a sell/buy order is matched against one or more buy/sell limit orders. All outstanding limit orders are aggregated in a limit order book which is available to market participants. The order book at a given instant of time is the list of all outstanding buy and sell limit orders with their corresponding price and volume 3 / 22

  4. Order book dynamics Market making problem(s) Order book as a point process References orderbook Figure: A snapshot of the limit order book taken at a fixed instance in time. 4 / 22

  5. Order book dynamics Market making problem(s) Order book as a point process References Point process The most intuitive models for the order book dynamics are those based on self-exciting point processes. For example Let ( t i ) i = 1,2,... be the sequence of times at which new events occur at the order book Let ( Z i ) i ≥ 1 be a sequence of random vectors corresponding to the characteristics associated to ( t i ) i ≥ 1 ( Z i ) i ≥ 1 is called the sequence of marks while the double sequence ( t i , Z i ) i ≥ 1 is called a simple marked point process. We introduce the counting processes corresponding to t i N ( t ) : = ∑ N : = ∑ 1 t i ≤ t , ˜ 1 t i < t i ≥ 1 i ≥ 1 N ( t ) is right continues with upward jumps at t i ; ˜ N ( t ) is left continuous. ˜ N ( t ) counts the number of event that occurred before t . Let X i : = t i − t i − 1 be the duration process associated with ( t i ) i ≥ 1 . The left continuous process X t = t − t ˜ N ( t ) is called the backward recurrence time at t . 5 / 22

  6. Order book dynamics Market making problem(s) Order book as a point process References Point process Assuming that ( t i ) i ≥ 1 is generated through a Poisson process with intensity λ ( t ) = λ > 0 it follows that the waiting time until the first event is exponentially distributed. Assume in the following that N ( t ) is a simple point process on [ 0, ∞ [ adapted to some history F t . If 1 λ ( t , F t ) : = lim ∆ E [ N ( t + ∆ ) − N ( t ) |F t ] , λ ( t , F t ) > 0 for all t > 0, ∆ → 0 then λ ( t , F t ) is called the F t -intensity process of the counting process N ( t ) . Typically one considers the case F t = F N where F N consists of t t the complete observable history of the point process up to t : F N = σ ( t N ( t ) , Z N ( t ) , . . . , t 1 , Z 1 ) t We have � t E [ N ( t ) − N ( t ′ )] = E [ t ′ λ ( s ) ds |F t ] 6 / 22

  7. Order book dynamics Market making problem(s) Order book as a point process References Point process The integrated intensity function � t 1 ∆ ( t i − 1 , t i ) = λ ( s , F s ) ds t i − 1 ∆ ( t i − 1 , t i ) establishes the link between the intensity function and the duration until the occurrence of the next point. A statistical model can be completely specified in terms of the F t -intensity and a likelihood function can be established in terms of the intensity: � ˆ t n 0 ( 1 − λ ( s , F s )) ds + ∑ t n ] ( ˆ t i ) λ ( ˆ log L ( W , θ ) = t i , F ˆ t i ) 1 [ 0,ˆ i ≥ 1 7 / 22

  8. Order book dynamics Market making problem(s) Order book as a point process References Point process Consider a simple marked point process ( t i , Z i ) i ≥ 1 where the basic self-exciting process is given by λ ( t , F t ) = exp ( ω ) + ∑ 1 [ 0, t ] ( t i ) w ( t − t i ) , i ≥ 1 where ω is a constant and w is some non-negative weighting function. Hawkes introduced the general class ˜ N ( t ) P ∑ ∑ λ ( t , F t ) = µ ( t ) + α j exp ( − β j ( t − t i )) j = 1 i = 1 where α j ≥ 1, β j ≥ 1, and µ > 0 is a deterministic function. Here P is an integer P i − 1 ∑ ∑ E [ λ ( t i ) |F t i − 1 ] = µ ( t t i − 1 ) + α j E [ exp ( − β j t i ) |F t i − 1 ] exp ( β j t k ) j = 1 k = 1 8 / 22

  9. Order book dynamics Market making problem(s) Order book as a point process References Point process The log likelihood can be computed on the basis of a recursion. In particular, � � t i � n P i − 1 α j ∑ ∑ ∑ log L ( W , θ ) = µ ( s ) ds − ( 1 − exp ( − β j ( t i − t k ))) β j t i − 1 i = 1 j = 1 k = 1 � � �� n P α j A j ∑ ∑ + µ ( t i ) + log , i i + 1 j = 1 where i − 1 A j exp ( − β j ( t i − t k )) = exp ( − β j ( t i − t i − 1 ))( 1 + A j − 1 ∑ i = ) i k = 1 9 / 22

  10. Order book dynamics Market making strategy Market making problem(s) HJB equation References Solving HJB equation Outline Order book dynamics 1 Order book as a point process Market making problem(s) 2 Market making strategy HJB equation Solving HJB equation References 3 10 / 22

  11. Order book dynamics Market making strategy Market making problem(s) HJB equation References Solving HJB equation Market maker Market makers supply optimal execution services for clients. Today HF market makers on many exchanges make up a substantial part of the total HFT activity. Market making and optimal portfolio liquidation are based on probabilistic models defined on certain reference probability spaces The increase in computer power has made it possible for HF market makers to deploy ever more complicated trading strategies to profit from changes in market conditions. By definition, a characteristic of HF market makers is that the strategies are designed to hold close to no inventories over very short periods of time, from seconds to at most one day, to avoid exposure both to markets after the close and to avoid posting collateral overnight 11 / 22

  12. Order book dynamics Market making strategy Market making problem(s) HJB equation References Solving HJB equation Market making strategy HF market makers profit from posting limit orders on both sides of the order book turning positions over very quickly to make a very small margin per round trip transaction. For HF market makers price anticipation and prediction concerning the order flow are important drivers of profit To devise an optimal schedule of a large order, or optimal portfolio liquidation, participants may choose a mixture of market and limit orders. The purpose of devising an optimal schedule of a large order, buy or sell, is to control the trading cost by balancing a trade-off between market impact and market risk (market impact demands trading to be slow while the presence of market risk favors faster trading). An optimal schedule of a large order may involve the use of market orders and limit orders in combination, as well as a routing of the orders to different exchanges 12 / 22

  13. Order book dynamics Market making strategy Market making problem(s) HJB equation References Solving HJB equation Market making strategy We consider a market maker who is only posting limit orders and who is allowed to control the ask and bid quotes, denoted by p + = { p + t } t ∈ [ 0, T ] and p − = { p − t } t ∈ [ 0, T ] , by continuously posting limit orders on both sides of the book The distance from the midprice is determined by the F t -adapted controls δ + t = p + t − S t and δ − t = S t − p − t . Let Q = { Q t } t ∈ [ 0, T ] denote the inventory and X be the cash process We assume that the dynamics of Q t and X t are governed by dN − t − dN + = dQ t t , [ S t + δ + t ] dN + t − [ S t − δ − t ] dN − = dX t t , where N ± = { N ± t } t ∈ [ 0, T ] two independent Poisson processes with intensities λ ± ( δ ± ) , which are nonincreasing functions determining the fill rates The wealth or profit and losses (PNL) of the market maker, at t , is then given by PNL t = X t + Q t S t 13 / 22

  14. Order book dynamics Market making strategy Market making problem(s) HJB equation References Solving HJB equation Model Assume the mide-price { S t } t ∈ [ 0, T ] is descibed by dS t ( ω ) = µ t ( ω ) dt + σ t ( ω ) dW t ( ω ) , t ∈ [ 0, T ] , ω ∈ Ω , (1) where W = { W t } t ∈ [ 0, T ] is a Brownian motion defined on a ( Ω , F , P ) with filtration F = {F t } . µ and σ are {F t } -adapted. To study the situation where market participants consider the model defined by (1) as uncertain, model risk or uncertainty is incorporated into the model by assuming that for almost all ω ∈ Ω − ¯ µ ≤ µ t ( ω ) ≤ ¯ µ , σ ≤ σ t ( ω ) ≤ ¯ σ , ∀ t ∈ [ 0, T ] , (2) where 0 < ¯ µ < ∞ and 0 < σ ≤ ¯ σ < ∞ . Market participant captures model risk or uncertainty by using solely 0 < ¯ µ , σ and ¯ σ in connection with (1), to make decisions. 14 / 22

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend