PERSPECTIVE article

Front. Phys., 23 December 2022

Sec. Social Physics

Volume 10 - 2022 | https://doi.org/10.3389/fphy.2022.1097489

A perspective on complex networks in the stock market

  • Department of Physics, Inha University, Incheon, South Korea

Article metrics

View details

6

Citations

4,7k

Views

998

Downloads

Abstract

A stock market is a complex system consisting of many interacting agents. We consider recent progress with complex networks constructed from cross-correlation of financial time series in the stock market. We review some methods and discuss the challenges in generating such complex networks that have a reasonable threshold.

1 Introduction

We consider complex networks in the stock market, which are generated by calculating cross-correlation coefficients of the logarithmic return between securities or stock indices. We connect two securities or indices with cross-correlation coefficients in descending order up to the number of links, , without loops in a minimum spanning tree (MST) [1, 2]. In addition, we connect two securities up to without allowing crossings between links in a planar maximally filtered graph (PMFG), where is the total number of securities [3]. In a threshold network, we cut all links when the cross-correlation coefficients are less than the threshold value [4, 5]. The varying patterns of complex networks over time provide some important information on the stock market.

In this note, we discuss recent methods and applications of complex networks in the stock market and the pros and cons of threshold networks in the stock market.

2 Review

In a stock market, the indices or stock prices of individual companies become correlated with each other over time. The idea of complex networks applies to both stock markets and financial markets. We can construct a network based on world trade because the weights of the links are defined by trade flows, such as imports or exports among countries. In a stock market, one uses the cross-correlation coefficients of the stock indices or the prices of individual securities to generate a complex network. Consider a time series of a stock index on day , , in the stock market. The logarithmic return is represented by . The cross-correlation function iswhere and are the standard deviations of the logarithmic returns for two indices. We obtain an correlation matrix . From this correlation matrix, we can generate complex networks in the stock market. Mantegna introduced a minimum spanning tree (MST) using metric distance.

The MST is like a skeleton tree in the stock market, which is connected by tightly correlated indices or stock prices, with the number of links denoted as [1]. Tumminello et al. introduced a planar maximally filtered graph (PMFG) with the number of links denoted as in the equity market, which is a topological generalization of the MST [2]. Onnela et al. reported networks of companies based on return correlations [6]. They added some links, allowing a loop structure from descending correlation coefficient ranks. Boginski et al. reported a market graph based on the correlation of stock prices [4]. Lee et al. introduced complex networks in a stock market by assigning a threshold value to normalized cross-correlation coefficients [5]. They reported a scale-free network from a restricted range of the threshold. Many stock markets have been studied using threshold methods for generating the stock network [717].

In the complex network of a stock market, the nodes are the stock indices or securities belonging to the stock market. When we consider cross-correlations among the indices of world markets, a node is a country’s stock index, such as the NYSE, the KOSPI, and the Nikkei. When we consider cross-correlation in intra-stock markets, nodes are securities such as Apple and Google in the U.S. stock market. We assign a link to the threshold networks when the cross-correlation coefficient between two companies is greater than a threshold value, such as

When one generates the threshold network, there is no concrete criterion for assigning threshold . Many researchers heuristically choose a threshold value [416]. If the threshold value is close to 1, the threshold network is sparsely connected. In some cases, we can observe fragmented networks. When we decrease the threshold value, we obtain one giant connected network. In some ranges of a threshold value, threshold networks show a scale-free degree distribution. Intra-stock market time series of securities are highly correlated with each other; therefore, threshold networks have a high average degree and a high clustering coefficient.

Strongly connected links between two securities mean that they should behave synchronously. Therefore, when we build a portfolio, we can avoid choosing highly correlated or heavily connected securities from a threshold network. However, heuristic determination of the threshold value is an open issue in threshold networks. Nobi et al. chose a threshold value , where is a given value and is the standard deviation [10, 11]. If , the threshold is . If we choose the same value for , we can consistently compare threshold networks for different markets. In a stock index like the Korea Composite Stock Price Index (KOSPI), there are securities. When we calculate the cross-correlation, we choose a length for the time window in a time series. In general, we need criterion to avoid noise and obtain the statistical quality of the cross-correlation. We need an appropriate threshold value for the given set [10]. We considered the daily stock prices for 185 Korean securities listed on the KOSPI 200 for the period from 2 June 2006 to 30 June 2009. In this period, the 2008 global financial crisis occurred. We considered two time windows, such as before the crisis (2 June 2006–30 November 2007) and during the crisis (3 December 2007–30 June 2009). In Figure 1, we represent the threshold network with in the Korean stock market, where (a) illustrates before the 2008 global financial crisis and (b) illustrates during the global crisis . We observed a big change in threshold networks when the global financial crisis occurred. The number of nodes belonging to the largest cluster was 4.8% before the crisis and 20% during the crisis. Before the financial crisis, threshold networks with high cross-correlation were fragmented into many clusters. However, during the crisis, the threshold network formed a large network. The largest cluster of the threshold network during the crisis was 20% of the index. Before the crisis, the financial sector was separated into two clusters, and many sectors were observed in the threshold network. During the crisis, only two sectors (the financial sector and heavy industry and construction) belonged to the threshold network. The financial sector formed one large connected group, and the two sectors combined heavily with many links.

