Handbook of Price Impact Modeling
Book information
Description
The Handbook of Price Impact Modeling provides practitioners and students with a mathematical framework grounded in academic references to apply price impact models to quantitative trading and portfolio management. Automated trading is now the dominant form of trading across all frequencies. Furthermore, trading algorithm rise introduces new questions professionals must answer, for instance: How do stock prices react to a trading strategy? How to scale a portfolio considering its trading costs and liquidity risk? How to measure and improve trading algorithms while avoiding biases? Price impact models answer these novel questions at the forefront of quantitative finance. Hence, practitioners and students can use this Handbook as a comprehensive, modern view of systematic trading. For financial institutions, the Handbook’s framework aims to minimize the firm’s price impact, measure market liquidity risk, and provide a unified, succinct view of the firm’s trading activity to the C-suite via analytics and tactical research. The Handbook’s focus on applications and everyday skillsets makes it an ideal textbook for a master’s in finance class and students joining quantitative trading desks. Using price impact models, the reader learns how to: Build a market simulator to back test trading algorithms Implement closed-form strategies that optimize trading signals Measure liquidity risk and stress test portfolios for fire sales Analyze algorithm performance controlling for common trading biases Estimate price impact models using public trading tape Finally, the reader finds a primer on the database kdb+ and its programming language q, which are standard tools for analyzing high-frequency trading data at banks and hedge funds. Authored by a finance professional, this book is a valuable resource for quantitative researchers and traders. Cover Half Title Series Page Title Page Copyright Page Contents Preface I. Introduction 1. Introduction to Modeling Price Impact 1.1. The Handbook’s Scope 1.1.1. Introduction 1.1.2. What is price impact? Why do traders care about it? 1.1.3. The causality challenge for price impact models 1.1.4. Four core modeling principles 1.1.5. A brief history of price impact models 1.2. Trading Terminology 1.2.1. Trading strategies 1.2.2. Trading data: fills, orders, and binned data 1.2.3. Trading signals, alpha signals 1.2.4. Intended, predicted, and realized data 1.2.5. Basic trading parameters 1.2.6. Order slippage, arrival price 1.2.7. Alpha slippage, slippage due to price impact 1.2.8. Trading experiments: A-B tests and back tests 1.3. Outlining Applications 1.3.1. Transaction cost analysis (TCA) for sell-side execution teams 1.3.2. Portfolio optimization for buy-side statistical arbitrage teams 1.3.3. Liquidity reports for risk management teams 1.3.4. Portfolio consolidation analysis for senior management 1.4. Roadmap 1.4.1. What to expect from the Handbook 1.4.2. A brief summary of each chapter II. Acting on Price Impact 2. Mathematical Models of Price Impact 2.1. A Pedagogical Example 2.2. Mathematical Setup 2.2.1. Defining price impact and instantaneous transaction costs 2.2.2. Establishing P&L in discrete time 2.2.3. Examples of microstructure assumptions 2.2.4. Reduced form models 2.3. The Obizhaeva and Wang (OW) Propagator Model 2.3.1. An optimal execution problem 2.3.2. Closed-form optimal trading strategy 2.3.3. Intuition behind the optimal trading strategy 2.4. Extensions Related to the Objective Function 2.4.1. Alpha signal 2.4.2. Two-sided trading 2.4.2.1. Bid-Ask spread as a regularization term 2.5. Extensions Related to Time 2.5.1. Time change 2.5.2. Stochastic push 2.5.2.1. Sensitivity analysis in impact space 2.5.3. Linear propagator models 2.6. Extensions Related to External Impact 2.6.1. Microstructure assumptions 2.6.2. Optimal trading strategy with external impact 2.6.3. Local concavity 2.6.4. Global concavity 2.7. Price Manipulation Paradoxes 2.7.1. Constraints on price impact models 2.7.2. Extension to locally concave models 2.7.3. Constraints on volume predictions 2.8. Summary of Results 2.8.1. Generalized OW impact model 2.8.2. Generalized OW impact model with external impact 2.8.3. Control problems 2.8.4. Price manipulation bounds 2.9. Exercises 3. Applications of Price Impact Models 3.1. A Pedagogical Example 3.2. Optimal Execution 3.2.1. Pre-trade cost model 3.2.1.1. Idealized optimal execution problem 3.2.1.2. Communication with the portfolio team 3.2.1.3. Implied alpha 3.2.1.4. The square-root law 3.2.2. Including alpha signals in the execution strategy 3.2.2.1. Alpha latency 3.2.2.2. Reactive execution schedule 3.2.2.3. How trading alphas affect order size 3.2.3. Allowing for tactical deviations at the microstructure level 3.2.3.1. Quantifying deviation’s impact 3.2.3.2. Block trades and auctions 3.2.4. Changing the execution strategy when new orders arrive 3.2.5. A simulation example 3.2.6. Summary 3.3. Transaction Cost Analysis (TCA) 3.3.1. TCA best practices 3.3.1.1. Control for basic trading parameters 3.3.1.2. TCA predictions 3.3.2. An experiment to size orders correctly 3.3.3. Clean-up costs for partial executions 3.3.4. An experiment for consecutive orders 3.3.5. A simulation to improve high-touch trading 3.4. Summary of Results 3.4.1. Optimal execution without intraday alpha 3.4.1.1. Pre-trade cost model 3.4.1.2. Implied alpha 3.4.1.3. The case of sizable orders 3.4.2. Implied alpha’s TCA implication 3.4.3. Clean-up costs 3.4.4. Intraday and low-latency alphas 3.4.4.1. Intraday alpha 3.4.4.2. The cost of tactical algorithms 3.4.5. Optimal execution for multiple orders 3.4.5.1. Combining order executions 3.4.5.2. TCA for consecutive orders 3.5. Exercises 4. Further Applications of Price Impact Models 4.1. A Pedagogical Example 4.2. Statistical Arbitrage 4.2.1. Using external impact as an alpha signal 4.2.1.1. Cont, Cucuringu, and Zhang’s alpha signal 4.2.1.2. Model architecture 4.2.1.3. Extensions 4.2.2. Adjusting regression techniques for liquidity 4.2.3. Using price impact for simulation 4.2.3.1. Waelbroeck’s simulation environment 4.2.3.2. Business applications of a market simulator 4.3. Portfolio and Risk Management 4.3.1. How price impact distorts accounting P&L and perceived risk 4.3.1.1. Expected closing P&L 4.3.1.2. P&L bias examples 4.3.1.3. P&L bias in steady state 4.3.2. General implications and actions 4.3.2.1. Portfolio management implications 4.3.2.2. Liquidity risk implications 4.3.2.3. Senior management implications 4.3.3. Simulating fire sales 4.3.3.1. Liquidation without fire sale 4.3.3.2. Liquidation with fire sale 4.4. Combining Two Portfolios’ Trading 4.4.1. Theory in the case without mutual information 4.4.2. Theory in the case with mutual information 4.4.3. Empirical simulation approach 4.5. Summary of Results 4.5.1. Alpha research 4.5.2. Market simulator 4.5.3. Liquidity risk management 4.5.4. Combining two portfolios’ trading 4.6. Exercises III. Measuring Price Impact 5. An Introduction to the Mathematics of Causal Inference 5.1. A Pedagogical Example 5.2. A Technical Primer on Causal Inference 5.2.1. Causal structures 5.2.2. Do-calculus 5.2.3. Simpson’s paradox 5.2.4. Identifiability of causal formulas 5.3. Methods to Reduce Causal Biases 5.3.1. Standard A-B testing 5.3.2. Causal regularization 5.3.2.1. Regularization in the predictive case 5.3.2.2. Regularization in the causal case 5.4. Summary of Results 5.4.1. Causal structures and models 5.4.2. Do-calculus 5.4.3. A-B testing 5.4.3.1. Interventional data 5.4.3.2. Causal regularization 5.5. Exercises 6. Dealing with Biases When Fitting Price Impact Models 6.1. A Pedagogical Example 6.2. Chapter Roadmap 6.2.1. A non-technical primer on causal inference 6.2.2. Applying causal inference to trading 6.2.3. A template for dealing with causal biases 6.3. Prediction Bias 6.3.1. Definitions 6.3.2. Actions and counterfactuals 6.3.2.1. Why is impact research complex? 6.3.3. Experiments and regularization 6.3.4. A simulation example 6.4. Synchronization Bias 6.4.1. Definitions 6.4.2. Actions and counterfactuals 6.4.3. Experiments 6.5. Implementation Bias 6.5.1. Definitions 6.5.2. Actions and counterfactuals 6.5.3. Experiments and regularization 6.6. Issuer Bias 6.6.1. Definitions 6.6.2. Actions and counterfactuals 6.6.3. Experiments and regularization 6.7. Concluding Thoughts 6.8. Summary of Results 6.8.1. Prediction bias 6.8.2. Synchronization bias 6.8.3. Implementation bias 6.8.4. Issuer bias 6.9. Exercises 7. Empirical Analysis of Price Impact Models 7.1. A Pedagogical Example 7.2. Methodology 7.2.1. Pre-processing the event-based data 7.2.2. Definition of the base features and binned data 7.2.3. Definition of the time kernel and price impact computation 7.2.4. Definition of the prediction horizon and training samples 7.2.5. Definition of the testing and validation samples 7.3. Review of the Models in the Literature 7.3.1. The order flow imbalance (OFI) model 7.3.2. The original OW model 7.3.3. The locally concave Bouchaud model 7.3.4. The reduced-form model 7.3.5. The globally concave AFS model 7.4. Empirical Model Comparisons 7.4.1. Across timescales 7.4.2. Across time of day 7.4.3. Across clocks 7.4.4. Across stocks 7.4.5. The magnitude of price impact 7.5. Cross-Impact 7.5.1. Causal bias for cross-impact 7.5.2. Price impact for factor trading 7.5.2.1. Causal graph for the EigenLiquidity model 7.5.2.2. Distinction between do(Qi, Qj) and do(Q) 7.5.2.3. Counterfactuals under ε 7.5.2.4. Cross-impact for risk-management and factor research 7.5.3. Price impact for pairs trading 7.5.3.1. Bonds in Schneider and Lillo (2019)[206] 7.5.3.2. Options in Said et al. (2021)[203] 7.5.3.3. Commodity futures in Tomas, Mastromatteo, and Benzaquen (2022)[224] 7.5.3.4. Equities futures in Rosenbaum and Tomas (2021)[199] 7.5.3.5. Sparse equities cross-impact in Cont, Cucuringu, and Zhang (2021)[73] 7.6. Summary of Results 7.6.1. Discrete formulas for price impact models 7.6.1.1. The original OW model 7.6.1.2. The locally concave Bouchaud model 7.6.1.3. The reduced-form model 7.6.1.4. The globally concave AFS model 7.6.2. Summary table 7.6.3. The EigenLiquidity model 7.7. Exercises IV. Appendix A. Using Kdb+ for Trading Models A.1. A Gentle Introduction to Kdb+ A.1.1. What is kdb+ and why does it matter to quants? A.1.2. First steps in kdb+ A.1.3. Basic operations in Q A.1.3.1. Q does not follow the traditional order of operations A.1.3.2. Assignments and other basic operators A.1.3.3. Atoms, lists, and dictionaries A.1.3.4. Strings and symbols A.1.3.5. Functions and loops A.1.3.6. Tables are flipped dictionaries of lists A.1.4. Setting up a small database A.2. A Cheat-Sheet for Quantitative Trading A.2.1. Data wrangling in kdb+ A.2.1.1. Qsql queries A.2.1.2. Joins A.2.1.3. Generalizing qsql A.2.2. Long or wide format? A.2.3. Vectorized operations and parallelism in kdb+ A.3. An Efficient Implementation of the Generalized OW Model A.3.1. Key mathematical idea A.3.2. Key algorithmic idea A.3.3. Computing impact states A.4. An Efficient Implementation of TCA A.4.1. Key algorithmic idea A.4.2. Computing TCA returns B. Functional Convergence Theorems for Microstructure B.1. Or How to Deal with Local Non-Linearities in Microstructure B.2. Functional Law of Large Numbers B.3. Functional Central Limit Theorem B.4. Further Readings C. Solutions to Exercises C.1. Solutions to Chapter 2 C.2. Solutions to Chapter 3 C.3. Solutions to Chapter 4 C.4. Solutions to Chapter 5 C.5. Solutions to Chapter 6 C.6. Solutions to Chapter 7 Bibliography Index
Similar books
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF
THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.
1858 · PDF
Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.
2022 · PDF
The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians
1809 · PDF
Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix
2008 · PDF