SlideShare a Scribd company logo
1 of 33
Download to read offline
Marcos López de Prado
Lawrence Berkeley National Laboratory
Computational Research Division
Building Diversified Portfolios that
Outperform Out-Of-Sample
Key Points
2
• The problem: Mean-Variance (MV) portfolios are optimal in-sample,
however they tend to perform poorly out-of-sample (even worse
than the 1/N naïve portfolio!)
• Two major causes:
1. Returns can rarely be forecasted with sufficient accuracy
2. Quadratic optimizers require the inversion of a positive-definite covariance
matrix
• A partial solution: To deal with the first cause, some modern
approaches drop returns forecasts, e.g. Risk Parity (RP)
• Still, matrix inversion is a major reason why MV and RP
underperform out-of-sample (OOS)
• We introduce a new portfolio construction method that
substantially improves the OOS performance of diversified
portfolios
SECTION I
The Pitfalls of Quadratic Optimizers
Quadratic Optimization
4
• In 1956, Harry Markowitz developed the Critical
Line Algorithm (CLA):
– CLA is a quadratic optimization procedure specifically
designed for inequality constraints portfolio optimization
– It finds the exact solution after a known number of steps
– It ingeniously circumvents the Karush-Kuhn-Tucker
conditions through the notion of “turning point”
• A turning point occurs when a previously free weight
hits a boundary
• The constrained efficient frontier between two
neighbor turning points can be reformulated as an
unconstrained problem
• CLA solves the optimization problem by finding the
sequence of turning points
Open source CLA Python library: Bailey and López de Prado [2013]
Risk Parity
5
• Numerous studies show that
quadratic optimizers in general
produce unreliable solutions, e.g.
Michaud [1998]
• One major reason for this is, returns
can rarely be forecasted with
sufficient confidence
• Small forecasting errors can lead to
dramatically different Efficient
Frontiers
As a consequence, many authors have dropped returns forecasting
altogether, giving rise to risk-based asset allocation approaches. E.g.:
Risk parity
Markowitz’s curse
6
• De Miguel et al. [2009] show that many of the best known
quadratic optimizers underperform the Naïve 1/N allocation OOS,
even after dropping forecasted returns!
• The reason is, quadratic optimizers require the inversion of a
positive-definite covariance matrix
• The condition number of a covariance
matrix is the ratio between its highest
and smallest (in moduli) eigenvalues
• The more correlated the assets, the
higher the condition number, and the
more unstable is the inverse matrix
• Markowitz’s curse: Quadratic
optimization is likely to fail precisely
when there is a greater need for
finding a diversified portfolio
SECTION II
From Geometry To Topology
Topology
8
• Around 1735, Leonhard Euler
asked this question
• Euler was one of the first to
recognize that Geometry could
not solve this problem
• Hint: The relevant information is
not the geometric location of the
bridges, but their logical relations
Is it possible to walk through the city of Königsberg
crossing each bridge once and only once, ending at the
starting point?
Graph Theory
9
• A graph can be understood as a
relational map between pairs of
items
• Once considered a branch of
Topology, Graph Theory has
grown to become a
Mathematical subject in its own
right
• Graph theory can answer
questions regarding the logical
structure, architecture and
dynamics of a complex system
Graph Theory is applied by Google to rank
hyperlinks, by GPS systems to find your
shortest path home, by LinkedIn to suggest
connections, by the NSA to track terrorists... In
the example above, Graph Theory is used to
derive the political inclination of a community,
based on the speeches they re-tweet
Topology & Graph Theory at work
10
• Subway plans are not
geographic maps, but
topological representations
of how lines and stations
are interconnected
• Adding to that map
geographic details would
make it more difficult to
solve problems such as how
to find alternative routes,
minimize waiting time,
avoid congestion paths, etc.
What does it mean “inverting the matrix”?
11
• One reason for the instability of
quadratic optimizers is that the vector
space is modelled as a complete (fully
connected) graph, where every node is a
potential candidate to substitute
another
• In algorithmic terms, inverting the matrix
means evaluating the rates of
substitution across the complete graph
• For a numerically-ill conditioned covariance matrix, small estimation
errors over several edges lead to grossly incorrect inversions
• Correlation matrices lack the notion of hierarchy, because all
investments are potential substitutes to each other
• Intuitively it would be desirable to drop unnecessary edges
SECTION III
Hierarchical Risk Parity (HRP)
Adding a Hierarchical Structure
13
• A tree structure introduces two desirable
features:
– It has only N-1 edges to connect N nodes, so
the weights only rebalance among peers at
various hierarchical levels
– The weights are distributed top-down,
consistent with how many asset managers
build their portfolios, e.g. from asset class to
sectors to individual securities
• The HRP algorithm works in three stages:
1. Tree Clustering: Group similar investments into clusters, based on a proper
distance metric
2. Quasi-diagonalization: Reorganize the rows and columns of the covariance
matrix, so that the largest values lie along the diagonal
3. Recursive bisection: Split allocations through recursive bisection of the
reordered covariance matrix
Stage 1: Tree Clustering (1/3)
14
• The only input needed is the correlation matrix, of size 𝑁𝑥𝑁
1. Define the distance measure 𝑑: 𝑋𝑖, 𝑋𝑗 ⊂ 𝐵 → ℝ ∈ 0,1 ,
𝑑𝑖,𝑗 = 𝑑 𝑋𝑖, 𝑋𝑗 =
1
2
1 − 𝜌𝑖,𝑗 , where B is the Cartesian product
of items in 1, … , 𝑖, … , 𝑁 . This forms a proper metric space D
2. Compute the Euclidean distance on D, 𝑑: 𝐷𝑖, 𝐷𝑗 ⊂ 𝐵 → ℝ ∈
0, 𝑁 = 𝑑 𝑛,𝑖 − 𝑑 𝑛,𝑗
2𝑁
𝑛=1
• Note the difference between distance
metrics 𝑑𝑖,𝑗 and 𝑑𝑖,𝑗. Whereas 𝑑𝑖,𝑗 is
defined on column-vectors of X, 𝑑𝑖,𝑗 is
defined on column-vectors of D (a distance
of distances)
Stage 1: Tree Clustering (2/3)
15
3. Cluster together the pair of columns 𝑖∗, 𝑗∗ such that
𝑖∗
, 𝑗∗
= argmin 𝑖,𝑗
𝑖≠𝑗
𝑑𝑖,𝑗
4. Update 𝑑𝑖,𝑗 with the new cluster
5. Apply steps 3-4 recursively until all 𝑁 − 1 clusters are formed
• Similar items are clustered together, in a
tree structure where two leaves are
bundled together at each iteration
• The dendogram’s y-axis reports the
distance between the two joining leaves
Stage 1: Tree Clustering (3/3)
16
#------------------------------------------------------------------------------
import scipy.cluster.hierarchy as sch
import numpy as np
import pandas as pd
cov,corr=x.cov(),x.corr()
dist=((1-corr)/2.)**.5 # distance matrix
link=sch.linkage(dist,'single') # linkage matrix
Stage 2: Quasi-Diagonalization (1/2)
17
• This stage places correlated items together, and uncorrelated items
far apart. This is accomplished by
– replacing clusters with their components recursively, until no clusters remain
– replacements preserve the order of the clustering
• Because the resulting covariance is quasi-diagonal, we define the
variance of a continuous subset 𝐿𝑖 ∈ 𝐿 as the quadratic form
𝑉𝑖 ≡ 𝑤𝑖
′
𝑉𝑖 𝑤𝑖, where 𝐿 is the sorted list of all items and
o 𝑉𝑖 is the covariance matrix between the
constituents of subset 𝐿𝑖
o 𝑤𝑖 = diag 𝑉𝑖
−1 1
tr diag 𝑉 𝑖
−1 , where diag . and
tr . are the diagonal and trace operators
• This definition of 𝑉𝑖 is motivated by the fact
that the inverse-variance allocation is
optimal for a diagonal covariance matrix
Stage 2: Quasi-Diagonalization (2/2)
18
sortIx=getQuasiDiag(link)
#------------------------------------------------------------------------------
def getQuasiDiag(link):
# Sort clustered items by distance
link=link.astype(int)
sortIx=pd.Series([link[-1,0],link[-1,1]])
numItems=link[-1,3] # number of original items
while sortIx.max()>=numItems:
sortIx.index=range(0,sortIx.shape[0]*2,2) # make space
df0=sortIx[sortIx>=numItems] # find clusters
i=df0.index;j=df0.values-numItems
sortIx[i]=link[j,0] # item 1
df0=pd.Series(link[j,1],index=i+1)
sortIx=sortIx.append(df0) # item 2
sortIx=sortIx.sort_index() # re-sort
sortIx.index=range(sortIx.shape[0]) # re-index
return sortIx.tolist()
Stage 3: Recursive Bisection (1/2)
19
• This stage carries out a top-down allocation
1. Assign a unit weight to all items: 𝑤 𝑛 = 1, ∀𝑛 = 1, … , 𝑁
2. Recursively bisect a list 𝐿𝑖 of items into two lists 𝐿𝑖
1
⋃𝐿𝑖
2
3. Compute the variance 𝑉𝑖
𝑗
of 𝐿𝑖
𝑗
, 𝑗 = 1,2
4. Compute the split factor: 𝛼𝑖 = 1 −
𝑉𝑖
1
𝑉𝑖
1
+𝑉𝑖
2 , so that 0 ≤ 𝛼𝑖 ≤ 1
5. Re-scale allocations 𝑤 𝑛 by a factor of 𝛼𝑖, ∀𝑛 ∈ 𝐿𝑖
1
6. Re-scale allocations 𝑤 𝑛 by a factor of 1 − 𝛼𝑖 , ∀𝑛 ∈ 𝐿𝑖
2
7. Stop once 𝐿𝑖 = 1, ∀𝐿𝑖 ∈ 𝐿
• This algorithm takes advantage of the quasi-diagonalization
bottom-up (step 3) and top-down (step 4)
Stage 3: Recursive Bisection (2/2)
20
hrp=getRecBipart(cov,sortIx)
#------------------------------------------------------------------------------
def getRecBipart(cov,sortIx):
# Compute HRP alloc
w=pd.Series(1,index=sortIx)
cItems=[sortIx] # initialize all items in one section
while len(cItems)>0:
cItems=[i[j:k] for i in cItems for j,k in ((0,len(i)/2), 
(len(i)/2,len(i))) if len(i)>1] # bi-section
for i in xrange(0,len(cItems),2): # parse in pairs
cItems0=cItems[i] # section 1
cItems1=cItems[i+1] # section 2
cVar0=getClusterVar(cov,cItems0)
cVar1=getClusterVar(cov,cItems1)
alpha=1-cVar0/(cVar0+cVar1)
w[cItems0]*=alpha # weight 1
w[cItems1]*=1-alpha # weight 2
return w
A Numerical Example
21
• Simulate a matrix of observations X, of order 10000𝑥10
• Add random jumps and a random correlation structure
• Apply three alternative allocation methods:
– Quadratic optimization, represented by CLA
– Risk parity, represented by the Inverse Variance Portfolio (IVP)
– Hierarchical allocation, represented by HRP
• CLA concentrates weights on a few
investments, hence becoming exposed
to idiosyncratic shocks
• IVP evenly spreads weights through all
investments, ignoring the correlation
structure. This makes it vulnerable to
systemic shocks
• HRP diversifies across clusters & items
Weight # CLA HRP IVP
1 14.44% 7.00% 10.36%
2 19.93% 7.59% 10.28%
3 19.73% 10.84% 10.36%
4 19.87% 19.03% 10.25%
5 18.68% 9.72% 10.31%
6 0.00% 10.19% 9.74%
7 5.86% 6.62% 9.80%
8 1.49% 9.10% 9.65%
9 0.00% 7.12% 9.64%
10 0.00% 12.79% 9.61%
SECTION IV
Out-Of-Sample Monte Carlo Experiments
Experiment Design
23
• By definition, CLA has the lowest variance in-sample
• But what method delivers the lowest variance out-of-sample?
1. Generate 10 series of random Gaussian returns (520 observations,
equivalent to 2 years of daily history), with 0 mean and an
arbitrary standard deviation of 10%
– Add random shocks, idiosyncratic and common to correlated assets
– Add a random correlation structure
2. Compute HRP, CLA and IVP portfolios by looking back at 260
observations (a year of daily history)
– These portfolios are re-estimated and rebalanced every 22 observations
(equivalent to a monthly frequency).
3. Compute the out-of-sample returns associated with the three
portfolios: CLA, IVP, HRP
4. This procedure is repeated 10,000 times
CLA Allocations
24
• Variance of the out-of-sample portfolio returns: 𝝈 𝑪𝑳𝑨
𝟐
=. 𝟏𝟏𝟓𝟕
• Although CLA’s goal is to deliver the lowest variance (that is
the objective of its optimization program), its performance
happens to exhibit the highest variance out-of-sample, and
72.47% greater variance than HRP’s
• Let’s pick one of the 10,000
experiments, and see how CLA
allocations changed between
rebalances.
• CLA allocations respond
erratically to idiosyncratic and
common shocks
IVP Allocations
25
• Variance of the out-of-sample portfolio returns: 𝝈 𝑰𝑽𝑷
𝟐
=. 𝟎𝟗𝟐𝟖
• Assuming that the covariance matrix is diagonal brings some
stability to the IVP, however its variance is still 38.24% greater
than HRP’s
• IVP’s response to idiosyncratic
and common shocks is to
reduce the allocation to the
affected investment, and
spread that former exposure
across all other investments
• Consequently, IVP allocations
among the unaffected
investments grow over time,
regardless of their correlation
HRP Allocations
26
• Variance of the out-of-sample portfolio returns: 𝝈 𝑯𝑷𝑪
𝟐
=. 𝟎𝟔𝟕𝟏
• HRP’s response to the idiosyncratic shock is to reduce the
allocation to the affected investment, and use that reduced
amount to increase the allocation to a correlated investment
that was unaffected
• As a response to the common
shock, HRP reduces allocation
to the affected investments,
and increases allocation to
uncorrelated ones (with lower
variance)
• Because Risk Parity funds are
leveraged, this variance
reduction is critical
SECTION V
Further Research
Big Data is Hierarchical
28
• Small-data techniques developed decades and centuries ago (factor
models, regression analysis, econometrics) fail to recognize the
hierarchical nature of financial Big Data
• A PCA analysis on a large fixed income universe suffers the same
drawbacks we described for CLA
Next Steps
29
• At its core, HRP is essentially a robust procedure to avoid matrix
inversions
• It is relatively straightforward to incorporate forecasted returns and
Black-Litterman-style views to this hierarchical approach
• The same ideas underlying HRP can be used to replace many
econometric regression methods, notorious for their unstable
outputs (like VAR or VECM)
• Traditional optimization or econometric methods fail to recognize
the hierarchical structure of financial Big Data, where the numerical
instabilities defeat the benefits of the analysis, resulting in
unreliable outcomes
THANKS FOR YOUR ATTENTION!
30
Notice:
The full paper is available at:
http://ssrn.com/abstract=2708678
For information on other disruptive financial technologies:
http://www.ssrn.com/link/Big-Data-Innovative-Financial-Tech-RES.html
Bio
Marcos López de Prado is Senior Managing Director at Guggenheim Partners. He is also a Research Fellow
at Lawrence Berkeley National Laboratory's Computational Research Division (U.S. Department of Energy’s
Office of Science), where he conducts unclassified research in the mathematics of large-scale financial
problems and supercomputing.
Before that, Marcos was Head of Quantitative Trading & Research at Hess Energy Trading Company (the
trading arm of Hess Corporation, a Fortune 100 company) and Head of Global Quantitative Research at
Tudor Investment Corporation. In addition to his 17 years of trading and investment management
experience at some of the largest corporations, he has received several academic appointments, including
Postdoctoral Research Fellow of RCC at Harvard University and Visiting Scholar at Cornell University. Marcos
earned a Ph.D. in Financial Economics (2003), a second Ph.D. in Mathematical Finance (2011) from
Complutense University, is a recipient of the National Award for Excellence in Academic Performance by the
Government of Spain (National Valedictorian, 1998) among other awards, and was admitted into American
Mensa with a perfect test score.
Marcos serves on the Editorial Board of the Journal of Portfolio Management (IIJ) and the Journal of
Investment Strategies (Risk). He has collaborated with ~30 leading academics, resulting in some of the most
read papers in Finance (SSRN), multiple international patent applications on Algorithmic Trading, three
textbooks, numerous publications in the top Mathematical Finance journals, etc. Marcos has an Erdös #2
and an Einstein #4 according to the American Mathematical Society. www.QuantResearch.org
32
Disclaimer
• The views expressed in this document are the authors’
and do not necessarily reflect those of the
organizations he is affiliated with
• No investment decision or particular course of action is
recommended by this presentation
• All Rights Reserved
33