FIGURE 1

FIGURE 1

Threshold network with threshold in the Korean stock market: (A) before the 2008 global financial crisis and (B) during the global crisis ). The labels indicate the companies, and the colors of the nodes indicate the sector of the stock market as follows: financial sector (green triangles), heavy industry and construction (red squares), iron and metal products (magenta plus), and non-metallic products (blue stars).

When we choose a threshold value, we can compare the distribution of the cross-correlation coefficients between the original time series and a shuffled time series. The shuffled time series destroys cross-correlation but maintains the distribution function of the returns. When we estimate the cross-correlation, a few high logarithmic returns heavily contribute to the value of the cross-correlation coefficients. This is an intrinsic problem in a time series if there are events with extreme values. In a threshold network, we obtain a unidirectional network. In the real world, the information flow between two securities is asymmetric and directional. Some researchers apply Granger causality, transfer entropy, causation entropy, and network entropy to generate a directional network in the stock market [1822].

The strong points of a threshold network based on cross-correlation are that it is easy to construct the network and obtain intuitive relationships among the companies via the network. When we scan the changes in a threshold network over time, we can observe dynamic changes in the network, as shown in Figure 1. The properties of the threshold network help us understand the characteristics of the stock market. A weak point in the threshold network is that there is no concrete criterion for assigning the threshold. Therefore, if we change the threshold value, the connecting pattern changes heavily. When we obtain the threshold network, it does not give any causal relationships among companies because threshold networks are based on cross-correlation among time series.

The structural change of a complex network in the stock market can be applied to measure the impact of a crisis and the instability of the market [10, 15, 2331]. A big shock on the market should change the structure of the stock network. The length of the minimum spanning tree experiences a drastic reduction when facing systemic risk [24]. The hierarchy of global trade networks increases during a period of recession [25]. Characteristics of complex networks, such as clustering coefficients, centrality, network size, and occupation ratio, are associated with systemic risk and instability in the stock market [23, 27].

In summary, we introduced a threshold method to generate a complex network via the cross-correlation of logarithmic returns in the stock market. We want to get some useful information from a complex network. We estimate properties like average degree, clustering coefficients, centrality, and community detection in the generated threshold networks. We need to relate these qualities to market stability, systemic risk in the market, investing strategies, etc. To accomplish these goals, we need to generate suitable complex networks for the stock market by using reasonable criteria.

3 Conclusion

We discussed methods of creating a threshold network using cross-correlation coefficients between securities or indices in stock markets. In the threshold method, we assigned a heuristic threshold value to generate the stock network. We need a more concrete criterion for choosing the threshold value for a threshold network. The dynamic changes of a threshold network in the stock market can be applied to understand the systemic risk and stability in the market.

Statements

Data availability statement

The original contributions presented in the study are included in the article/Supplementary Material; further inquiries can be directed to the corresponding author.

Author contributions

JP, CC, and JL performed conception and design of the research, the acquisition and analysis of data, interpretation, writing, and revising.

Funding

