Optimal Portfolio Liquidation and Macro Hedging

Similar documents
Portfolio Management and Optimal Execution via Convex Optimization

Equity correlations implied by index options: estimation and model uncertainty analysis

Optimal Order Placement

2.1 Mean-variance Analysis: Single-period Model

One-Factor Models { 1 Key features of one-factor (equilibrium) models: { All bond prices are a function of a single state variable, the short rate. {

An Intertemporal Capital Asset Pricing Model

Lecture IV Portfolio management: Efficient portfolios. Introduction to Finance Mathematics Fall Financial mathematics

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Final Exam

Price Impact and Optimal Execution Strategy

Order book resilience, price manipulations, and the positive portfolio problem

Multi-Period Trading via Convex Optimization

Introduction. The Model Setup F.O.Cs Firms Decision. Constant Money Growth. Impulse Response Functions

Optimal order execution

Equilibrium Asset Returns

Illiquidity, Credit risk and Merton s model

Option-Implied Information in Asset Allocation Decisions

Notes. Cases on Static Optimization. Chapter 6 Algorithms Comparison: The Swing Case

Dynamic Replication of Non-Maturing Assets and Liabilities

Multiscale Stochastic Volatility Models

ROBUST OPTIMIZATION OF MULTI-PERIOD PRODUCTION PLANNING UNDER DEMAND UNCERTAINTY. A. Ben-Tal, B. Golany and M. Rozenblit

Optimal Security Liquidation Algorithms

PORTFOLIO THEORY. Master in Finance INVESTMENTS. Szabolcs Sebestyén

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2011, Mr. Ruey S. Tsay. Solutions to Final Exam.

Hedging with Life and General Insurance Products

Log-Robust Portfolio Management

LECTURE NOTES 10 ARIEL M. VIALE

The Uncertain Volatility Model

European option pricing under parameter uncertainty

Calculating VaR. There are several approaches for calculating the Value at Risk figure. The most popular are the

Conditional Value-at-Risk: Theory and Applications

No-arbitrage theorem for multi-factor uncertain stock model with floating interest rate

Optimal Trading Strategy With Optimal Horizon

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2017, Mr. Ruey S. Tsay. Solutions to Final Exam

AMH4 - ADVANCED OPTION PRICING. Contents

Anumericalalgorithm for general HJB equations : a jump-constrained BSDE approach

13.3 A Stochastic Production Planning Model

Optimal Trade Execution: Mean Variance or Mean Quadratic Variation?

CS 774 Project: Fall 2009 Version: November 27, 2009

A No-Arbitrage Theorem for Uncertain Stock Model

Optimal routing and placement of orders in limit order markets

Continuous-Time Consumption and Portfolio Choice

Optimal Portfolio Selection Under the Estimation Risk in Mean Return

Applications of Linear Programming

Imperfect Information and Market Segmentation Walsh Chapter 5

Mathematics of Finance Final Preparation December 19. To be thoroughly prepared for the final exam, you should

HEDGING RAINBOW OPTIONS IN DISCRETE TIME

Advanced Topics in Derivative Pricing Models. Topic 4 - Variance products and volatility derivatives

A Robust Option Pricing Problem

A Closed-form Solution for Outperfomance Options with Stochastic Correlation and Stochastic Volatility

Monte Carlo Methods for Uncertainty Quantification

Robustness, Model Uncertainty and Pricing

Weak Reflection Principle and Static Hedging of Barrier Options

Convergence Analysis of Monte Carlo Calibration of Financial Market Models

Simple Robust Hedging with Nearby Contracts

Singular Stochastic Control Models for Optimal Dynamic Withdrawal Policies in Variable Annuities

Optimal liquidation with market parameter shift: a forward approach

The Optimization Process: An example of portfolio optimization

Optimal Execution: II. Trade Optimal Execution

Risk Control of Mean-Reversion Time in Statistical Arbitrage,

Chapter 15: Jump Processes and Incomplete Markets. 1 Jumps as One Explanation of Incomplete Markets

The mean-variance portfolio choice framework and its generalizations

Idiosyncratic risk, insurance, and aggregate consumption dynamics: a likelihood perspective

Asymptotic methods in risk management. Advances in Financial Mathematics

Real Options and Game Theory in Incomplete Markets

The Self-financing Condition: Remembering the Limit Order Book

Application to Portfolio Theory and the Capital Asset Pricing Model

Portfolio selection with multiple risk measures

Simulation of delta hedging of an option with volume uncertainty. Marc LE DU, Clémence ALASSEUR EDF R&D - OSIRIS

A Consistent Pricing Model for Index Options and Volatility Derivatives

Exploring Volatility Derivatives: New Advances in Modelling. Bruno Dupire Bloomberg L.P. NY

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay Solutions to Final Exam

Risk and Portfolio Management Spring Statistical Methods for Mortgage-Backed Securities

Modeling Portfolios that Contain Risky Assets Risk and Reward III: Basic Markowitz Portfolio Theory

Price manipulation in models of the order book

Worst-Case Value-at-Risk of Non-Linear Portfolios

Chapter 7: Portfolio Theory

Hedging Under Jump Diffusions with Transaction Costs. Peter Forsyth, Shannon Kennedy, Ken Vetzal University of Waterloo

- 1 - **** d(lns) = (µ (1/2)σ 2 )dt + σdw t

Menu Costs and Phillips Curve by Mikhail Golosov and Robert Lucas. JPE (2007)

Multiname and Multiscale Default Modeling

The Correlation Smile Recovery

SYSM 6304: Risk and Decision Analysis Lecture 6: Pricing and Hedging Financial Derivatives

Quantitative Risk Management

Robust Optimization Applied to a Currency Portfolio

Dynamic Portfolio Choice with Frictions

OPTIMAL PORTFOLIO CONTROL WITH TRADING STRATEGIES OF FINITE

Idiosyncratic risk and the dynamics of aggregate consumption: a likelihood-based perspective

2.1 Mathematical Basis: Risk-Neutral Pricing

Lecture 3: Factor models in modern portfolio choice

Worst-case-expectation approach to optimization under uncertainty

Extended Libor Models and Their Calibration

Application of Stochastic Calculus to Price a Quanto Spread

INTEREST RATES AND FX MODELS

Portfolio Optimization with Alternative Risk Measures

CSCI 1951-G Optimization Methods in Finance Part 07: Portfolio Optimization

Risk Neutral Valuation

u (x) < 0. and if you believe in diminishing return of the wealth, then you would require

STOCHASTIC INTEGRALS

IEOR E4602: Quantitative Risk Management

SOLVING ROBUST SUPPLY CHAIN PROBLEMS

Transcription:

Bloomberg Quant Seminar, October 15, 2015 Optimal Portfolio Liquidation and Macro Hedging Marco Avellaneda Courant Institute, YU Joint work with Yilun Dong and Benjamin Valkai

Liquidity Risk Measures Liquidity = the ease with which we can turn a portfolio of securities into cash. Equities: there is a wide dispersion in terms of bid-ask spreads and trading volumes. Listed equities are among the most liquid assets, but there are sporadically events in the market that require monitoring liquidity (e.g. ETF creation/redemption, mutual funds liquidation, flash crashes). Index futures are ``super liquid. Credit: good liquidity in indexes (CDX, ITraxx). Less so in corporate obligors. Government bonds: liquidity mismatch between on-the-run and off-the-run issues. Can give rise to interesting risk problems in the repo market (haircut calculations). Corporate bonds: trade ``by appointment only. Liquidity Measures can be a useful tool to set competitive bid-ask spreads for block trades, for IM charges for central clearing, and for risk-management of bank portfolios.

U.S. Listed Stocks: Histogram of ADV, log scale US listed stocks Log scale >1 MM (3000) >100MM >1BB >10 BB (490) (20) (1) E-mini Future Front month: ~ 80 BB ADV SPY ETF

Portfolio Description & Assumptions assets, with pricing functions P it = P i R t. R t is a vector of risk factors representing uncertainty. Initial quantity of asset i = X i. Balance at time t > 0 = X it. Each asset has an observable average daily volume (ADV), and a liquidity threshold k i = 0.1 ADV i, i = 1,. Assume that a trader will transact no more than k i units per day of asset i. Assume that trades can take place at price P it if the liquidity restrictions are met. Based on these simple assumptions, we propose a liquidity measure or liquidity charge for portfolios.

Expected Shortfall, or CVaR ES α Y E Y Y < β where P Y < β = 1 α β Expected Shortfall is the average PnL conditional that the PnL is below the Value-at-Risk with confidence α (α=99%, 99.5%...). In general, we assume assets have zero drift during liquidation and that ES will be negative.

Expected Shortfall for Worst Transient Loss PL at time t from a liquidation strategy: Y t Y t = 0 t i=1 X is dp is t > 0. Proposed risk measure: LC X = max X t Ω ES α min t>0 0 t i=1 X is dp is Ω= X: X it k i ; t > 0

Single Asset: Optimal Execution & Liquidity Charge X 1 ``twap Define: T max = X 1 k 1 Optimal Strategy: X 1t = X 1 sgn X 1 k 1 t t T max T max Liquidity Charge*: LC X 1 = σ 1 k 1 3 X 1 1.5 LC/ X ~ X * Under some additional assumptions on the asset (bounded volatility) X

Portfolio Liquidity Measure (1) Assume, to simplify, that the assets prices are linear in the risk factors dp i P i = This means that we characterize the assets by their linearized sensitivities to risk factors expressed in dollars (delta, vega, DV01, ). (2) Assume also that dr j are multivariate Gaussian or Student-T. (3) Measure positions in dollars as opposed to contracts. m j=1 δ ij dr j = σ i dz it dy = i=1 X it dp i P i = i=1 X it σ i dz it

Simplified Expression for the Liquidity Charge P min t<t Y t < x = 2 P Y T < x ( T, Schwartz reflection principle) ES α min t<t Y t = ES1+α 2 Y T = ζ1+α 2 E Y T 2 Ω= X: X it k i ; t > 0 LC X = ζ1+α 2 min X t Ω 0 X t AX t dt A = covariance matrix ζ1+α 2 = ES1+α 2 (0,1) Under linearization, the problem reduces to minimizing the variance of the terminal PnL.

Constrained Linear-Quadratic Regulator Minimize: U X = 0 X t AX t dt = 0 i=1 X it A ij X jt dt subject to initial constraints and velocity constraints: X i0 = X i (initial portfolio holdings) X it k i, i = 1,,, t > 0. (velocity bounds) This is a non-linear problem in control theory. The non-linearity comes from the velocity constraint. The problem can be solved by quadratic programming (QP), since it consists of minimizing a quadratic function on a convex polyhedral set. Optimal liquidation strategies should consider hedges between different portfolio components.

Hamilton-Jacobi-Bellman Equation The optimal value function satisfies the HJB equation: i=1 k i U x i = ij=1 x i A ij x j, Formally, the optimal liquidation strategy is given by X it = k i Sgn U x i X t Unfortunately, the HJB equation does not admit a closed-form solution and cannot be solved numerically in high dimensions. It shows nevertheless that the trajectories are piecewise linear.

Euler-Lagrange Equations Euler-Lagrange: x it = k i 2 δ A ij x js ds A ij x jt t j=1 j=1 Pontryagin MP: x it = k i Sign A ij x js ds (Feedback control) t j=1 We have piecewise linear trajectories that can change direction only if the sign of the quantity t j=1 A ij x js ds is zero or if j=1 A ij x jt =0.

2-D problem: Hedging Lines Hedging lines: L 1 : A 11 x 1 + A 12 x 2 = 0 L 2 : A 21 x 1 + A 22 x 2 = 0 k 1, k 2 Stable hedging line: L 1 is stable if k 1 k 2 A 12 A 11 L 2 is stable if k 2 k 1 A 12 A 22 Stability means that the line is a portion of an optimal trajectory. L 2 Two lines stable if: ρ σ 1k 1 σ 2 k 2 1 ρ - Liquidities are comparable - Correlation is low L 1 Both lines are stable

Two stable hedging lines: optimal liquidation D x 2 A C x 1 In each sector (determined by the hedging lines), the strategy follows the direction ±k 1, ±k 2 pointing to the origin. After hitting a hedging line, the strategy stays on the line, beta-hedging one asset with the other, until liquidation is completed. L1 B L2

2-D problem with only one stable line Hedging lines: L 1 : A 11 x 1 + A 12 x 2 = 0 L 2 : A 21 x 1 + A 22 x 2 = 0 k 1, k 2 Stable hedging line: L 1 is stable if k 1 k 2 A 12 A 11 L 2 is stable if k 2 k 1 A 12 A 22 L 2 Only one hedging line corresponds to the case when the liquidities of the assets are very different L 1 Only L 1 is stable.

The position of the ghost line is found by backward induction (method of characteristics) Only one stable line: optimal trajectories All trajectories flow to the stable line, which corresponds to the most liquid asset. ``ghost line X 1, X 2 Ghost line is a line where the gradient of U vanishes, but it is not a hedging line.

In higher dimensions: separation of scales Assume one very liquid asset and other less liquid ones: k 1 = 1 ε, ε 1. x 1t = 1 ε Sign t j=1 A 1j x js ds x it = k i Sign t j=1 A ij x js ds i=2,3,, As ε 0, the optimal trajectory will travel in time O(ε) to the hyperplane j=1 and remain there until the end of the liquidation period. A 1j x j = 0

Separation of Scales and Macro-hedging Solving for x 1t, we find that in time O ε the optimal trajectory reaches the ``hedging hyperplane x 1t = 1 A A 1j x jt = β 1j x jt 11 j=2 j=2 Substituting this value in the other equations, we find that x it = k i Sign t j=2 A ij x js ds i = 2,3,,. A ij = A ij A i1a j1 A 11 Matrix of residuals after beta hedging with the ultra-liquid asset In the presence of an ultra-liquid asset (e.g. index futures) it is optimal to first beta-hedge the portfolio with respect to this asset, and then proceed to liquidate optimally the ``residuals.

3-D Liquidation with one hyperliquid asset 2 H 1 1 (0, x 2, x 3 ) H 1 : A 11 x 1 + A 12 x 2 + A 13 x 3 = 0 3 Fast motion to beta-neutral plane (Macro hedging by selling asset #1). (x(t 1 ), x 2 (t 1 ), x 3 (t 1 )) Optimal hedging for the residuals

Position T max Blue trajectory is macro-hedging

Questions 1. How efficient is macro-hedging (hedging with index derivatives) in the context of optimal liquidation? 2. Does separation of scales work in practice? 3. Find an approximation to the LC which does not require (if possible) solving the full problem.

More tractable problem: the Almgren-Chriss/ Garleanu-Pedersen LQR models Replace ``hard liquidity constraint by quadratic penalty. U ac X = min X Ξ 0 X t AX t + i=1 X it k i 2 dt Quadratic velocity penalty Ξ = X: X i0 = X 0 Almgren-Chriss model (2000) uses quadratic market impact functions for optimal execution; see also Garleanu and Pedersen (2010) for portfolio management with transaction costs. LQR do not have the desirable 3/2-power law, as U ac (X)scales linearly with portfolio size. evertheless, multi-d LQR model is fully tractable and thus useful to test separation of scales.

Hamilton-Jacobi-Bellman equation for LQR The equation is: i=1 k i 2 U x i 2 = x Ax The solution is: U x = x Mx M = L 1 LAL 1/2 L 1 where L = diag(k 1,,k ) In 1 D, The optimal strategy is: X t = KX t, K = L LAL 1/2 L 1 X t = X 0 e kσt

Empirical Study We considered the ~ 500 stocks composing the S&P 500 index and the E-mini S&P Index futures. We constructed 100 portfolios of 20 randomly chosen stocks among the 500 stocks. (Long only). For each portfolio we computed: 1. The cost of liquidating the positions using the 1-D LQR model separately on each position. 2. The cost of liquidating optimally the portfolio using the multi-d LQR strategy 3. The cost of liquidating optimally the portfolio, including E-mini S&P, using the multi-d LQR strategy 4. The sum of (A) the costs of the macro-hedge and (B) the cost of liquidating optimally the residuals 5. The sum of (A) the cost of the macro hedge and (B) to liquidate the residuals using the 1D LQR for each asset.

Formulas for various costs (assume ζ = 1) LQR, with and without MH LC lqr 2 = X MX M = L 1 LAL 1/2 L 1 Separation of Scales: MH followed by LQR on residuals LC ss 2 = X 1 j=2 β 1j X j 2 σ 1 k 1 + X M X X = 0, X 2,, X aïve strategy: 1-D LQR liquidations LC 1D 2 = mn=1 A mn X m X n σ m k m + σ n k n Macro-hedging followed by naïve strategy on residuals LC MH+1D 2 = X 1 j=2 β 1j X j 2 σ 1 k 1 + mn=2 A mn X m X n σ m k m + σ n k n

Testing randomly-generated portfolios using S&P constituents

Effect of Macro-hedging on LQR and aïve strategies

Costs: Comparing exact LQR vs. Separation of Scales Separation of scales approximation is very close to LQR. (Here we solve the residuals problem exactly with LQR).

Small portfolio: Macro hedging with e-mini S&P futures For stocks: only the first contract is useful. Optimal solution macro-hedges with ES1 and a bit with AAPL. otice that the second futures is not used (green line near zero).

500 stock portfolio, equal dollar weighted Full LQR MH + aïve Liq of residuals

Concluding remarks This approach to Liquidity charges has been applied to Credit markets, Equity Derivatives clearing & U.S. Treasury bonds. Markets change and calibrations may be different, but the mathematical framework and approximations (MH+aïve, etc.) are very similar. LQR is a good tool to explore the properties of optimal paths, but it is unrealistic in some ways. The`` liquidity constraints approach gives simpler strategies and has the correct scaling. But it is also harder to solve. The constrained problem with full-valuation is similar to BM&F Bovespa s CORE, which is solved by linear programming, but can be computationally expensive for large books.