More Related Content

What's hot

Asset Relationship - CH 10 - Intermarket Indicators | CMT Level 3 | Chartered...
Asset Relationship - CH 10 - Intermarket Indicators | CMT Level 3 | Chartered...Asset Relationship - CH 10 - Intermarket Indicators | CMT Level 3 | Chartered...
Asset Relationship - CH 10 - Intermarket Indicators | CMT Level 3 | Chartered...Professional Training Academy
 
Portfolio analysis selection; portfolio theory, return portfolio risk, effici...
Portfolio analysis selection; portfolio theory, return portfolio risk, effici...Portfolio analysis selection; portfolio theory, return portfolio risk, effici...
Portfolio analysis selection; portfolio theory, return portfolio risk, effici...Ravi kumar
 
Risk and Return Analysis .ppt By Sumon Sheikh
Risk and Return Analysis .ppt By Sumon SheikhRisk and Return Analysis .ppt By Sumon Sheikh
Risk and Return Analysis .ppt By Sumon SheikhSumon Sheikh
 
Introduction to random forest and gradient boosting methods a lecture
Introduction to random forest and gradient boosting methods   a lectureIntroduction to random forest and gradient boosting methods   a lecture
Introduction to random forest and gradient boosting methods a lectureShreyas S K
 
Behavioural Finance - CHAPTER 19 – De – Bubbling Alpha Generation | CMT Leve...
Behavioural Finance - CHAPTER 19 – De – Bubbling  Alpha Generation | CMT Leve...Behavioural Finance - CHAPTER 19 – De – Bubbling  Alpha Generation | CMT Leve...
Behavioural Finance - CHAPTER 19 – De – Bubbling Alpha Generation | CMT Leve...Professional Training Academy
 