This work was supported by Inha University Research Grant.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

  • 1.

    MantegnaR. Hierarchical structure in financial markets. Eur Phys J B (1999) 11:1937. 10.1007/s100510050929

  • 2.

    MantegnaRStanleyH. An introduction to Econophysics: Correlations and complexity in finance. Cambridge: Cambridge University Press (2000). p. 105.

  • 3.

    TumminelloMAsteTDi MatteoTMantegnaR. A tool for filtering information in complex systems. Proc Natl Acad Sci U S A (2005) 102:104216. 10.1073/pnas.0500298102

  • 4.

    BoginskiVButenkoSPardalosPPardalosPM. Statistical analysis of financial networks. Comput Stat Data Anal (2005) 48:43143. 10.1016/j.csda.2004.02.004

  • 5.

    LeeELeeJHongBHongBH. Complex networks in a stock market. Comp Phys Commun (2007) 177:186. 10.1016/j.cpc.2007.02.047

  • 6.

    OnnelaJKaskiKKerteszJ. Clustering and information in correlation based financial networks. The Eur Phys J B - Condensed Matter (2004) 38:35362. 10.1140/epjb/e2004-00128-7

  • 7.

    HuangWZhuangXYaoSYaoS. A network analysis of the Chinese stock market. Physica A: Stat Mech its Appl (2009) 388:295664. 10.1016/j.physa.2009.03.028

  • 8.

    TseCLiuJLauFLauFC. A network perspective of the stock market. J Empirical Finance (2010) 17:65967. 10.1016/j.jempfin.2010.04.008

  • 9.

    NamakiAShiraziAHRaeiRJafariG. Network analysis of a financial market based on genuine correlation and threshold method. Physica A: Stat Mech its Appl (2011) 390:383541. 10.1016/j.physa.2011.06.033

  • 10.

    NobiAMaengSHaGLeeJ. Effects of global financial crisis on network structure in a local stock market. Physica A: Stat Mech its Appl (2014) 407:13543. 10.1016/j.physa.2014.03.083

  • 11.

    NobiALeeSKimDLeeJKimDH. Correlation and network topologies in global and local stock indices. Phys Lett A (2014) 378:24829. 10.1016/j.physleta.2014.07.009

  • 12.

    KumarSDeoN. Correlation and network analysis of global financial indices. Phys Rev E (2012) 86:026101. 10.1103/PhysRevE.86.026101

  • 13.

    HaGLeeJNobiA. Threshold network of a financial market using the P-value of correlation coefficients. J Korean Phys Soc (2015) 66:18028. 10.3938/jkps.66.1802

  • 14.

    XuXWangKZhuLZhangLZhuL. Efficient construction of threshold networks of stock markets. Physica A: Stat Mech its Appl (2018) 509:10806. 10.1016/j.physa.2018.06.083

  • 15.

    RakibMNobiALeeJLeeJW. Structure and dynamics of financial networks by feature ranking method. Sci Rep (2021) 11:17618. 10.1038/s41598-021-97100-1

  • 16.

    MafweleBLeeJ. Relationships between transmission of malaria in Africa and climate factors. Sci Rep (2022) 12:14392. 10.1038/s41598-022-18782-9

  • 17.

    BardosciaMBaruccaPBattistonSCaccioliFCiminiGGarlaschelliDet alThe physics of financial networks. Nat Rev Phys (2021) 3:490507. 10.1038/s42254-021-00322-5

  • 18.

    VyrostTLyocsaSBaumohlEBaumohlE. Granger causality stock market networks: Temporal proximity and preferential attachment. Physica A: Stat Mech its Appl (2015) 427:26276. 10.1016/j.physa.2015.02.017

  • 19.

    YaoCLiH. Effective transfer entropy approach to information flow among EPU, investor sentiment and stock market. Front Phys (2020) 8:206. 10.3389/fphy.2020.00206

  • 20.

    NiuHHuZ. Information transmission and entropy-based network between Chinese stock market and commodity futures market. Resour Pol (2021) 74:102294. 10.1016/j.resourpol.2021.102294

  • 21.

    WangXSunM. A novel prediction model of multi-layer symbolic pattern network: Based on causation entropy. Physica A: Stat Mech its Appl (2021) 575:126045. 10.1016/j.physa.2021.126045

  • 22.

    QiunaLHanLWanYYinLWanY. Stock net entropy: Evidence from the Chinese growth enterprise market. Entropy (2018) 20:805. 10.3390/e20100805

  • 23.

    ShiYZhengYGuoKJinZHuangZGuoK. The evolution characteristics of systemic risk in China’s stock market based on a dynamic complex network. Entropy (2020) 22:614. 10.3390/e22060614

  • 24.

    OnnelaJChakrabortiAKasksiKKerteszJKantoAKaskiKet alDynamics of market correlations: Taxonomy and portfolio analysis. Phys Rev E (2003) 68:056110. 10.1103/PhysRevE.68.056110

  • 25.

    HeJDeemM. Structure and response in the world trade network. Phys Rev Lett (2010) 105:198701. 10.1103/PhysRevLett.105.198701

  • 26.

    YalamovaRMcKelveyB. Explaining what leads up to stock market crashes: A phase transition model and scalability dynamics. J Behav Finance (2011) 12:16982. 10.1080/15427560.2011.602484

  • 27.

    LongHZhangJTangN. Does network topology influence systemic risk contribution? A perspective from the industry indices in Chinese stock market. Plos One (2017) 12:e0180382. 10.1371/journal.pone.0180382

  • 28.

    LeeJNobiA. State and network structures of stock markets around the global financial crisis. Comput Econ (2018) 51:195210. 10.1007/s10614-017-9672-x

  • 29.

    NobiATuhinKLeeJLeeJW. Application of principal component analysis on temporal evolution of COVID-19. Plos One (2021) 16:e0260899. 10.1371/journal.pone.0260899

  • 30.

    NobiALeeTLeeJLeeJW. Structure of trade flow networks for world commodities. Physica A: Stat Mech its Appl (2020) 556:124761. 10.1016/j.physa.2020.124761

  • 31.

    BardosciaMBattistonSCaccioliFGaldarelliGCaccioliFCaldarelliG. Pathways towards instability in financial networks. Nat Commun (2017) 8:14416. 10.1038/ncomms14416

Summary

Keywords

complex systems (CS), econophysics, complex network, stock market, time series analysis

Citation

Park J, Cho CH and Lee JW (2022) A perspective on complex networks in the stock market. Front. Phys. 10:1097489. doi: 10.3389/fphy.2022.1097489

Received

14 November 2022

Accepted

06 December 2022

Published

23 December 2022

Volume

10 - 2022

Edited by

Raul Matsushita, University of Brasilia, Brazil

Reviewed by

Joao Plinio Juchem Neto, Federal University of Rio Grande do Sul, Brazil

Iram Gleria, Federal University of Alagoas, Brazil

Updates

Copyright

*Correspondence: Jae Woo Lee,

This article was submittedto Social Physics, a section of the journal Frontiers in Physics

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics