IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2407.04500.html
   My bibliography  Save this paper

Longitudinal market structure detection using a dynamic modularity-spectral algorithm

Author

Listed:
  • Philipp Wirth
  • Francesca Medda
  • Thomas Schroder

Abstract

In this paper, we introduce the Dynamic Modularity-Spectral Algorithm (DynMSA), a novel approach to identify clusters of stocks with high intra-cluster correlations and low inter-cluster correlations by combining Random Matrix Theory with modularity optimisation and spectral clustering. The primary objective is to uncover hidden market structures and find diversifiers based on return correlations, thereby achieving a more effective risk-reducing portfolio allocation. We applied DynMSA to constituents of the S&P 500 and compared the results to sector- and market-based benchmarks. Besides the conception of this algorithm, our contributions further include implementing a sector-based calibration for modularity optimisation and a correlation-based distance function for spectral clustering. Testing revealed that DynMSA outperforms baseline models in intra- and inter-cluster correlation differences, particularly over medium-term correlation look-backs. It also identifies stable clusters and detects regime changes due to exogenous shocks, such as the COVID-19 pandemic. Portfolios constructed using our clusters showed higher Sortino and Sharpe ratios, lower downside volatility, reduced maximum drawdown and higher annualised returns compared to an equally weighted market benchmark.