Portfolio Optimization
Portfolio OptimizationPortfolio Optimization
Portfolio OptimizationGlenn Solomon
 
Multi-label Classification with Meta-labels
Multi-label Classification with Meta-labelsMulti-label Classification with Meta-labels
Multi-label Classification with Meta-labelsAlbert Bifet
 
K-means Clustering
K-means ClusteringK-means Clustering
K-means ClusteringAnna Fensel
 
Gap and Go Trade in KERX - The PlayBook Webinar Series
Gap and Go Trade in KERX - The PlayBook Webinar SeriesGap and Go Trade in KERX - The PlayBook Webinar Series
Gap and Go Trade in KERX - The PlayBook Webinar Seriessmbcapital
 
Basics of SAPM
Basics of SAPMBasics of SAPM
Basics of SAPMvinvns
 
Classical Methods - Chapter 27 - Progressive Charting | CMT Level 3 | Charter...
Classical Methods - Chapter 27 - Progressive Charting | CMT Level 3 | Charter...Classical Methods - Chapter 27 - Progressive Charting | CMT Level 3 | Charter...
Classical Methods - Chapter 27 - Progressive Charting | CMT Level 3 | Charter...Professional Training Academy
 
QuantConnect - Introduction to Pairs Trading
QuantConnect - Introduction to Pairs TradingQuantConnect - Introduction to Pairs Trading
QuantConnect - Introduction to Pairs TradingQuantConnect
 
Capital asset pricing model
Capital asset pricing modelCapital asset pricing model
Capital asset pricing modelAnuj Bhatia
 
The Valuation Process - Value Management Inc
The Valuation Process - Value Management IncThe Valuation Process - Value Management Inc
The Valuation Process - Value Management IncValue Management, Inc.
 
Java bytecode Malware Analysis
Java bytecode Malware AnalysisJava bytecode Malware Analysis
Java bytecode Malware AnalysisBrian Baskin
 

What's hot (20)

Clustering
ClusteringClustering
Clustering
 
Asset Relationship - CH 10 - Intermarket Indicators | CMT Level 3 | Chartered...
Asset Relationship - CH 10 - Intermarket Indicators | CMT Level 3 | Chartered...Asset Relationship - CH 10 - Intermarket Indicators | CMT Level 3 | Chartered...
Asset Relationship - CH 10 - Intermarket Indicators | CMT Level 3 | Chartered...
 
Portfolio analysis selection; portfolio theory, return portfolio risk, effici...
Portfolio analysis selection; portfolio theory, return portfolio risk, effici...Portfolio analysis selection; portfolio theory, return portfolio risk, effici...
Portfolio analysis selection; portfolio theory, return portfolio risk, effici...
 
Hierachical clustering
Hierachical clusteringHierachical clustering
Hierachical clustering
 
Risk and Return Analysis .ppt By Sumon Sheikh
Risk and Return Analysis .ppt By Sumon SheikhRisk and Return Analysis .ppt By Sumon Sheikh
Risk and Return Analysis .ppt By Sumon Sheikh
 
