Quantitative Portfolio Optimization: Advanced Techniques and Applications
()
About this ebook
Expert guidance on implementing quantitative portfolio optimization techniques
In Quantitative Portfolio Optimization: Theory and Practice, renowned financial practitioner Miquel Noguer, alongside physicists Alberto Bueno Guerrero and Julian Antolin Camarena, who possess excellent knowledge in finance, delve into advanced mathematical techniques for portfolio optimization. The book covers a range of topics including mean-variance optimization, the Black-Litterman Model, risk parity and hierarchical risk parity, factor investing, methods based on moments, and robust optimization as well as machine learning and reinforcement technique. These techniques enable readers to develop a systematic, objective, and repeatable approach to investment decision-making, particularly in complex financial markets.
Readers will gain insights into the associated mathematical models, statistical analyses, and computational algorithms for each method, allowing them to put these techniques into practice and identify the best possible mix of assets to maximize returns while minimizing risk. Topics explored in this book include:
- Specific drivers of return across asset classes
- Personal risk tolerance and it#s impact on ideal asses allocation
- The importance of weekly and monthly variance in the returns of specific securities
Serving as a blueprint for solving portfolio optimization problems, Quantitative Portfolio Optimization: Theory and Practice is an essential resource for finance practitioners and individual investors It helps them stay on the cutting edge of modern portfolio theory and achieve the best returns on investments for themselves, their clients, and their organizations.
Related to Quantitative Portfolio Optimization
Titles in the series (100)
Business Exit Planning: Options, Value Enhancement, and Transaction Management for Business Owners Rating: 5 out of 5 stars5/5The Securitization Markets Handbook: Structures and Dynamics of Mortgage- and Asset-backed Securities Rating: 0 out of 5 stars0 ratingsFinancial Simulation Modeling in Excel: A Step-by-Step Guide Rating: 3 out of 5 stars3/5The Mechanics of Securitization: A Practical Guide to Structuring and Closing Asset-Backed Security Transactions Rating: 0 out of 5 stars0 ratingsThe Exchange-Traded Funds Manual Rating: 0 out of 5 stars0 ratingsInvestment Manager Analysis: A Comprehensive Guide to Portfolio Selection, Monitoring and Optimization Rating: 4 out of 5 stars4/5Active Value Investing: Making Money in Range-Bound Markets Rating: 3 out of 5 stars3/5Middle Market M & A: Handbook for Investment Banking and Business Consulting Rating: 4 out of 5 stars4/5Behavioral Finance and Wealth Management: How to Build Optimal Portfolios That Account for Investor Biases Rating: 4 out of 5 stars4/5A History of Interest Rates Rating: 3 out of 5 stars3/5Asian Financial Statement Analysis: Detecting Financial Irregularities Rating: 0 out of 5 stars0 ratingsStructured Finance and Insurance: The ART of Managing Capital and Risk Rating: 3 out of 5 stars3/5Convertible Arbitrage: Insights and Techniques for Successful Hedging Rating: 4 out of 5 stars4/5Foreign Exchange: A Practical Guide to the FX Markets Rating: 5 out of 5 stars5/5Risk Budgeting: Portfolio Problem Solving with Value-at-Risk Rating: 0 out of 5 stars0 ratingsPrivate Equity: Transforming Public Stock to Create Value Rating: 0 out of 5 stars0 ratingsInvestor's Guide to Loss Recovery: Rights, Mediation, Arbitration, and other Strategies Rating: 0 out of 5 stars0 ratingsCarbon Finance: The Financial Implications of Climate Change Rating: 5 out of 5 stars5/5Equity Derivatives: Theory and Applications Rating: 3 out of 5 stars3/5Risk Transfer: Derivatives in Theory and Practice Rating: 0 out of 5 stars0 ratingsActive Credit Portfolio Management in Practice Rating: 0 out of 5 stars0 ratingsDistress Investing: Principles and Technique Rating: 4 out of 5 stars4/5Private Equity: History, Governance, and Operations Rating: 0 out of 5 stars0 ratingsDamodaran on Valuation: Security Analysis for Investment and Corporate Finance Rating: 0 out of 5 stars0 ratingsThe Handbook for Investment Committee Members: How to Make Prudent Investments for Your Organization Rating: 0 out of 5 stars0 ratingsInvesting in Fixed Income Securities: Understanding the Bond Market Rating: 0 out of 5 stars0 ratingsActive Alpha: A Portfolio Approach to Selecting and Managing Alternative Investments Rating: 0 out of 5 stars0 ratingsInternational Economic Indicators and Central Banks Rating: 0 out of 5 stars0 ratingsDebt Capital Markets in China Rating: 0 out of 5 stars0 ratingsInternational Corporate Governance After Sarbanes-Oxley Rating: 0 out of 5 stars0 ratings
Related ebooks
Quantitative Portfolio Construction: Balancing Risk and Reward with Precision Rating: 0 out of 5 stars0 ratingsFinancial Modeling Mastery: Building Robust Models for Market Success Rating: 5 out of 5 stars5/5Stochastic Calculus for Finance: A Practical Guide Rating: 0 out of 5 stars0 ratingsQuantitative Investment Analysis: Techniques for Active Portfolio Management Rating: 0 out of 5 stars0 ratingsQuantitative Macro Trading: Strategies for Global Market Analysis Rating: 0 out of 5 stars0 ratingsVolatility Modeling in Finance: Techniques for Trading Strategies Rating: 0 out of 5 stars0 ratingsRisk-Adjusted Returns: Maximizing Profit with Smart Investment Strategies Rating: 0 out of 5 stars0 ratingsAdvanced Quantitative Finance: Trading, Risk, and Portfolio Optimization Rating: 0 out of 5 stars0 ratingsFinancial Economics: Empowering Wealth, a Journey Into Financial Economics Rating: 0 out of 5 stars0 ratingsMachine Learning for Quants: Algorithms for Predicting Market Movements Rating: 0 out of 5 stars0 ratingsFinancial Engineering: Innovating Solutions for Complex Markets Rating: 0 out of 5 stars0 ratingsAlgorithmic Market Making: Strategies for Liquidity and Profitability Rating: 0 out of 5 stars0 ratingsHigh-Performance Quantitative Strategies: Trading at the Speed of Markets Rating: 5 out of 5 stars5/5Mathematical Finance: Theory and Practice for Quantitative Investors Rating: 0 out of 5 stars0 ratingsDesigning Trading Systems: Building Algorithms for Market Success Rating: 0 out of 5 stars0 ratingsQuantitative Equity Portfolio Management: An Active Approach to Portfolio Construction and Management Rating: 5 out of 5 stars5/5Financial Econometrics: Tools for Quantitative Analysis in Finance Rating: 0 out of 5 stars0 ratingsMastering Markets: The Ultimate Guide to Backtesting and Strategy Validation Rating: 0 out of 5 stars0 ratingsMonte Carlo Methods in Finance: Simulation Techniques for Market Modeling Rating: 5 out of 5 stars5/5Statistical Arbitrage: Exploiting Market Inefficiencies for Profit Rating: 0 out of 5 stars0 ratingsQuantitative Finance: Mastering Mathematical Models for Market Success Rating: 0 out of 5 stars0 ratingsQuantitative Trading Strategies: A Guide to Market-Beating Algorithms Rating: 0 out of 5 stars0 ratingsUnveiling the Future of Finance: A Journey from Algorithmic Trading to Quantum Strategies: 1A, #1 Rating: 0 out of 5 stars0 ratingsMastering AI-Powered Trading Bots for Options Rating: 0 out of 5 stars0 ratingsBayesian Methods in Finance: Probabilistic Approaches to Market Uncertainty Rating: 0 out of 5 stars0 ratingsBehavioral Finance Applications: Insights for Risk Managers and Traders: FINANCIAL ENGINEERING Rating: 0 out of 5 stars0 ratingsStatistical Learning for Trading: A Machine Learning Approach to Market Dynamics Rating: 5 out of 5 stars5/5The New Science of Asset Allocation: Risk Management in a Multi-Asset World Rating: 0 out of 5 stars0 ratingsQuantitative Value Investing: Systematic Approaches to Stock Selection Rating: 0 out of 5 stars0 ratings
Investments & Securities For You
Stock Investing For Dummies Rating: 5 out of 5 stars5/5Principles: Life and Work Rating: 4 out of 5 stars4/5Girls That Invest: Your Guide to Financial Independence through Shares and Stocks Rating: 5 out of 5 stars5/5How to Invest: Masters on the Craft Rating: 4 out of 5 stars4/5Just Keep Buying: Proven ways to save money and build your wealth Rating: 5 out of 5 stars5/5Investing For Beginners: Introduction to Investing, #1 Rating: 4 out of 5 stars4/5The Little Book of Common Sense Investing: The Only Way to Guarantee Your Fair Share of Stock Market Returns Rating: 4 out of 5 stars4/5Options Trading Crash Course: The #1 Beginner's Guide to Make Money with Trading Options in 7 Days or Less! Rating: 4 out of 5 stars4/5Day Trading For Dummies Rating: 4 out of 5 stars4/5Stock Market Investing for Beginners & Dummies Rating: 5 out of 5 stars5/5Best Loser Wins: Why Normal Thinking Never Wins the Trading Game – written by a high-stake day trader Rating: 5 out of 5 stars5/5Technical Analysis For Dummies Rating: 5 out of 5 stars5/5Cryptocurrency: Beginners Bible - How You Can Make Money Trading and Investing in Cryptocurrency Rating: 4 out of 5 stars4/5Technical Analysis A Newbies' Guide: Trading Stocks with Simple Strategies Using Technical Analysis Rating: 4 out of 5 stars4/5Market Wizards: Interviews with Top Traders Rating: 4 out of 5 stars4/5Cryptocurrency Investing For Dummies Rating: 5 out of 5 stars5/5Common Sense on Mutual Funds, Updated 10th Anniversary Edition Rating: 4 out of 5 stars4/5Financial Statement Basics: From Confusion to Comfort in Under 100 Pages Rating: 4 out of 5 stars4/5The Money Game Rating: 4 out of 5 stars4/5Buy Then Build: How Acquisition Entrepreneurs Outsmart the Startup Game Rating: 4 out of 5 stars4/5
Reviews for Quantitative Portfolio Optimization
0 ratings0 reviews
Book preview
Quantitative Portfolio Optimization - Miquel Noguer Alonso
Quantitative Portfolio Optimization
Advanced Techniques and Applications
MIQUEL NOGUER ALONSO
JULIÁN ANTOLÍN CAMARENA
ALBERTO BUENO GUERRERO
Logo:WileyCopyright © 2025 by Miquel Noguer Alonso, Julián Antolín Camarena, and Alberto Bueno Guerrero. All rights reserved.
Published by John Wiley & Sons, Inc., Hoboken, New Jersey.
Published simultaneously in Canada.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 750-4470, or on the web at www.copyright.com. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permission.
Trademarks: Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in the United States and other countries and may not be used without written permission. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc. is not associated with any product or vendor mentioned in this book.
Limit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts in preparing this book, they make no representations or warranties with respect to the accuracy or completeness of the contents of this book and specifically deny any implied warranties of merchantability or fitness for a particular purpose. No warranty may be created or extended by sales representatives or written sales materials. The advice and strategies contained herein may not be suitable for your situation. You should consult with a professional where appropriate. Further, readers should be aware that websites listed in this work may have changed or disappeared between when this work was written and when it is read. Neither the publisher nor authors shall be liable for any loss of profit or any other commercial damages, including but not limited to special, incidental, consequential, or other damages.
For general information on our other products and services or for technical support, please contact our Customer Care Department within the United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic formats. For more information about Wiley products, visit our web site at www.wiley.com.
Library of Congress Cataloging-in-Publication Data:
Names: Noguer Alonso, Miquel, author. | Camarena, Julián Antolín, author. | Bueno Guerrero, Alberto, author.
Title: Quantitative portfolio optimization: Advanced techniques and applications / Miquel Noguer Alonso, Julián Antolín Camarena, Alberto Bueno Guerrero.
Description: Hoboken, New Jersey: John Wiley and Sons, Inc, [2025] | Series: Wiley finance | Includes bibliographical references and index. | Summary: *Quantitative Portfolio Optimization: Advanced Techniques and Applications* offers a comprehensive exploration of portfolio optimization, tracing its evolution from Harry Markowitz’s Modern Portfolio Theory to contemporary techniques. The book combines foundational models like CAPM and Black-Litterman with advanced methods including Bayesian statistics, machine learning, and quantum computing. It bridges theory and practice through detailed explanations, real-world data applications, and case studies. Aimed at finance professionals, researchers, and students, the book provides tools and insights to address future financial challenges and contributes to the field’s ongoing development
– Provided by publisher.
Identifiers: LCCN 2024041151 (print) | LCCN 2024041152 (ebook) | ISBN 9781394281312 (hardback) | ISBN 9781394281336 (pdf) | ISBN 9781394281329 (epub)
Subjects: LCSH: Portfolio management–Mathematical models. | Asset allocation–Mathematical models. | Finance–Mathematical models.
Classification: LCC HG4529.5.N537 2025 (print) | LCC HG4529.5 (ebook) | DDC 332.6–dcundefined
LC record available at https://lccn.loc.gov/2024041151
LC ebook record available at https://lccn.loc.gov/2024041152
Cover image(s): Seamless moroccan pattern. Square vintage tile. Blue and white watercolor ornament painted with paint on paper. Handmade. Print for textiles. Seth grunge texture. © Flovie/Shutterstock
Cover design by Wiley
Preface
Quantitative portfolio optimization is a cornerstone of modern financial management, providing a rigorous framework for balancing risk and return in investment portfolios. This book, Quantitative Portfolio Optimization: Advanced Techniques and Applications, aims to serve as both a comprehensive introduction for those new to the field and a deep dive into the latest advancements for experienced practitioners and researchers.
The genesis of portfolio optimization can be traced back to Harry Markowitz’s Modern Portfolio Theory (MPT) in the 1950s, which introduced the now-fundamental concepts of diversification and mean-variance optimization. Since then, the field has evolved significantly, integrating a wide array of quantitative methods, including Bayesian statistics, machine learning algorithms, and advanced optimization techniques. These methods have transformed portfolio management from a discipline grounded in basic statistical principles to one that leverages innovative computational techniques to solve increasingly complex problems.
This book is structured to reflect this evolution, beginning with foundational theories before progressing to advanced applications. We explore not only traditional models such as the Capital Asset Pricing Model (CAPM) and the Black-Litterman model but also the latest developments in areas such as reinforcement learning, deep learning, and graph-based portfolio construction. Additionally, we cover emerging topics like quantum computing’s role in portfolio optimization and the integration of partial differential equations (PDEs) for modeling portfolio dynamics.
Each chapter is meticulously designed to bridge theory with practice, offering detailed explanations of the mathematical underpinnings of each technique, followed by practical applications using real-world data. The mathematical rigor is complemented by code implementations and case studies that demonstrate the practical utility of the methods discussed.
Whether you are a professional, researcher, or student in the field of finance, we hope this book enhances your understanding of quantitative portfolio optimization and equips you with the knowledge to apply these techniques effectively. As the financial markets continue to evolve, so must the methods we use to manage them. We believe that the approaches detailed in this book will be instrumental in addressing the challenges and opportunities of tomorrow’s financial world.
Finally, we extend our deepest gratitude to our colleagues, students, and family members, whose support and encouragement have been invaluable throughout the creation of this book. It is our sincere hope that this work contributes meaningfully to the ongoing development of the field of quantitative portfolio optimization.
Acknowledgements
Miquel I would like to express my gratitude to all those who have contributed to the development and success of this book, especially my co-authors and Alejandro Rodriguez Dominguez. Special thanks to my colleagues in the Quant Community. My mother Maria del Carmen, my sons Jordi and Arnau, and my brother Jordi who always supported me. A lot of people in finance, mathematics, and computer science have inspired me to author this book, to do my best. To Emmanuel, Garud, Peter, Petter, Matthew, Igor, and Gordon. To my dad Jordi, I love you.
Julián I am deeply indebted to my wife, Esther; my parents, Antonio and Cecilia; my brother, Omar; and all of my friends who always support me in whatever I may choose to do. I thank and love you all. And of course, my much beloved pug, Nibbler, who always puts a smile on my face. I love you, kiddo.
I also thank my friends and co-authors Miquel and Alberto, with whom I have had engrossing and fun conversations, and without whom I would not have been a part of this book.
Alberto My first thanks go to my wife Elena, for her continued support and encouragement in everything I do. Also, to my children, Iván, Leo, Elena, and Hugo, for their help, respect, and affection. I could not forget my mother, María del Carmen, who brought me into this world and has always believed in me; and my father, Francisco, who is no longer with us, and who instilled in me his love of knowledge. Special thanks also go to my brother, Francisco José, who has always been an example for me.
About the Authors
Miquel Noguer Alonso is a seasoned financial professional and academic with over 30 years of experience in the industry. He is the Founder of the Artificial Intelligence Finance Institute and Head of Development at Global AI. His career includes roles such as Executive Director at UBS AG and CIO for Andbank. He has served on the European Investment Committee UBS for a decade. He is on the advisory board of FDP Institute and CFA NY.
Mr. Noguer is also an academic, teaching AI, Big Data, and Fintech at institutions like NYU Courant Institute, NYU Tandon, Columbia University, and ESADE. He pioneered the first Fintech and Big Data course at the London Business School in 2017. He is the author of 10 papers on Artificial Intelligence.
He holds an MBA and a Degree in business administration from ESADE, a PhD in quantitative finance from UNED, and other prestigious certifications. His research interests span asset allocation, machine learning, algorithmic trading, and Fintech.
Julián Antolín Camarena holds a bachelor’s, master’s and a PhD in physics. For his master’s, he worked on the foundations of quantum mechanics examining alternative quantization schemes and their application to exotic atoms to discover new physics. His PhD dissertation work was on computational and theoretical optics, electromagnetic scattering from random surfaces, and nonlinear optimization. He then went on to a postdoctoral stint with the US Army Research Laboratory working on inverse reinforcement learning for human-autonomy teaming. He then worked as an Applied AI Researcher at Point72 Asset Management where his research was to develop algorithms for time series analysis using machine learning algorithms and developing deep learning architectures. Currently, works in applying AI to quantitative bioimaging and biophysics at Arizona State University.
Alberto Bueno Guerrero has two bachelor’s degrees in physics and economics, and a PhD in banking and finance. Since he received his doctorate, he has dedicated himself to research in mathematical finance. His work has been presented at various international conferences and published in journals such as Quantitative Finance; Journal of Derivatives, Mathematics; and Chaos, Solitons and Fractals.
Among the topics addressed in his research are the term structure of interest rates, the valuation and hedging of derivatives, the immunization of bond portfolios, and a quantum-mechanical model for interest rate derivatives. His article Bond Market Completeness Under Stochastic Strings with Distribution-Valued Strategies
has been considered a feature article in Quantitative Finance.
In 2020, he was interviewed for the article Interviews with Researchers Who Started Their Career in Physics but Moved to Finance,
for the special issue of the Journal of Derivatives titled Physics and Financial Derivatives.
He has also functioned as anonymous reviewer for various journals, and regularly reviews articles for Mathematical Reviews of the American Mathematical Society.
Chapter 1
Introduction
1.1 Evolution of Portfolio Optimization
Portfolio optimization has undergone significant transformation since its inception. Initially, the focus was on maximizing returns without much regard for risk. This changed with the introduction of Modern Portfolio Theory (MPT) by Harry Markowitz in the 1950s, which introduced the concept of balancing risk and return. Markowitz’s mean-variance optimization laid the groundwork for the systematic assessment of portfolio risk and diversification.
Over the years, portfolio optimization has evolved to incorporate various advanced techniques and models. These include the Capital Asset Pricing Model (CAPM), Arbitrage Pricing Theory (APT), and more sophisticated approaches like the Black-Litterman model, risk parity, and hierarchical risk parity. Recently, machine learning methods have also been integrated into portfolio optimization, providing new ways to manage complex data and uncover hidden patterns in financial markets. Moreover, the integration of reinforcement learning, and graph-based methods has opened new avenues for dynamic and complex portfolio strategies. Sensitivity-based portfolios, which focus on the sensitivity of portfolio returns to changes in underlying factors, have also become an important aspect of modern portfolio management.
1.2 Role of Quantitative Techniques
Quantitative techniques play a crucial role in modern portfolio optimization. These techniques allow for the systematic analysis and management of risk, the development of models to predict asset returns, and the optimization of portfolios to achieve desired outcomes. Key quantitative methods used in portfolio optimization include:
Mean-Variance Optimization: This foundational technique balances expected return against risk, measured as the variance of returns. It involves calculating the expected returns and covariances of all assets, then solving for the weights that minimize portfolio variance subject to a desired return. The efficient frontier is derived from this process, representing the set of optimal portfolios.
Factor Models: These models, such as the CAPM and multifactor models, explain asset returns based on various macroeconomic factors or firm-specific factors. The CAPM, for example, relates an asset’s return to the return of the market portfolio, adjusted for the asset’s sensitivity to market movements.
Bayesian Methods: Bayesian techniques incorporate prior beliefs and observed data to update the estimation of expected returns and risks. The Black-Litterman model is a popular application in portfolio optimization, combining market equilibrium with investor views to produce more stable and diversified portfolios. Bayesian methods are particularly useful for handling parameter uncertainty and incorporating subjective views.
Machine Learning: Machine learning algorithms are used to identify patterns in large datasets, making them valuable for predictive modeling in portfolio optimization. Techniques like neural networks, decision trees, and generative models can uncover complex relationships between asset returns and various predictors. These methods can enhance the forecasting of returns and risks as well as optimize trading strategies.
Neural Networks: These are used to model nonlinear relationships between inputs and outputs. In portfolio optimization, they can predict asset returns based on historical data and other variables.
Decision Trees: These algorithms split the data into subsets based on feature values, creating a tree-like model of decisions. They are useful for capturing the nonlinear relationships in financial data and can be used to identify important variables influencing asset returns.
Generative Models: These models, such as Generative Adversarial Networks (GANs) and Variational Autoencoders (VAEs), are used to generate new data samples that are like the training data. In portfolio optimization, generative models can be used to simulate realistic market scenarios and generate synthetic data for stress testing and risk management.
Reinforcement Learning (RL): RL involves training algorithms to make sequences of decisions by rewarding desirable actions and penalizing undesirable ones. In portfolio optimization, RL can dynamically adjust the asset allocation based on market conditions and investment goals. An RL agent learns a policy that maximizes cumulative rewards, which can correspond to returns in a portfolio context. Techniques like Q-learning and policy gradients are commonly used in RL for portfolio management.
Q-learning: This algorithm learns the value of actions in different states and aims to maximize the expected reward over time. It updates its estimates using the Bellman equation.
Policy Gradients: These methods optimize the policy directly by computing gradients of the expected reward with respect to the policy parameters.
Graph-based Methods: These methods use graph theory to represent and analyze the relationships between assets. Graphs can model the dependencies and correlations among assets, aiding in the construction of diversified and robust portfolios.
Graph Theory: This involves studying graphs, which are mathematical structures used to model pairwise relations between objects. In portfolio optimization, nodes can represent assets, and edges can represent the correlations or co-movements between them.
Hierarchical Risk Parity (HRP): This approach uses clustering and tree structures to construct portfolios. It aims to distribute risk more evenly across different clusters of assets, improving diversification.
Sensitivity-based Portfolios: These portfolios focus on the sensitivity of portfolio returns to changes in underlying factors, such as economic variables or market indices. By analyzing how small changes in these factors impact on the portfolio, managers can better understand and manage risk.
Sensitivity Analysis: This involves examining how the variation in the output of a model can be attributed to different variations in the inputs. In portfolio optimization, sensitivity analysis helps in understanding the impact of changes in asset returns and other factors on the portfolio performance.
Partial Differential Equations (PDEs): PDEs can be used to model the dynamics of portfolio values over time, considering factors like interest rates and asset prices. Solving these equations provides insights into the optimal portfolio allocation under different market conditions.
Risk Measures and Management: Techniques like Value-at-Risk (VaR) and Conditional Value-at-Risk (CVaR) are used to quantify the risk of loss in a portfolio. These measures are essential for understanding potential downside risks and making informed decisions about risk mitigation strategies. Advanced risk measures also consider tail risks and the distribution of returns.
Optimization Algorithms: Several optimization algorithms are employed to solve portfolio optimization problems. These include:
Quadratic Programming: Used in mean-variance optimization to find the optimal asset weights that minimize portfolio variance for a given return.
Monte Carlo Simulation: Used to model the probability of different outcomes in a process that cannot easily be predicted due to the intervention of random variables. In portfolio optimization, it is used to simulate the performance of different portfolio strategies under various market conditions.
Genetic Algorithms: These algorithms mimic natural selection processes to generate high-quality solutions for optimization problems. They are particularly useful in finding optimal portfolios in large, complex investment universes.
Dynamic Programming: Applied in multi-period portfolio optimization to make decisions that consider the evolution of the portfolio over time.
1.3 Organization of the Book
This book is structured to provide a comprehensive understanding of quantitative portfolio optimization techniques, from foundational theories to advanced applications. The chapters are organized as the list describes:
Chapter 2: History of Portfolio Optimization: A review of the key developments in portfolio optimization, from early theories to modern advancements.
Chapter 3: Modern Portfolio Theory: A detailed study of mean-variance analysis, the CAPM, and APT, including their applications and limitations. We introduce a new framework Mean Variance with CVAR constraints.
Chapter 4: Bayesian Methods in Portfolio Optimization: An exploration of Bayesian techniques and their application to portfolio optimization.
Chapter 5: Risk Models and Measures: A discussion on various risk measures, including Value-at-Risk (VaR) and Conditional Value-at-Risk (CVaR), and their estimation methods.
Chapter 6: Factor Models and Factor Investing: Examination of single and multifactor models, factor risk, and performance attribution.
Chapter 7: Market Impact, Transaction Costs, and Liquidity: Insights into market impact, transaction costs, and liquidity considerations in portfolio optimization.
Chapter 8: Optimal Control: Coverage of dynamic programming, optimal control, and their applications in portfolio optimization.
Chapter 9: Markov Decision Processes: Discussion on fully observed and partially observed MDPs, infinite and finite horizon problems, and the Bellman equation.
Chapter 10: Reinforcement Learning: Examination of reinforcement learning techniques and their applications in portfolio optimization.
Chapter 11: Deep Learning in Portfolio Management: Introduction to deep learning methods and their integration into portfolio management.
Chapter 12: Graph-based Portfolios: Exploration of graph theory-based portfolios and their applications.
Chapter 13: Sensitivity-based Portfolios: Insights into modeling portfolio dynamics with partial differential equations and sensitivity analysis.
Chapter 14: Backtesting in Portfolio Management: Discussion on backtesting methods, trading rules, and transaction costs.
Chapter 15: Scenario Generation: Techniques for generating scenarios and their application in portfolio optimization.
This structure ensures a logical progression from basic concepts to advanced techniques, providing readers with the tools and knowledge necessary to optimize portfolios effectively in today’s complex financial markets.
Chapter 2
History of Portfolio Optimization
This chapter is dedicated to a non-exhaustive review of the main contributions to portfolio optimization, from Markowitz’s precursors to the modern machine learning methods, including Markowitz’s mean-variance approach, the Black-Litterman model, Risk Parity, and Hierarchical Risk Parity. Only the Black-Litterman model and the Risk Parity approach will be addressed in depth. An alternative derivation of the Black-Litterman model, based on Bayesian methods, will be presented in Chapter 4. A more detailed treatment of the Markowitz model, the Hierarchical Risk Parity algorithm and some machine learning methods will be postponed to subsequent chapters.
2.1 Early beginnings
Harry Markowitz is unanimously recognized as the father of Modern Portfolio Theory (MPT). His seminal works, Markowitz (1952, 1959), settled the foundations of the mean-variance analysis upon which other aspects of MPT were built.
The groundbreaking nature of Markowitz (1952) can be inferred from its scarce set of references: Uspensky (1937), Williams (1938) and Hicks (1939). The first one is a text on Mathematical Probability, to which the reader was referred. Of the two remaining references, only Williams (1938) played a role in the development of the 1952 paper, as we will see soon. Therefore, it is not surprising that Mark Rubinstein stated the following: What has always impressed me most about Markowitz’s 1952 paper is that it seemed to come out of nowhere
(Rubinstein, 2002). Nevertheless, the key ideas of mean-variance analysis (i.e., diversification, mean returns, and a risk measure as variables) were present in previous literature. The rest of the section will be dedicated to analyzing some of these early contributions.
According to Markowitz (1999), written references to the concept of diversification can be traced back to Shakespeare’s The Merchant of Venice, in which the following passage can be found (Act I, Scene I):
My ventures are not in one bottom trusted,
Nor to one place; nor is my whole state
Upon the fortune of this present year
Therefore my merchandise makes me no sad.
In the academic field, Daniel Bernouilli, in his 1738 paper on the Saint Petersburg paradox (Bernouilli, 1954), offered this diversification advice for risk-averse investors: ... it is advisable to divide goods which are exposed to some small danger into several portions rather than to risk them all together.
In the twentieth century, the first reference related to Portfolio Theory appears in The Nature of Capital and Income (Fisher, 1906), in which variance is suggested as a measure of economic risk. Hicks, in his treatise Theory of Money (Hicks, 1935), introduces a qualitative analysis regarding the probabilities associated with the risk of an investment, concluding that they can be represented by a mean value and an appropriate measure of risk (although he does not mention any specific measure).
Marschak (1938) takes a step forward specifying the nature of the parameter measuring risk: It is sufficiently realistic, however, to confine ourselves, for each yield, to two parameters only: the mathematical expectation (‘lucrativity’) and the coefficient of variation (‘risk’).
Although Marschak was the advisor of Markowitz’s thesis, we cannot state (as Markowitz himself acknowledges) that Marschak had an influence on Markowitz’s work. In fact, Marschak did not inform to Markowitz of the existence of Marschak (1938).
The only previous work that had a clear impact on Markowitz is Williams (1938). According to Markowitz (1991): "The basic principles of portfolio theory came to me one day while I was reading John Burr Williams The Theory of Investment Value. Williams was remarkably prescient. He provided the first derivation of the ‘Gordon growth formula,’ the Modigliani-Miller Capital Structure Irrelevancy Theorem, and strongly advocated the dividend discount model. But Williams had very little to say about the effects of risk on valuation (pp. 67–70), because he believed that all risk could be diversified away. In the opinion of Mark Rubinstein:
Markowitz had the brilliant insight that, while diversification would reduce risk, it would not generally eliminate it" (Rubinstein, 2002).
We cannot conclude this section dedicated to the predecessors of MPT without considering Roy (1952), of which Markowitz wrote the following: On the basis of Markowitz (1952), I am often called the father of modern portfolio theory (MPT), but Roy can claim an equal share of this honor
(Markowitz, 1999). In fact, Roy (1952) presents an analysis very similar to that of Markowitz (1952). Specifically, Roy includes correlations between asset prices in the analysis and, like Markowitz, realizes that the principle of maximising expected return does not explain the well-known phenomenon of the diversification of resources among a wide range of assets.
Moreover, Roy also considers the expected value of returns, m ; and the standard deviation of returns, sigma , as the only parameters on which investment decisions are based. However, instead of minimizing the standard deviation, as Markowitz did, Roy maximizes left parenthesis m minus d right parenthesis solidus sigma , where d is a level of returns that can be considered a disaster. This maximization procedure leads Roy to obtain the efficient frontier as a hyperbola in the left parenthesis sigma comma m right parenthesis space. According to Markowitz (1999), the main differences between Roy’s paper and his 1952 paper are that Markowitz (1952) worked only with long positions and allowed the investors to select one portfolio from the efficient frontier, whereas Roy (1952) worked also with short positions and recommended one specific portfolio.
Given that Roy arrived at the same results as Markowitz independently and using similar methods, it is reasonable to wonder why Roy did not also receive the Nobel Prize. Markowitz thought the reason was his greater visibility: Roy’s paper was his last (and only) publication in finance, whereas Markowitz wrote two books and a collection of papers related to this subject (Markowitz, 1999).
2.2 Harry Markowitz’s Modern Portfolio Theory (1952)
Before delving into the analysis of Markowitz’s paper, we introduce some of the definitions and the notation that we will use. We consider portfolios composed of n risky assets, with returns r sub one comma ellipsis comma r sub n ; which are random variables with expectations cap r sub i equals double-struck cap e of r sub i and covariances sigma sub i times j equals c times o times v of r sub i comma r sub j , i comma j equals one comma ellipsis comma n . We will usually work in matrix form, with the vector of expected returns
bold cap r equals left parenthesis cap r sub one comma ellipsis comma cap r sub n right parenthesis super cap tand the covariance matrix bold cap sigma with left parenthesis bold cap sigma right parenthesis sub i times j equals sigma sub i times j . The variances of asset returns are given by the diagonal elements of bold cap sigma , sigma sub i squared equals sigma sub i times i . As the assets in the portfolio are risky assets, we have sigma sub i squared greater than zero , i equals one comma ellipsis comma n , and then, bold cap sigma is a positive definite matrix, that is, bold x super cap t times bold cap sigma times bold-italic x greater than zero for any nonzero n -vector bold x . In addition, we will assume that bold cap sigma is nonsingular, absolute value of bold cap sigma not equals zero , meaning that none of the asset returns is perfectly correlated with the return of the portfolio composed of the remaining assets.
Each portfolio is determined by a vector
bold w equals left parenthesis w sub one comma ellipsis comma w sub n right parenthesis super cap tin which w sub i is the proportion of investor’s wealth allocated to the i -th asset. By this definition we have n ary summation from i equals one to n over w sub i equals one , or in matrix notation, bold w super cap t times bold one equals one , where bold one is the n -vector given by bold one equals left parenthesis one comma ellipsis comma one right parenthesis super cap t . The expected return of the portfolio is given by cap r sub p equals bold w super cap t times bold cap r , and the variance of its return is sigma sub p squared equals bold w super cap t times bold cap sigma times bold w .
In his 1952 paper, Markowitz begins by rejecting the maximization of expected returns as a guiding principle for investment behavior. This decision is rooted in the often-understated principle of diversification, a key aspect of Markowitz’s work. In his own words: [...] a rule of behavior which does not imply the superiority of diversification must be rejected both as a hypothesis and as a maxim.
Diversification, as a rule leading to the reduction of the risk of a portfolio, measured by the variance of its return, finds support in theoretical arguments. As the following simple result shows, under certain assumptions, perfectly diversified portfolios become asymptotically risk-free. In other words, the variance of the portfolio return diminishes as the number of component assets increases.
Proposition 2.1
Consider an equally weighted portfolio whose asset returns are independent random variables with the same variance sigma squared . Then, the variance of the portfolio return, sigma sub p squared , satisfies
multiline equation line 1 lim over n right arrow infinity of sigma sub p squared equals zero commaProof
As the portfolio is equally weighted, we have bold w equals one divided by n times bold one , and by the independence assumption, bold cap sigma equals sigma squared times bold cap i , where bold cap i is the identity matrix. Then, the portfolio variance is
multiline equation line 1 equation sequence part 1 sigma sub p squared equals part 2 bold w super cap t times bold cap sigma times bold w equals part 3 one divided by n squared times sigma squared times bold one super cap t times bold cap i times bold one equals part 4 sigma squared divided by n commafrom where we obtain the desired result.
■
While the previous result is intellectually appealing, its assumptions are hardly satisfied in actual markets. First, there is empirical evidence suggesting that returns follow stable Paretian distributions, characterized by infinite variances (Mandelbrot, 1963; Fama, 1965a).1 Second, it is difficult, if not impossible, to find a substantial number of assets with totally independent returns and equal variance. Therefore, as Markowitz himself pointed out: The returns from securities are too intercorrelated. Diversification cannot eliminate all variance.
Once the diversification principle is accepted, Markowitz turns his attention to the maximization of expected returns, for the case of no short sales allowed. We will formalize Markowitz’s reasoning in the following result, which also includes short sales.
Proposition 2.2
If all the available assets have different expected returns, the portfolio with maximum expected return consists of only one asset with the highest expected return. This result holds true whether short sales are allowed or not.
Proof
Consider first the case of short sales allowed. The optimization problem can be stated as
multiline equation row 1 max cap r sub p equals bold w super cap t times bold cap r row 2 s full stop t full stop bold w super cap t times bold one equals onewith variable bold w element of double-struck cap r super n . The corresponding Lagrangian is
multiline equation line 1 cap l of bold w comma normal lamda equals bold w super cap t times bold cap r minus normal lamda times left parenthesis bold w super cap t times bold one minus one right parenthesis commaand the first-order conditions are
(2.1)
multiline equation row 1 prefix partial differential of of cap l divided by prefix partial differential of of bold w equals bold cap r minus lamda times bold one equals bold zero row 2 prefix partial differential of of cap l divided by prefix partial differential of of lamda equals bold w super cap t times bold one minus one equals zero full stopFrom equation (2.1) we obtain
equation sequence part 1 cap r sub one equals part 2 ellipsis equals part 3 cap r sub n equals part 4 normal lamda, and all the assets in the portfolio must have the same expected return normal lamda . As by hypothesis all the expected returns are different, the portfolio must be composed of only one asset, with the highest expected return.
If short sales are not allowed, we must include the additional constraint bold w succeeds above single line equals sign bold zero , i.e., w sub i greater than or equals zero , i equals one comma ellipsis comma n . The Karush-Kuhn-Tucker first-order conditions for the problem are
(2.2) bold cap r plus bold-italic lamda minus nu times bold one equals bold zero
(2.3) multiline equation row 1 bold w super cap t times bold one equals one row 2 bold w succeeds above single line equals sign bold zero row 3 bold-italic lamda succeeds above single line equals sign bold zero row 4 bold-italic lamda postfix ring operator bold w equals bold zero comma
where nu is a Lagrange multiplier, bold-italic lamda equals left parenthesis normal lamda sub one comma ellipsis comma normal lamda sub n right parenthesis super cap t is a vector of Lagrange multipliers, and ring operator
stands for the Hadamard (component-wise) product. If the k -th asset is included in the optimal portfolio,