enter image description hereThis is a portion of my project where it yields the following graphic.
I noticed how the correlation between EWH and MCHI (which is usually move in parallel to each other) is fairly low, hinting that something is wrong.
(Working on 2019-2024 monthly data)
Also, I crossed-check the result with my Bloomberg terminal, which yield a fiarly high 0.8 beta.
import riskfolio as rp
# Plotting Assets Clusters
ax = rp.plot_clusters(returns=monthly_returns,
codependence='pearson',
linkage='ward',
k=None,
opt_k_method = 'twodiff',
max_k=10,
leaf_order=True,
dendrogram=True,
linecolor=None
I’m not sure if this is an issue around mislabeling the tickers to the chart, but I wouldn’t like to think that the lib handles such task incorrectly. Therefore, I have not clue now.
I’m asking if there is anything I should check.
Thank you in advance 🙂
maeta cherdsatirakul is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3