Introduction to random forest and gradient boosting methods a lecture
Introduction to random forest and gradient boosting methods   a lectureIntroduction to random forest and gradient boosting methods   a lecture
Introduction to random forest and gradient boosting methods a lecture
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Behavioural Finance - CHAPTER 19 – De – Bubbling Alpha Generation | CMT Leve...
Behavioural Finance - CHAPTER 19 – De – Bubbling  Alpha Generation | CMT Leve...Behavioural Finance - CHAPTER 19 – De – Bubbling  Alpha Generation | CMT Leve...
Behavioural Finance - CHAPTER 19 – De – Bubbling Alpha Generation | CMT Leve...
 
Portfolio Optimization
Portfolio OptimizationPortfolio Optimization
Portfolio Optimization
 
Clustering
ClusteringClustering
Clustering
 
Multi-label Classification with Meta-labels
Multi-label Classification with Meta-labelsMulti-label Classification with Meta-labels
Multi-label Classification with Meta-labels
 
K-means Clustering
K-means ClusteringK-means Clustering
K-means Clustering
 
Gap and Go Trade in KERX - The PlayBook Webinar Series
Gap and Go Trade in KERX - The PlayBook Webinar SeriesGap and Go Trade in KERX - The PlayBook Webinar Series
Gap and Go Trade in KERX - The PlayBook Webinar Series
 
Basics of SAPM
Basics of SAPMBasics of SAPM
Basics of SAPM
 
Classical Methods - Chapter 27 - Progressive Charting | CMT Level 3 | Charter...
Classical Methods - Chapter 27 - Progressive Charting | CMT Level 3 | Charter...Classical Methods - Chapter 27 - Progressive Charting | CMT Level 3 | Charter...
Classical Methods - Chapter 27 - Progressive Charting | CMT Level 3 | Charter...
 
QuantConnect - Introduction to Pairs Trading
QuantConnect - Introduction to Pairs TradingQuantConnect - Introduction to Pairs Trading
QuantConnect - Introduction to Pairs Trading
 
Presentation on K-Means Clustering
Presentation on K-Means ClusteringPresentation on K-Means Clustering
Presentation on K-Means Clustering
 
Capital asset pricing model
Capital asset pricing modelCapital asset pricing model
Capital asset pricing model
 
The Valuation Process - Value Management Inc
The Valuation Process - Value Management IncThe Valuation Process - Value Management Inc
The Valuation Process - Value Management Inc
 
Java bytecode Malware Analysis
Java bytecode Malware AnalysisJava bytecode Malware Analysis
Java bytecode Malware Analysis
 

Similar to "Building Diversified Portfolios that Outperform Out-of-Sample" by Dr. Marcos López de Prado, Senior Managing Director at Guggenheim Partners 

Data structure-questions
Data structure-questionsData structure-questions
Data structure-questionsShekhar Chander
 
CSA 3702 machine learning module 3
CSA 3702 machine learning module 3CSA 3702 machine learning module 3
CSA 3702 machine learning module 3Nandhini S
 
Exploiting the query structure for efficient join ordering in SPARQL queries
Exploiting the query structure for efficient join ordering in SPARQL queriesExploiting the query structure for efficient join ordering in SPARQL queries
Exploiting the query structure for efficient join ordering in SPARQL queriesLuiz Henrique Zambom Santana
 
Programming in python
Programming in pythonProgramming in python
Programming in pythonIvan Rojas
 
Unsupervised Learning in Machine Learning
Unsupervised Learning in Machine LearningUnsupervised Learning in Machine Learning
Unsupervised Learning in Machine LearningPyingkodi Maran
 
for sbi so Ds c c++ unix rdbms sql cn os
for sbi so   Ds c c++ unix rdbms sql cn osfor sbi so   Ds c c++ unix rdbms sql cn os
for sbi so Ds c c++ unix rdbms sql cn osalisha230390
 
An_Accelerated_Nearest_Neighbor_Search_Method_for_the_K-Means_Clustering_Algo...
An_Accelerated_Nearest_Neighbor_Search_Method_for_the_K-Means_Clustering_Algo...An_Accelerated_Nearest_Neighbor_Search_Method_for_the_K-Means_Clustering_Algo...
An_Accelerated_Nearest_Neighbor_Search_Method_for_the_K-Means_Clustering_Algo...Adam Fausett
 
Spatial data mining
Spatial data miningSpatial data mining
Spatial data miningMITS Gwalior
 
machine learning - Clustering in R
machine learning - Clustering in Rmachine learning - Clustering in R
machine learning - Clustering in RSudhakar Chavan
 
CLUSTER ANALYSIS ALGORITHMS.pptx
CLUSTER ANALYSIS ALGORITHMS.pptxCLUSTER ANALYSIS ALGORITHMS.pptx
CLUSTER ANALYSIS ALGORITHMS.pptxShwetapadmaBabu1
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningKnoldus Inc.
 
Advanced database and data mining & clustering concepts
Advanced database and data mining & clustering conceptsAdvanced database and data mining & clustering concepts
Advanced database and data mining & clustering conceptsNithyananthSengottai
 
Technical aptitude questions_e_book1
Technical aptitude questions_e_book1Technical aptitude questions_e_book1
Technical aptitude questions_e_book1Sateesh Allu
 
II B.Sc IT DATA STRUCTURES.pptx
II B.Sc IT DATA STRUCTURES.pptxII B.Sc IT DATA STRUCTURES.pptx
II B.Sc IT DATA STRUCTURES.pptxsabithabanu83
 
07 dimensionality reduction
07 dimensionality reduction07 dimensionality reduction
07 dimensionality reductionMarco Quartulli
 
Parallel Computing 2007: Bring your own parallel application
Parallel Computing 2007: Bring your own parallel applicationParallel Computing 2007: Bring your own parallel application
Parallel Computing 2007: Bring your own parallel applicationGeoffrey Fox
 

Similar to "Building Diversified Portfolios that Outperform Out-of-Sample" by Dr. Marcos López de Prado, Senior Managing Director at Guggenheim Partners  (20)

Data structure-questions
Data structure-questionsData structure-questions
Data structure-questions
 
CSA 3702 machine learning module 3
CSA 3702 machine learning module 3CSA 3702 machine learning module 3
CSA 3702 machine learning module 3
 
Exploiting the query structure for efficient join ordering in SPARQL queries
Exploiting the query structure for efficient join ordering in SPARQL queriesExploiting the query structure for efficient join ordering in SPARQL queries
Exploiting the query structure for efficient join ordering in SPARQL queries
 
Programming in python
Programming in pythonProgramming in python
Programming in python
 
Unsupervised Learning in Machine Learning
Unsupervised Learning in Machine LearningUnsupervised Learning in Machine Learning
Unsupervised Learning in Machine Learning
 
for sbi so Ds c c++ unix rdbms sql cn os
for sbi so   Ds c c++ unix rdbms sql cn osfor sbi so   Ds c c++ unix rdbms sql cn os
for sbi so Ds c c++ unix rdbms sql cn os
 
An_Accelerated_Nearest_Neighbor_Search_Method_for_the_K-Means_Clustering_Algo...
An_Accelerated_Nearest_Neighbor_Search_Method_for_the_K-Means_Clustering_Algo...An_Accelerated_Nearest_Neighbor_Search_Method_for_the_K-Means_Clustering_Algo...
An_Accelerated_Nearest_Neighbor_Search_Method_for_the_K-Means_Clustering_Algo...
 
Neural nw k means
Neural nw k meansNeural nw k means
Neural nw k means
 
Spatial data mining
Spatial data miningSpatial data mining
Spatial data mining
 