Suggested Citation

  • Philipp Wirth & Francesca Medda & Thomas Schroder, 2024. "Longitudinal market structure detection using a dynamic modularity-spectral algorithm," Papers 2407.04500, arXiv.org.
  • Handle: RePEc:arx:papers:2407.04500
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2407.04500
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Raddant, Matthias & Kenett, Dror Y., 2021. "Interconnectedness in the global financial market," Journal of International Money and Finance, Elsevier, vol. 110(C).
    2. Francis X. Diebold & Kamil Yilmaz, 2009. "Measuring Financial Asset Return and Volatility Spillovers, with Application to Global Equity Markets," Economic Journal, Royal Economic Society, vol. 119(534), pages 158-171, January.
    3. Gang-Jin Wang & Chi Xie & Shou Chen, 2017. "Multiscale correlation networks analysis of the US stock market: a wavelet analysis," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 12(3), pages 561-594, October.
    4. Lawrence Hubert & Phipps Arabie, 1985. "Comparing partitions," Journal of Classification, Springer;The Classification Society, vol. 2(1), pages 193-218, December.
    5. François Longin & Bruno Solnik, 2001. "Extreme Correlation of International Equity Markets," Journal of Finance, American Finance Association, vol. 56(2), pages 649-676, April.
    6. Geert Bekaert & Robert J. Hodrick & Xiaoyan Zhang, 2009. "International Stock Return Comovements," Journal of Finance, American Finance Association, vol. 64(6), pages 2591-2626, December.
    7. William N. Goetzmann & Alok Kumar, 2008. "Equity Portfolio Diversification," Review of Finance, European Finance Association, vol. 12(3), pages 433-463.
    8. Fama, Eugene F. & French, Kenneth R., 2015. "A five-factor asset pricing model," Journal of Financial Economics, Elsevier, vol. 116(1), pages 1-22.
    9. Jalloul, Maya & Miescu, Mirela, 2023. "Equity market connectedness across regimes of geopolitical risks: Historical evidence and theory," Journal of International Money and Finance, Elsevier, vol. 137(C).
    10. Fama, Eugene F. & French, Kenneth R., 1993. "Common risk factors in the returns on stocks and bonds," Journal of Financial Economics, Elsevier, vol. 33(1), pages 3-56, February.
    11. Ang, Andrew & Chen, Joseph, 2002. "Asymmetric correlations of equity portfolios," Journal of Financial Economics, Elsevier, vol. 63(3), pages 443-494, March.
    12. J.-P. Onnela & K. Kaski & J. Kertész, 2004. "Clustering and information in correlation based financial networks," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 38(2), pages 353-362, March.
    13. Gautier Marti & S'ebastien Andler & Frank Nielsen & Philippe Donnat, 2016. "Clustering Financial Time Series: How Long is Enough?," Papers 1603.04017, arXiv.org, revised Apr 2016.
    14. Sim, Min Kyu & Deng, Shijie & Huo, Xiaoming, 2021. "What can cluster analysis offer in investing? - Measuring structural changes in the investment universe," International Review of Economics & Finance, Elsevier, vol. 71(C), pages 299-315.
    15. Xingchen Wan & Jie Yang & Slavi Marinov & Jan-Peter Calliess & Stefan Zohren & Xiaowen Dong, 2020. "Sentiment Correlation in Financial News Networks and Associated Market Movements," Papers 2011.06430, arXiv.org, revised Feb 2021.
    16. Gautier Marti & Sébastien Andler & Frank Nielsen & Philippe Donnat, 2016. "Clustering Financial Time Series: How Long is Enough?," Post-Print hal-01400395, HAL.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Shi, Huai-Long & Zhou, Wei-Xing, 2022. "Factor volatility spillover and its implications on factor premia," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 80(C).
    2. Lee, Kuan-Hui & Yang, Cheol-Won, 2022. "The world price of tail risk," Pacific-Basin Finance Journal, Elsevier, vol. 71(C).
    3. Maya Jalloul & Mirela Miescu, 2021. "Equity Market Connectedness across Regimes of Geopolitical Risks," Working Papers 324219805, Lancaster University Management School, Economics Department.
    4. Lian, Ziying & Cai, Jun & Webb, Robert I., 2020. "Oil stocks, risk factors, and tail behavior," Energy Economics, Elsevier, vol. 91(C).
    5. Ruenzi, Stefan & Ungeheuer, Michael & Weigert, Florian, 2020. "Joint Extreme events in equity returns and liquidity and their cross-sectional pricing implications," Journal of Banking & Finance, Elsevier, vol. 115(C).
    6. Ji, Qiang & Liu, Bing-Yue & Cunado, Juncal & Gupta, Rangan, 2020. "Risk spillover between the US and the remaining G7 stock markets using time-varying copulas with Markov switching: Evidence from over a century of data," The North American Journal of Economics and Finance, Elsevier, vol. 51(C).
    7. Asgar Ali & K. N. Badhani, 2023. "Downside risk matters once the lottery effect is controlled: explaining risk–return relationship in the Indian equity market," Journal of Asset Management, Palgrave Macmillan, vol. 24(1), pages 27-43, February.
    8. Umutlu, Mehmet & Yargı, Seher Gören & Zaremba, Adam, 2023. "Market segmentation and international diversification across country and industry portfolios," Research in International Business and Finance, Elsevier, vol. 65(C).
    9. Chabi-Yo, Fousseni & Huggenberger, Markus & Weigert, Florian, 2022. "Multivariate crash risk," Journal of Financial Economics, Elsevier, vol. 145(1), pages 129-153.
    10. Qiu, Yue & Ren, Yu & Xie, Tian, 2022. "Global factors and stock market integration," International Review of Economics & Finance, Elsevier, vol. 80(C), pages 526-551.
    11. Jalloul, Maya & Miescu, Mirela, 2023. "Equity market connectedness across regimes of geopolitical risks: Historical evidence and theory," Journal of International Money and Finance, Elsevier, vol. 137(C).
    12. Fjærvik, Thomas, 2023. "Crash risk in the Nordic Stock Market - a cross-sectional analysis," Discussion Papers 2023/5, Norwegian School of Economics, Department of Business and Management Science.
    13. Bollerslev, Tim & Patton, Andrew J. & Quaedvlieg, Rogier, 2022. "Realized semibetas: Disentangling “good” and “bad” downside risks," Journal of Financial Economics, Elsevier, vol. 144(1), pages 227-246.
    14. Gilles Boevi Koumou, 2020. "Diversification and portfolio theory: a review," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 34(3), pages 267-312, September.
    15. Chue, Timothy K. & Gul, Ferdinand A. & Mian, G. Mujtaba, 2019. "Aggregate investor sentiment and stock return synchronicity," Journal of Banking & Finance, Elsevier, vol. 108(C).
    16. Adam Zaremba & Jacob Koby Shemer, 2018. "Price-Based Investment Strategies," Springer Books, Springer, number 978-3-319-91530-2, June.
    17. Brière, Marie & Chapelle, Ariane & Szafarz, Ariane, 2012. "No contagion, only globalization and flight to quality," Journal of International Money and Finance, Elsevier, vol. 31(6), pages 1729-1744.
    18. Mardy Chiah & Philip Gharghori & Angel Zhong, 2020. "Comovement in Anomalies between the Australian and US Equity Markets," International Review of Finance, International Review of Finance Ltd., vol. 20(4), pages 1005-1017, December.
    19. Niţoi, Mihai & Pochea, Maria Miruna, 2020. "Time-varying dependence in European equity markets: A contagion and investor sentiment driven analysis," Economic Modelling, Elsevier, vol. 86(C), pages 133-147.
    20. Aboagye, Ernest & Ko, Stanley Iat-Meng & Lo, Chia Chun & Hsiao, Cody Yu-Ling & Peng, Liang, 2024. "A contagion test with unspecified heteroscedastic errors," Journal of Economic Dynamics and Control, Elsevier, vol. 159(C).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2407.04500. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.