LOBSTER June 2 nd 2016 Algorithmic and High-Frequency Trading Julia Schmidt
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Introduction Market Microstructure subfield of finance study of the process and outcome of exchanging assets under explicit trading rules (O Hara(1995)) Key Dimension of trading and pricing: Information Price Efficiency market prices are an efficient way of transmitting the information required to arrive at a Pareto optimal allocation of resources (Grossman&Stiglitz (1976)) Trading: many possible ways focus on trading in large electronic markets
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Market Making Market participants Market Maker (MM) Liquidity Trader (LT) Market Maker Competition Provide liquidity immediacy Bid and ask prices Limit Orders Liquidity Trader Take liquidity
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Grossman-Miller Market Making Model Providing liquidity accept one side of trade hold assets until person with matching demand enters market risk of prices moving against MM Risk Premium/Liquidity Premium Model n identical Market Makers three dates t {1,2,3} no uncertainty about arrival of matching orders 1 2 3 LT 1 wants to sell i units of the asset LT 2 wants to buy i units of the asset t
Grossman-Miller Market Making Model 1 2 3 LT 1 : sell i units LT 2 : buy i units t Beginning (t=0) W 0 : initial cash amount MM: no assets LT 1 : i units LT 2 : -i units No trading or direct costs for holding inventory
Grossman-Miller Market Making Model 1 2 3 LT 1 : sell i units LT 2 : buy i units t S t : cash value of asset in t S 3 = μ + ε 2 + ε 3 μ: constant ε 2 and ε 3 : independent, N(0, σ 2 ), random variables ε 2 : announced between t=1 and t=2 ε 3 : announced between t=2 and t=3
Grossman-Miller Market Making Model 1 2 3 LT 1 : sell i units LT 2 : buy i units t Risk averse participants Expected utility: E U X 3 where U X = exp( γx) γ: utility penalty for taking risk risk aversion parameter q t j : asset holdings at the end of period t j {MM, LT1, LT2}
Grossman-Miller Market Making Model LT 1 : sell i units t=3 1 2 3 LT 2 : buy i units t t=2 max q 2 j S 3 = μ + ε 2 + ε 3 E U X 3 j ε 2 s.t. X 3 j = X 2 j + q 2 j S 3 and X 2 j + q 2 j S 2 = X 1 j + q 1 j S 2 q 2 j, = E S 3 ε 2 ] S 2 γσ 2 j equal demand and supply in t=2, i assets are hold by MM & LT1, q 1 LT2 = i q 2 j, = 0, S 2 = μ + ε 2
Grossman-Miller Market Making Model t=1 (X 3 =X 2 ) 1 2 3 LT 1 : sell i units LT 2 : buy i units t max q 1 j E U X 2 j s. t. X 2 j = X 1 j + q 1 j S 1 and X 1 j + q 1 j S 1 = X 0 j + q 0 j S 0 q 1 j, = E[S 2] S 1 γσ 2 for MMs and LT1 equal demand and supply in t=1 and q 0 MM = 0 q 1 j, = i n+1 and S 1 = μ γσ 2 i n+1
Grossman-Miller Market Making Model 1 2 3 LT 1 : sell i units LT 2 : buy i units t Influence Factors on Risk Premium size of the liquidity demand i amount of competition between MMs n market risk aversion γ volatility of the underlying asset σ 2 n Liquidity Premium goes to zero Price converges to efficient level S 1 = μ LT1 net trade converges to liquidity need
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Trading Costs Model with participation costs c c : proxy for time and investments needed to keep a constant, active and competitive presence in the market + opportunity costs Result: Level of competition decreases monotonically with supplier s participation costs Increase the liquidity premium
Trading Costs Model with trading cost η Depend on level of activity in the market (proportional to shares traded) Act like participation costs for liquidity traders (fees are known) Relatively small trades are too expensive t=2 q 2 j, = E S 3 η ε 2 ] (S 2 η) γσ 2 for LT1 & MM q 2 LT2, = E S 3+η ε 2 ] (S 2 +η) γσ 2 S 2 = μ + ε 2,
Trading Costs t=1 LT1: any quantities he doesn t sell now he has to sell later q 1 LT1 = E S 2 η ε 2 ] (S 1 η) γσ 2 MM: whatever they buy they have to sell later q MM 1 = E S 2 η ε 2 ] (S 1 +η) γσ 2 Equal demand and supply in t=1 S 1 = μ γσ 2 i n+1 2 n n+1 η and q 1 LT1, = i + 2 n n+1 n+1 Extra liquidity discount Almost all trading fees are paid by the LT initiating the transaction Increase in trading fees has smaller effect via competition but greater effect on immediacy and the liquidity discount than participation costs η γσ 2
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Measuring Liquidity Transformation to electronic asset markets Trading does not take place at once and not to a single price LT post MO into exchange meet LO of MM, which are resting in LOB Here: LT1 s MO enters market and is executed against LO in LOB Possibilities: one large order or many small orders As execution price changes, so does LT1 s strategy and eventually, after n selling i shares, the price has moved too far and LT1 stops trading n+1 Overall: execution at average price S 1 Risk premium: S 1 midprice of first MO
Measuring Liquidity Effect of traded quantity Rewrite S 1 S 1 = μ + λq LT1 Grossman-Miller model: n λ = 1 n γσ2 and q LT1 = i n+1 λ : market price reaction to LT1 s total order (price impact) Describes liquidity of the market for this asset The more liquid, the lower the absolute lambda
Measuring Liquidity Other way to measure liquidity: autocovariance in asset price changes (or returns) Introduce new date t=0 and a random public event ε 1 announced between 0 and 1 S 3 = μ + ε 1 + ε 2 + ε 3 μ 0 = E S 3, μ 1 = E S 3 ε 1, μ 2 = E S 3 ε 1, ε 2, μ 3 = S 3 ε 1, ε 2, ε 3 i.i.d. ~N(0, σ 2 ) Discrete process μ t is a martingale, efficient price process No trades in t=0 S 0 = E S 3 = μ 0 S 1 = μ + λq LT1, S 2 = μ 2 Δ 1 = S 1 S 0, Δ 2 = S 2 S 1 Cov Δ 1, Δ 2 = λ 2 Var q LT1 < 0 Autocovariance captures liquidity just like price impact does λ 0 Cov 0 price process converges to martingale process μ t
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Market Making using Limit Orders Small risk-neutral trader with costless inventory management and infinite patience Other MMs do not react to our MMs decision Don t know time and size of incoming MOs S t : current value of asset, midprice Liquidates her inventory at midprice at no costs δ ± : depth, distance from mid price p ± : probability that an MO arrives P ± : cdf, probability that price walks to MM s LO after arrival of MO p P (δ ): prob that buy LO is filled Distribution of other LO s: exponential with parameter κ ± p P (δ ) = p e κ δ
Market Making using Limit Orders Π: MM s profit per trade δ ±, = 1 κ ± max E[Π δ +,δ (δ+, δ )] = max δ +,δ {p+ e κ+ δ + δ + + p e κ δ δ } Given our parametric choice of P ±, the optimal depth is equal to the mean depth in the LOB
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Trading on an Informational Advantage Market for an asset, opens only at one time point S: trading price v: future cash value after trading ~N μ, σ 2 Traders: Informed trader: knows exact value of v S t v Anonymous mass of price insensitive liquidity traders (LT) Large number of MMs (observe and compete for order flow) Risk neutral do not need a liquidity premium for taking risk Liquidity premium from informational disadvantage (will be borne by LTs) Know that there is one informed trader, don t know who it is u: net demand of LTs ~N 0, σ 2 u independent of v x(v): number of shares traded by the informed trader x(v) + u : net order flow observed by MMs
Trading on an Informational Advantage Solution: Bayesian Nash equilibrium All agents optimize given the decisions of all other players according to their beliefs S = E v F where F:all information available to MMs (semi-strong efficiency) S x + u = E v x + u Because of the normality of v and u insiders hypothesize S x + u = μ + λ(x + u) λ: linear sensitivity of the market price to order flow max x E[x v S x + u ] x v = β v μ ; β = 2λ 1 S = E[v x + u] = μ + 2 x+u σ u σ premium (λ = 2σ u σ )
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
MM with an Informational Disadvantage Many informed traders, can only trade 1 unit p Nature 1 p V H V L α 1 α α 1 α Informed Uninformed Informed Uninformed 1/2 1/2 1/2 1/2 Buy (a) Buy (a) Sell (b) Sell (b) Sell (b) Buy (a)
MM with an Informational Disadvantage Δ a, Δ b : ask- and bid-halfspreads spread = Δ a + Δ b MM chooses a = μ + Δ a and b = μ Δ b (μ = E[v F]) Buy order comes in: From uninformed LT expected profit a μ = Δ a From informed Trader expected loss a V H = Δ a V h μ Expected profit of posting price a: (1 α)/2 Δ αp+(1 α)/2 a + αp αp+ 1 α 2 Δ a V H μ =! 0 Δ a = 1 1+ 1 α 1/2 α p (V H μ) Δ b = 1 1+ 1 α α 1/2 1 p (μ V L )
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Price Dynamics Incorporate time dimension, for simplicity: interest = zero Determination of cash value at t=t F t : Public information in t p t = P v = V H F t, μ t = E v F t a t = μ t + Δ a,t = μ t + b t = μ t + Δ b,t = μ t 1 1+ 1 α α 1 1+ 1 α α 1/2 p t (V H μ t ) 1/2 (μ t V L ) 1 p t At every execution, the execution price is equal to the expectation of the underlying asset conditional on the history of order flow and also on the information in the execution (buy or sell) realized price process is a martingale
Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using Limit Orders Trading on an Informational Advantage MM with an Informational Disadvantage Price Dynamics Price Sensitive Liquidity Traders
Price Sensitive Liquidity Traders LTs avoid trading if the half-spread is too high LT i gets a cash equivalent utility gain of c i (urgency parameter) if he executes his desired trade if c i < Δ the trade won t be executed F c = P(c i < c) Δ a = 1+ 1 α α 1 1 F Δa 2 p V H μ Δ b = 1+ 1 α α 1 1 F Δ b 2 p μ V L MM increases halfspread smaller population of LTs trades c i small Δ a = V H μ and Δ b = μ V L = solution without LTs market collapse strong efficient price
Thank you