machine learning - Clustering in R
machine learning - Clustering in Rmachine learning - Clustering in R
machine learning - Clustering in R
 
CLUSTER ANALYSIS ALGORITHMS.pptx
CLUSTER ANALYSIS ALGORITHMS.pptxCLUSTER ANALYSIS ALGORITHMS.pptx
CLUSTER ANALYSIS ALGORITHMS.pptx
 
UNIT_V_Cluster Analysis.pptx
UNIT_V_Cluster Analysis.pptxUNIT_V_Cluster Analysis.pptx
UNIT_V_Cluster Analysis.pptx
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Bigdata analytics
Bigdata analyticsBigdata analytics
Bigdata analytics
 
Advanced database and data mining & clustering concepts
Advanced database and data mining & clustering conceptsAdvanced database and data mining & clustering concepts
Advanced database and data mining & clustering concepts
 
Technical aptitude questions_e_book1
Technical aptitude questions_e_book1Technical aptitude questions_e_book1
Technical aptitude questions_e_book1
 
II B.Sc IT DATA STRUCTURES.pptx
II B.Sc IT DATA STRUCTURES.pptxII B.Sc IT DATA STRUCTURES.pptx
II B.Sc IT DATA STRUCTURES.pptx
 
07 dimensionality reduction
07 dimensionality reduction07 dimensionality reduction
07 dimensionality reduction
 
Data structure-question-bank
Data structure-question-bankData structure-question-bank
Data structure-question-bank
 
Parallel Computing 2007: Bring your own parallel application
Parallel Computing 2007: Bring your own parallel applicationParallel Computing 2007: Bring your own parallel application
Parallel Computing 2007: Bring your own parallel application
 

More from Quantopian

Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.Quantopian
 
Stauth common pitfalls_stock_market_modeling_pqtc_fall2018
Stauth common pitfalls_stock_market_modeling_pqtc_fall2018Stauth common pitfalls_stock_market_modeling_pqtc_fall2018
Stauth common pitfalls_stock_market_modeling_pqtc_fall2018Quantopian
 
Tearsheet feedback webinar 10.10.18
Tearsheet feedback webinar 10.10.18Tearsheet feedback webinar 10.10.18
Tearsheet feedback webinar 10.10.18Quantopian
 
"Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,...
"Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,..."Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,...
"Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,...Quantopian
 
"Alpha from Alternative Data" by Emmett Kilduff, Founder and CEO of Eagle Alpha
"Alpha from Alternative Data" by Emmett Kilduff,  Founder and CEO of Eagle Alpha"Alpha from Alternative Data" by Emmett Kilduff,  Founder and CEO of Eagle Alpha
"Alpha from Alternative Data" by Emmett Kilduff, Founder and CEO of Eagle AlphaQuantopian
 
"Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese...
"Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese..."Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese...
"Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese...Quantopian
 
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob..."Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...Quantopian
 
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas..."Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...Quantopian
 
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...Quantopian
 
“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...
“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...
“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...Quantopian
 
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin..."Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...Quantopian
 
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ..."How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...Quantopian
 
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlphaQuantopian
 
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D..."From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...Quantopian
 
"Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo...
"Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo..."Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo...
"Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo...Quantopian
 
"Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes...
"Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes..."Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes...
"Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes...Quantopian
 
"From Insufficient Economic data to Economic Big Data – How Trade Data is red...
"From Insufficient Economic data to Economic Big Data – How Trade Data is red..."From Insufficient Economic data to Economic Big Data – How Trade Data is red...
"From Insufficient Economic data to Economic Big Data – How Trade Data is red...Quantopian
 
"Machine Learning Approaches to Regime-aware Portfolio Management" by Michael...
"Machine Learning Approaches to Regime-aware Portfolio Management" by Michael..."Machine Learning Approaches to Regime-aware Portfolio Management" by Michael...
"Machine Learning Approaches to Regime-aware Portfolio Management" by Michael...Quantopian
 
"A Framework-Based Approach to Building Quantitative Trading Systems" by Dr. ...
"A Framework-Based Approach to Building Quantitative Trading Systems" by Dr. ..."A Framework-Based Approach to Building Quantitative Trading Systems" by Dr. ...
"A Framework-Based Approach to Building Quantitative Trading Systems" by Dr. ...Quantopian
 
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ..."Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...Quantopian
 

More from Quantopian (20)

Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.
 
Stauth common pitfalls_stock_market_modeling_pqtc_fall2018
Stauth common pitfalls_stock_market_modeling_pqtc_fall2018Stauth common pitfalls_stock_market_modeling_pqtc_fall2018
Stauth common pitfalls_stock_market_modeling_pqtc_fall2018
 
Tearsheet feedback webinar 10.10.18
Tearsheet feedback webinar 10.10.18Tearsheet feedback webinar 10.10.18
Tearsheet feedback webinar 10.10.18
 
"Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,...
"Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,..."Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,...
"Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,...
 
"Alpha from Alternative Data" by Emmett Kilduff, Founder and CEO of Eagle Alpha
"Alpha from Alternative Data" by Emmett Kilduff,  Founder and CEO of Eagle Alpha"Alpha from Alternative Data" by Emmett Kilduff,  Founder and CEO of Eagle Alpha
"Alpha from Alternative Data" by Emmett Kilduff, Founder and CEO of Eagle Alpha
 
"Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese...
"Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese..."Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese...
"Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese...
 
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob..."Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
 
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas..."Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
 
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
 
“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...
“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...
“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...
 
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin..."Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
 
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ..."How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
 
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
 
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D..."From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
 
"Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo...
"Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo..."Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo...
"Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo...
 
"Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes...
"Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes..."Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes...
"Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes...
 
"From Insufficient Economic data to Economic Big Data – How Trade Data is red...
"From Insufficient Economic data to Economic Big Data – How Trade Data is red..."From Insufficient Economic data to Economic Big Data – How Trade Data is red...
"From Insufficient Economic data to Economic Big Data – How Trade Data is red...
 
"Machine Learning Approaches to Regime-aware Portfolio Management" by Michael...
"Machine Learning Approaches to Regime-aware Portfolio Management" by Michael..."Machine Learning Approaches to Regime-aware Portfolio Management" by Michael...
"Machine Learning Approaches to Regime-aware Portfolio Management" by Michael...
 
"A Framework-Based Approach to Building Quantitative Trading Systems" by Dr. ...
"A Framework-Based Approach to Building Quantitative Trading Systems" by Dr. ..."A Framework-Based Approach to Building Quantitative Trading Systems" by Dr. ...
"A Framework-Based Approach to Building Quantitative Trading Systems" by Dr. ...
 
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ..."Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
 

Recently uploaded

Shrambal_Distributors_Newsletter_May-2024.pdf
Shrambal_Distributors_Newsletter_May-2024.pdfShrambal_Distributors_Newsletter_May-2024.pdf
Shrambal_Distributors_Newsletter_May-2024.pdfvikashdidwania1
 
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budgetCall Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budgetSareena Khatun
 
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammamAbortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammamsamsungultra782445
 
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & RequirementsExplore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirementsmarketingkingdomofku
 
Pension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfPension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfHenry Tapper
 
logistics industry development power point ppt.pdf
logistics industry development power point ppt.pdflogistics industry development power point ppt.pdf
logistics industry development power point ppt.pdfSalimullah13
 
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...Henry Tapper
 
Toronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdfToronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdfJinJiang6
 
