Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Jing Guo
Strats Associate, Goldman Sachs
PhD in Financial Engineering, Columbia University
1
Reference: Maglaras (2015), Rama Cont and Stoikov (2014), C. Maglaras (n.d.)
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 1 / 18
Outline
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 2 / 18
Algo Trading Systems: Typically Decomposed into 3 Steps
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 3 / 18
Stylized Optimal Execution in a LOB
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 4 / 18
Structure of Optimal Policy
Market orders:
Trade with a small block trade t = 0+ (do not move price)
Trade continuously and slowly without moving price in (0, T ).
Market orders do not push the price until T .
Limit orders: since price will not move (up or down) in (0, T ),
post maximal limit order quantity that could execute taking into
account queue dynamics and queue position.
Block trade: submit at T , if needed, to complete target quantity C.
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 5 / 18
Practical Consideration
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 6 / 18
Essential Building Block: Market Impact Model
Optimizing the trade schedule, i.e., how to split a large trade over
smaller waves to be executed over time, requires a cost function for:
Immediate costs due to current trading decisions (e.g., next 3 min)
Impact of current decisions on future prices (and future trades)
Key considerations:
Transient costs: impact of current trading decisions on price
Decay of transient costs: instantaneous? impact decays over time?
Permanent costs: is there a permanent cost (information content)?
Time-scales: interpretation of transient, decay, permanent
Calibration
How to model? functional forms? (depends on relevant time-scale)
What data is needed
Stock segmentation
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 7 / 18
What Causes Market Impact
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 8 / 18
Market Impact Modeling
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 9 / 18
Drivers of Short-Term Execution Cost
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 10 / 18
Proprietary Trade Data
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 11 / 18
Outline
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 12 / 18
Market Impact Model: Rama Cont and Stoikov (2014)
Rama Cont and Stoikov (2014) proposed a regression model for price
change due to order imbalance:
∆Pi = αi + βi OF Ii + εi ,
where:
∆Pi is the difference of the first and last bid-ask mid price in interval
[Ti−1 , Ti ], P
Order flow imbalance OF Ii := t∈[Ti−1 ,Ti ] et ,
where
where Pnb (Pns ) is n-th bid (ask) price, and qnb (qns ) is n-th bid (ask)
volume.
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 13 / 18
Market Impact Model: Rama Cont and Stoikov (2014)
(Cont’d)
2 3
2
Features are constructed in every Ti − Tt−1 = ∆T =10 seconds.
3
Regression is renewed in every 30 minutes.
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 14 / 18
Market Impact Model: C. Maglaras (n.d.)
IS = β0 + β1 · s∗ + β2 · (RL s∗ ) + β3 · (RM δ ∗ ) + β4 · δ ∗ ,
where:
s∗ := ps is bid-ask spread relative to stock price,
δ ∗ := pδ is tick size relative to stock price,
RL is price adjustment due to limit order,
RM is price adjustment due to market order.
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 15 / 18
In-sample Regressions (ADV ≥ 300,000 shares; POV ∈ (1%, 30%))
4
Daily volatility σ ∗ is used a proxy of effective tick size δ ∗ .
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 16 / 18
Cross-Validation
Cross-Validation
C. Maglaras (n.d.) ”micro” model:
IS = β0 + β1 · s∗ + β2 · (RL s∗ ) + β3 · (RM δ ∗ ) + β4 · δ ∗ .
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 17 / 18
References I
Jing Guo (Goldman Sachs) Limit Order Book November 26, 2017 18 / 18