Famous Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi ...
Famous Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi ...Famous Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi ...
Famous Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi ...mazhshah570
 
Famous Kala Jadu, Black magic expert in Faisalabad and Kala ilam specialist i...
Famous Kala Jadu, Black magic expert in Faisalabad and Kala ilam specialist i...Famous Kala Jadu, Black magic expert in Faisalabad and Kala ilam specialist i...
Famous Kala Jadu, Black magic expert in Faisalabad and Kala ilam specialist i...batoole333
 
falcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesfalcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesFalcon Invoice Discounting
 
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...janibaber266
 
Business Principles, Tools, and Techniques in Participating in Various Types...
Business Principles, Tools, and Techniques  in Participating in Various Types...Business Principles, Tools, and Techniques  in Participating in Various Types...
Business Principles, Tools, and Techniques in Participating in Various Types...jeffreytingson
 
Collecting banker, Capacity of collecting Banker, conditions under section 13...
Collecting banker, Capacity of collecting Banker, conditions under section 13...Collecting banker, Capacity of collecting Banker, conditions under section 13...
Collecting banker, Capacity of collecting Banker, conditions under section 13...RaniT11
 
Q1 2024 Conference Call Presentation vF.pdf
Q1 2024 Conference Call Presentation vF.pdfQ1 2024 Conference Call Presentation vF.pdf
Q1 2024 Conference Call Presentation vF.pdfAdnet Communications
 
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadhabortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadhsamsungultra782445
 
MASTERING FOREX: STRATEGIES FOR SUCCESS.pdf
MASTERING FOREX: STRATEGIES FOR SUCCESS.pdfMASTERING FOREX: STRATEGIES FOR SUCCESS.pdf
MASTERING FOREX: STRATEGIES FOR SUCCESS.pdfCocity Enterprises
 
QATAR Pills for Abortion -+971*55*85*39*980-in Dubai. Abu Dhabi.
QATAR Pills for Abortion -+971*55*85*39*980-in Dubai. Abu Dhabi.QATAR Pills for Abortion -+971*55*85*39*980-in Dubai. Abu Dhabi.
QATAR Pills for Abortion -+971*55*85*39*980-in Dubai. Abu Dhabi.hyt3577
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfMichael Silva
 
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdf
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdfSeeman_Fiintouch_LLP_Newsletter_May-2024.pdf
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdfAshis Kumar Dey
 

Recently uploaded (20)

Shrambal_Distributors_Newsletter_May-2024.pdf
Shrambal_Distributors_Newsletter_May-2024.pdfShrambal_Distributors_Newsletter_May-2024.pdf
Shrambal_Distributors_Newsletter_May-2024.pdf
 
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budgetCall Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
 
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammamAbortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
 
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & RequirementsExplore Dual Citizenship in Africa | Citizenship Benefits & Requirements
Explore Dual Citizenship in Africa | Citizenship Benefits & Requirements
 
Pension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfPension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdf
 
logistics industry development power point ppt.pdf
logistics industry development power point ppt.pdflogistics industry development power point ppt.pdf
logistics industry development power point ppt.pdf
 
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
 
Toronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdfToronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdf
 
Famous Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi ...
Famous Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi ...Famous Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi ...
Famous Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi ...
 
Famous Kala Jadu, Black magic expert in Faisalabad and Kala ilam specialist i...
Famous Kala Jadu, Black magic expert in Faisalabad and Kala ilam specialist i...Famous Kala Jadu, Black magic expert in Faisalabad and Kala ilam specialist i...
Famous Kala Jadu, Black magic expert in Faisalabad and Kala ilam specialist i...
 
falcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesfalcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunities
 
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
 
Business Principles, Tools, and Techniques in Participating in Various Types...
Business Principles, Tools, and Techniques  in Participating in Various Types...Business Principles, Tools, and Techniques  in Participating in Various Types...
Business Principles, Tools, and Techniques in Participating in Various Types...
 
Collecting banker, Capacity of collecting Banker, conditions under section 13...
Collecting banker, Capacity of collecting Banker, conditions under section 13...Collecting banker, Capacity of collecting Banker, conditions under section 13...
Collecting banker, Capacity of collecting Banker, conditions under section 13...
 
Q1 2024 Conference Call Presentation vF.pdf
Q1 2024 Conference Call Presentation vF.pdfQ1 2024 Conference Call Presentation vF.pdf
Q1 2024 Conference Call Presentation vF.pdf
 
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadhabortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
 
MASTERING FOREX: STRATEGIES FOR SUCCESS.pdf
MASTERING FOREX: STRATEGIES FOR SUCCESS.pdfMASTERING FOREX: STRATEGIES FOR SUCCESS.pdf
MASTERING FOREX: STRATEGIES FOR SUCCESS.pdf
 
QATAR Pills for Abortion -+971*55*85*39*980-in Dubai. Abu Dhabi.
QATAR Pills for Abortion -+971*55*85*39*980-in Dubai. Abu Dhabi.QATAR Pills for Abortion -+971*55*85*39*980-in Dubai. Abu Dhabi.
QATAR Pills for Abortion -+971*55*85*39*980-in Dubai. Abu Dhabi.
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdf
 
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdf
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdfSeeman_Fiintouch_LLP_Newsletter_May-2024.pdf
Seeman_Fiintouch_LLP_Newsletter_May-2024.pdf
 

"Building Diversified Portfolios that Outperform Out-of-Sample" by Dr. Marcos López de Prado, Senior Managing Director at Guggenheim Partners 

  • 1. Marcos López de Prado Lawrence Berkeley National Laboratory Computational Research Division Building Diversified Portfolios that Outperform Out-Of-Sample
  • 2. Key Points 2 • The problem: Mean-Variance (MV) portfolios are optimal in-sample, however they tend to perform poorly out-of-sample (even worse than the 1/N naïve portfolio!) • Two major causes: 1. Returns can rarely be forecasted with sufficient accuracy 2. Quadratic optimizers require the inversion of a positive-definite covariance matrix • A partial solution: To deal with the first cause, some modern approaches drop returns forecasts, e.g. Risk Parity (RP) • Still, matrix inversion is a major reason why MV and RP underperform out-of-sample (OOS) • We introduce a new portfolio construction method that substantially improves the OOS performance of diversified portfolios
  • 3. SECTION I The Pitfalls of Quadratic Optimizers
  • 4. Quadratic Optimization 4 • In 1956, Harry Markowitz developed the Critical Line Algorithm (CLA): – CLA is a quadratic optimization procedure specifically designed for inequality constraints portfolio optimization – It finds the exact solution after a known number of steps – It ingeniously circumvents the Karush-Kuhn-Tucker conditions through the notion of “turning point” • A turning point occurs when a previously free weight hits a boundary • The constrained efficient frontier between two neighbor turning points can be reformulated as an unconstrained problem • CLA solves the optimization problem by finding the sequence of turning points Open source CLA Python library: Bailey and López de Prado [2013]
  • 5. Risk Parity 5 • Numerous studies show that quadratic optimizers in general produce unreliable solutions, e.g. Michaud [1998] • One major reason for this is, returns can rarely be forecasted with sufficient confidence • Small forecasting errors can lead to dramatically different Efficient Frontiers As a consequence, many authors have dropped returns forecasting altogether, giving rise to risk-based asset allocation approaches. E.g.: Risk parity
  • 6. Markowitz’s curse 6 • De Miguel et al. [2009] show that many of the best known quadratic optimizers underperform the Naïve 1/N allocation OOS, even after dropping forecasted returns! • The reason is, quadratic optimizers require the inversion of a positive-definite covariance matrix • The condition number of a covariance matrix is the ratio between its highest and smallest (in moduli) eigenvalues • The more correlated the assets, the higher the condition number, and the more unstable is the inverse matrix • Markowitz’s curse: Quadratic optimization is likely to fail precisely when there is a greater need for finding a diversified portfolio
  • 8. Topology 8 • Around 1735, Leonhard Euler asked this question • Euler was one of the first to recognize that Geometry could not solve this problem • Hint: The relevant information is not the geometric location of the bridges, but their logical relations Is it possible to walk through the city of Königsberg crossing each bridge once and only once, ending at the starting point?
  • 9. Graph Theory 9 • A graph can be understood as a relational map between pairs of items • Once considered a branch of Topology, Graph Theory has grown to become a Mathematical subject in its own right • Graph theory can answer questions regarding the logical structure, architecture and dynamics of a complex system Graph Theory is applied by Google to rank hyperlinks, by GPS systems to find your shortest path home, by LinkedIn to suggest connections, by the NSA to track terrorists... In the example above, Graph Theory is used to derive the political inclination of a community, based on the speeches they re-tweet
  • 10. Topology & Graph Theory at work 10 • Subway plans are not geographic maps, but topological representations of how lines and stations are interconnected • Adding to that map geographic details would make it more difficult to solve problems such as how to find alternative routes, minimize waiting time, avoid congestion paths, etc.
  • 11. What does it mean “inverting the matrix”? 11 • One reason for the instability of quadratic optimizers is that the vector space is modelled as a complete (fully connected) graph, where every node is a potential candidate to substitute another • In algorithmic terms, inverting the matrix means evaluating the rates of substitution across the complete graph • For a numerically-ill conditioned covariance matrix, small estimation errors over several edges lead to grossly incorrect inversions • Correlation matrices lack the notion of hierarchy, because all investments are potential substitutes to each other • Intuitively it would be desirable to drop unnecessary edges
  • 13. Adding a Hierarchical Structure 13 • A tree structure introduces two desirable features: – It has only N-1 edges to connect N nodes, so the weights only rebalance among peers at various hierarchical levels – The weights are distributed top-down, consistent with how many asset managers build their portfolios, e.g. from asset class to sectors to individual securities • The HRP algorithm works in three stages: 1. Tree Clustering: Group similar investments into clusters, based on a proper distance metric 2. Quasi-diagonalization: Reorganize the rows and columns of the covariance matrix, so that the largest values lie along the diagonal 3. Recursive bisection: Split allocations through recursive bisection of the reordered covariance matrix
  • 14. Stage 1: Tree Clustering (1/3) 14 • The only input needed is the correlation matrix, of size 𝑁𝑥𝑁 1. Define the distance measure 𝑑: 𝑋𝑖, 𝑋𝑗 ⊂ 𝐵 → ℝ ∈ 0,1 , 𝑑𝑖,𝑗 = 𝑑 𝑋𝑖, 𝑋𝑗 = 1 2 1 − 𝜌𝑖,𝑗 , where B is the Cartesian product of items in 1, … , 𝑖, … , 𝑁 . This forms a proper metric space D 2. Compute the Euclidean distance on D, 𝑑: 𝐷𝑖, 𝐷𝑗 ⊂ 𝐵 → ℝ ∈ 0, 𝑁 = 𝑑 𝑛,𝑖 − 𝑑 𝑛,𝑗 2𝑁 𝑛=1 • Note the difference between distance metrics 𝑑𝑖,𝑗 and 𝑑𝑖,𝑗. Whereas 𝑑𝑖,𝑗 is defined on column-vectors of X, 𝑑𝑖,𝑗 is defined on column-vectors of D (a distance of distances)
  • 15. Stage 1: Tree Clustering (2/3) 15 3. Cluster together the pair of columns 𝑖∗, 𝑗∗ such that 𝑖∗ , 𝑗∗ = argmin 𝑖,𝑗 𝑖≠𝑗 𝑑𝑖,𝑗 4. Update 𝑑𝑖,𝑗 with the new cluster 5. Apply steps 3-4 recursively until all 𝑁 − 1 clusters are formed • Similar items are clustered together, in a tree structure where two leaves are bundled together at each iteration • The dendogram’s y-axis reports the distance between the two joining leaves
  • 16. Stage 1: Tree Clustering (3/3) 16 #------------------------------------------------------------------------------ import scipy.cluster.hierarchy as sch import numpy as np import pandas as pd cov,corr=x.cov(),x.corr() dist=((1-corr)/2.)**.5 # distance matrix link=sch.linkage(dist,'single') # linkage matrix
  • 17. Stage 2: Quasi-Diagonalization (1/2) 17 • This stage places correlated items together, and uncorrelated items far apart. This is accomplished by – replacing clusters with their components recursively, until no clusters remain – replacements preserve the order of the clustering • Because the resulting covariance is quasi-diagonal, we define the variance of a continuous subset 𝐿𝑖 ∈ 𝐿 as the quadratic form 𝑉𝑖 ≡ 𝑤𝑖 ′ 𝑉𝑖 𝑤𝑖, where 𝐿 is the sorted list of all items and o 𝑉𝑖 is the covariance matrix between the constituents of subset 𝐿𝑖 o 𝑤𝑖 = diag 𝑉𝑖 −1 1 tr diag 𝑉 𝑖 −1 , where diag . and tr . are the diagonal and trace operators • This definition of 𝑉𝑖 is motivated by the fact that the inverse-variance allocation is optimal for a diagonal covariance matrix
  • 18. Stage 2: Quasi-Diagonalization (2/2) 18 sortIx=getQuasiDiag(link) #------------------------------------------------------------------------------ def getQuasiDiag(link): # Sort clustered items by distance link=link.astype(int) sortIx=pd.Series([link[-1,0],link[-1,1]]) numItems=link[-1,3] # number of original items while sortIx.max()>=numItems: sortIx.index=range(0,sortIx.shape[0]*2,2) # make space df0=sortIx[sortIx>=numItems] # find clusters i=df0.index;j=df0.values-numItems sortIx[i]=link[j,0] # item 1 df0=pd.Series(link[j,1],index=i+1) sortIx=sortIx.append(df0) # item 2 sortIx=sortIx.sort_index() # re-sort sortIx.index=range(sortIx.shape[0]) # re-index return sortIx.tolist()
  • 19. Stage 3: Recursive Bisection (1/2) 19 • This stage carries out a top-down allocation 1. Assign a unit weight to all items: 𝑤 𝑛 = 1, ∀𝑛 = 1, … , 𝑁 2. Recursively bisect a list 𝐿𝑖 of items into two lists 𝐿𝑖 1 ⋃𝐿𝑖 2 3. Compute the variance 𝑉𝑖 𝑗 of 𝐿𝑖 𝑗 , 𝑗 = 1,2 4. Compute the split factor: 𝛼𝑖 = 1 − 𝑉𝑖 1 𝑉𝑖 1 +𝑉𝑖 2 , so that 0 ≤ 𝛼𝑖 ≤ 1 5. Re-scale allocations 𝑤 𝑛 by a factor of 𝛼𝑖, ∀𝑛 ∈ 𝐿𝑖 1 6. Re-scale allocations 𝑤 𝑛 by a factor of 1 − 𝛼𝑖 , ∀𝑛 ∈ 𝐿𝑖 2 7. Stop once 𝐿𝑖 = 1, ∀𝐿𝑖 ∈ 𝐿 • This algorithm takes advantage of the quasi-diagonalization bottom-up (step 3) and top-down (step 4)
  • 20. Stage 3: Recursive Bisection (2/2) 20 hrp=getRecBipart(cov,sortIx) #------------------------------------------------------------------------------ def getRecBipart(cov,sortIx): # Compute HRP alloc w=pd.Series(1,index=sortIx) cItems=[sortIx] # initialize all items in one section while len(cItems)>0: cItems=[i[j:k] for i in cItems for j,k in ((0,len(i)/2), (len(i)/2,len(i))) if len(i)>1] # bi-section for i in xrange(0,len(cItems),2): # parse in pairs cItems0=cItems[i] # section 1 cItems1=cItems[i+1] # section 2 cVar0=getClusterVar(cov,cItems0) cVar1=getClusterVar(cov,cItems1) alpha=1-cVar0/(cVar0+cVar1) w[cItems0]*=alpha # weight 1 w[cItems1]*=1-alpha # weight 2 return w
  • 21. A Numerical Example 21 • Simulate a matrix of observations X, of order 10000𝑥10 • Add random jumps and a random correlation structure • Apply three alternative allocation methods: – Quadratic optimization, represented by CLA – Risk parity, represented by the Inverse Variance Portfolio (IVP) – Hierarchical allocation, represented by HRP • CLA concentrates weights on a few investments, hence becoming exposed to idiosyncratic shocks • IVP evenly spreads weights through all investments, ignoring the correlation structure. This makes it vulnerable to systemic shocks • HRP diversifies across clusters & items Weight # CLA HRP IVP 1 14.44% 7.00% 10.36% 2 19.93% 7.59% 10.28% 3 19.73% 10.84% 10.36% 4 19.87% 19.03% 10.25% 5 18.68% 9.72% 10.31% 6 0.00% 10.19% 9.74% 7 5.86% 6.62% 9.80% 8 1.49% 9.10% 9.65% 9 0.00% 7.12% 9.64% 10 0.00% 12.79% 9.61%
  • 22. SECTION IV Out-Of-Sample Monte Carlo Experiments
  • 23. Experiment Design 23 • By definition, CLA has the lowest variance in-sample • But what method delivers the lowest variance out-of-sample? 1. Generate 10 series of random Gaussian returns (520 observations, equivalent to 2 years of daily history), with 0 mean and an arbitrary standard deviation of 10% – Add random shocks, idiosyncratic and common to correlated assets – Add a random correlation structure 2. Compute HRP, CLA and IVP portfolios by looking back at 260 observations (a year of daily history) – These portfolios are re-estimated and rebalanced every 22 observations (equivalent to a monthly frequency). 3. Compute the out-of-sample returns associated with the three portfolios: CLA, IVP, HRP 4. This procedure is repeated 10,000 times
  • 24. CLA Allocations 24 • Variance of the out-of-sample portfolio returns: 𝝈 𝑪𝑳𝑨 𝟐 =. 𝟏𝟏𝟓𝟕 • Although CLA’s goal is to deliver the lowest variance (that is the objective of its optimization program), its performance happens to exhibit the highest variance out-of-sample, and 72.47% greater variance than HRP’s • Let’s pick one of the 10,000 experiments, and see how CLA allocations changed between rebalances. • CLA allocations respond erratically to idiosyncratic and common shocks
  • 25. IVP Allocations 25 • Variance of the out-of-sample portfolio returns: 𝝈 𝑰𝑽𝑷 𝟐 =. 𝟎𝟗𝟐𝟖 • Assuming that the covariance matrix is diagonal brings some stability to the IVP, however its variance is still 38.24% greater than HRP’s • IVP’s response to idiosyncratic and common shocks is to reduce the allocation to the affected investment, and spread that former exposure across all other investments • Consequently, IVP allocations among the unaffected investments grow over time, regardless of their correlation
  • 26. HRP Allocations 26 • Variance of the out-of-sample portfolio returns: 𝝈 𝑯𝑷𝑪 𝟐 =. 𝟎𝟔𝟕𝟏 • HRP’s response to the idiosyncratic shock is to reduce the allocation to the affected investment, and use that reduced amount to increase the allocation to a correlated investment that was unaffected • As a response to the common shock, HRP reduces allocation to the affected investments, and increases allocation to uncorrelated ones (with lower variance) • Because Risk Parity funds are leveraged, this variance reduction is critical
  • 28. Big Data is Hierarchical 28 • Small-data techniques developed decades and centuries ago (factor models, regression analysis, econometrics) fail to recognize the hierarchical nature of financial Big Data • A PCA analysis on a large fixed income universe suffers the same drawbacks we described for CLA
  • 29. Next Steps 29 • At its core, HRP is essentially a robust procedure to avoid matrix inversions • It is relatively straightforward to incorporate forecasted returns and Black-Litterman-style views to this hierarchical approach • The same ideas underlying HRP can be used to replace many econometric regression methods, notorious for their unstable outputs (like VAR or VECM) • Traditional optimization or econometric methods fail to recognize the hierarchical structure of financial Big Data, where the numerical instabilities defeat the benefits of the analysis, resulting in unreliable outcomes
  • 30. THANKS FOR YOUR ATTENTION! 30
  • 31. Notice: The full paper is available at: http://ssrn.com/abstract=2708678 For information on other disruptive financial technologies: http://www.ssrn.com/link/Big-Data-Innovative-Financial-Tech-RES.html
  • 32. Bio Marcos López de Prado is Senior Managing Director at Guggenheim Partners. He is also a Research Fellow at Lawrence Berkeley National Laboratory's Computational Research Division (U.S. Department of Energy’s Office of Science), where he conducts unclassified research in the mathematics of large-scale financial problems and supercomputing. Before that, Marcos was Head of Quantitative Trading & Research at Hess Energy Trading Company (the trading arm of Hess Corporation, a Fortune 100 company) and Head of Global Quantitative Research at Tudor Investment Corporation. In addition to his 17 years of trading and investment management experience at some of the largest corporations, he has received several academic appointments, including Postdoctoral Research Fellow of RCC at Harvard University and Visiting Scholar at Cornell University. Marcos earned a Ph.D. in Financial Economics (2003), a second Ph.D. in Mathematical Finance (2011) from Complutense University, is a recipient of the National Award for Excellence in Academic Performance by the Government of Spain (National Valedictorian, 1998) among other awards, and was admitted into American Mensa with a perfect test score. Marcos serves on the Editorial Board of the Journal of Portfolio Management (IIJ) and the Journal of Investment Strategies (Risk). He has collaborated with ~30 leading academics, resulting in some of the most read papers in Finance (SSRN), multiple international patent applications on Algorithmic Trading, three textbooks, numerous publications in the top Mathematical Finance journals, etc. Marcos has an Erdös #2 and an Einstein #4 according to the American Mathematical Society. www.QuantResearch.org 32
  • 33. Disclaimer • The views expressed in this document are the authors’ and do not necessarily reflect those of the organizations he is affiliated with • No investment decision or particular course of action is recommended by this presentation • All Rights Reserved 33