Adapting to uncertainty: A quantitative investment decision model with investor sentiment and attention analysis
Abstract
In the face of global uncertainties, including pandemics, economic fluctuations, disruptions in supply chains, major disasters, wars, and impending economic crises, the financial landscape and the impact of investor sentiment on the return of stock index futures can be significantly altered. Understanding the relationship between investor sentiment, attention, and stock index futures returns in the face of these diverse challenges has become particularly critical. However, existing research does not adequately consider the effect of these unexpected events on the market and the shifts in investor attention. Using the COVID-19 pandemic as a case study, this research proposes a dynamic quantitative investment decision-making model that considers the influence of investors’ attention and emotional characteristics, aiming to adapt to the financial market under these global changes and improve the accuracy of quantitative investment forecasting. Initially, the Bidirectional Encoder Representations from Transformers model is employed to analyze investor comment data, extract information on investor attention and emotional characteristics, and construct investor sentiment indicators. Subsequently, a stock index futures forecasting method based on Variational Mode Decomposition algorithm and Support Vector Regression (SVR) model is constructed, and the grey wolf optimization algorithm is introduced to optimize the parameters of the SVR model. Guided by investor sentiment indicators, different market states are further distinguished, and appropriate investment strategies are implemented to effectively enhance the returns of quantitative investment. When compared with models that neglect investor attention and emotional characteristics, the results show that considering investor sentiment indicators not only improves the predictive ability of the model, but also reduces cognitive bias and market risk.
First published online 6 December 2024
Keyword : investment decision-making, emotional characteristics, investor attention, support vector regression, variational model decomposition
This work is licensed under a Creative Commons Attribution 4.0 International License.
References
Audrino, F., Sigrist, F., & Ballinari, D. (2020). The impact of sentiment and attention measures on stock market volatility. International Journal of Forecasting, 36(2), 334–357. https://doi.org/10.1016/j.ijforecast.2019.05.010
Baker, M., & Wurgler, J. (2006). Investor sentiment and the cross-section of stock returns. The Journal of Finance, 61(4), 1645–1680. https://doi.org/10.1111/j.1540-6261.2006.00885.x
Baker, M., & Wurgler, J. (2007). Investor sentiment in the stock market. Journal of Economic Perspectives, 21(2), 129–152. https://doi.org/10.1257/jep.21.2.129
Baker, M., Wurgler, J., & Yuan, Y. (2009). Global, local, and contagious investor sentiment. Journal of Financial Economics, 104(2), 272–287. https://doi.org/10.1016/j.jfineco.2011.11.002
Barber, B. M., & Odean, T. (2008). All that glitters: The effect of attention and news on the buying behavior of individual and institutional investors. The Review of Financial Studies, 21(2), 785–818. https://doi.org/10.1093/rfs/hhm079
Benveniste, L. M., Ljungqvist, A., Wilhelm Jr., W. J., & Yu, X. (2003). Evidence of information spillovers in the production of investment banking services. The Journal of Finance, 58(2), 577–608. https://doi.org/10.1111/1540-6261.00538
Brooks, C., Rew, A. G., & Ritson, S. (2001). A trading strategy based on the lead–lag relationship between the spot index and futures contract for the FTSE 100. International Journal of Forecasting, 17(1), 31–44. https://doi.org/10.1016/S0169-2070(00)00062-5
Brown, G. W., & Cliff, M. T. (2004). Investor sentiment and the near-term stock market. Journal of Empirical Finance, 11(1), 1–27. https://doi.org/10.1016/j.jempfin.2002.12.001
Caldeira, J., & Moura, G. (2013). Selection of a portfolio of pairs based on cointegration: A statistical arbitrage strategy. Revista Brasileira de Finanças, 11, 49–80. https://doi.org/10.2139/ssrn.2196391
Campbell, J. Y., Grossman, S. J., & Wang, J. (1993). Trading volume and serial correlation in stock returns. The Quarterly Journal of Economics, 108(4), 905–939. https://doi.org/10.2307/2118454
Cheng, R., Yu, J., Zhang, M., Feng, C., & Zhang, W. (2022). Short-term hybrid forecasting model of ice storage air-conditioning based on improved SVR. Journal of Building Engineering, 50, Article 104194. https://doi.org/10.1016/j.jobe.2022.104194
Covel, M. W. (2004). Trend following: How great traders make millions in up or down markets. Choice Reviews Online, 42(10).
Dash, S. R., & Maitra, D. (2018). Does sentiment matter for stock returns? Evidence from Indian stock market using wavelet approach. Finance Research Letters, 26, 32–39. https://doi.org/10.1016/j.frl.2017.11.008
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018). BERT: Pre-training of deep bidirectional transformers for language understanding. Arxiv:1810.04805. https://doi.org/10.48550/arXiv.1810.04805
Dragomiretskiy, K., & Zosso, D. (2014). Variational mode decomposition. IEEE Transactions on Signal Processing, 62(3), 531–544. https://doi.org/10.1109/TSP.2013.2288675
Drucker, H., Burges, C. J. C., Kaufman, L., Smola, A., & Vapnik, V. (1996). Support vector regression machines. Advances in Neural Information Processing Systems, 9, 155–161.
Fan, F., Weng, Z., & Tian, J. (2024). Impact of government support policies on regional economic resilience under the COVID-19 outbreak. Technological and Economic Development of Economy, 30(1), 74–106. https://doi.org/10.3846/tede.2024.20397
Gao, Y., Zhao, C., Sun, B., & Zhao, W. (2022). Effects of investor sentiment on stock volatility: New evidences from multi-source data in China’s green stock markets. Financial Innovation, 8(77). https://doi.org/10.1186/s40854-022-00381-2
Guilbaud, F., & Pham, H. (2013). Optimal high-frequency trading with limit and market orders. Quantitative Finance, 13(1), 79–94. https://doi.org/10.1080/14697688.2012.708779
Gupte, A., Joshi, S., Gadgul, P., & Kadam, A. (2014). Comparative study of classification algorithms used in sentiment analysis. International Journal of Computer Science and Information Technologies, 5(5), 6261–6264.
Hirshleifer, D. (2015). Behavioral finance. Annual Review of Financial Economics, 7(1), 133–159. https://doi.org/10.1146/annurev-financial-092214-043752
Hong, W.-C., Dong, Y., Chen, L.-Y., & Wei, S.-Y. (2011a). SVR with hybrid chaotic genetic algorithms for tourism demand forecasting. Applied Soft Computing, 11(2), 1881–1890. https://doi.org/10.1016/j.asoc.2010.06.003
Hong, W.-C., Dong, Y., Zheng, F., & Wei, S. Y. (2011b). Hybrid evolutionary algorithms in a SVR traffic flow forecasting model. Applied Mathematics and Computation, 217(15), 6733–6747. https://doi.org/10.1016/j.amc.2011.01.073
Hou, Y., Li, S., & Wen, F. (2019). Time-varying volatility spillover between Chinese fuel oil and stock index futures markets based on a DCC-GARCH model with a semi-nonparametric approach. Energy Economics, 83, 119–143. https://doi.org/10.1016/j.eneco.2019.06.020
Hu, H., Zhang, J., & Li, T. (2020). A comparative study of VMD-based hybrid forecasting model for nonstationary daily streamflow time series. Complexity, 2020, 1–21. https://doi.org/10.1155/2020/4064851
Hu, Y., Feng, B., Zhang, X., Ngai, E. W. T., & Liu, M. (2015). Stock trading rule discovery with an evolutionary trend following model. Expert Systems with Applications, 42(1), 212–222. https://doi.org/10.1016/j.eswa.2014.07.059
James, J. (2003). Simple trend-following strategies in currency trading. Quantitative Finance, 3(4), C75–C77. https://doi.org/10.1088/1469-7688/3/4/604
Lan, Q., Xiong, Q., He, L., & Ma, C. (2018). Individual investment decision behaviors based on demographic characteristics: Case from China. PLOS ONE, 13(8), 1–16. https://doi.org/10.1371/journal.pone.0201916
Lee, C. M. C., & Swaminathan, B. (2000). Price momentum and trading volume. The Journal of Finance, 55(5), 2017–2069. https://doi.org/10.1111/0022-1082.00280
Li, F., Li, R., Tian, L., Chen, L., & Liu, J. (2019). Data-driven time-frequency analysis method based on variational mode decomposition and its application to gear fault diagnosis in variable working conditions. Mechanical Systems and Signal Processing, 116, 462–479. https://doi.org/10.1016/j.ymssp.2018.06.055
Li, Y., Bu, H., Li, J., & Wu, J. (2020a). The role of text-extracted investor sentiment in Chinese stock price prediction with the enhancement of deep learning. International Journal of Forecasting, 36(4), 1541–1562. https://doi.org/10.1016/j.ijforecast.2020.05.001
Li, Y., Shen, D., Wang, P., & Zhang, W. (2020b). Does intraday time-series momentum exist in Chinese stock index futures market? Finance Research Letters, 35, Article 101292. https://doi.org/10.1016/j.frl.2019.09.007
Li, W., Wang, G.-G., & Gandomi, A. H. (2021). A survey of learning-based intelligent optimization algorithms. Archives of Computational Methods in Engineering, 28(5), 3781–3799. https://doi.org/10.1007/s11831-021-09562-1
Lin, G., Lin, A., & Gu, D. (2022). Using support vector regression and K-nearest neighbors for short-term traffic flow prediction based on maximal information coefficient. Information Sciences, 608, 517–531. https://doi.org/10.1016/j.ins.2022.06.090
Lowry, M., & Schwert, G. W. (2002). IPO market cycles: Bubbles or sequential learning? The Journal of Finance, 57(3), 1171–1200. https://doi.org/10.1111/1540-6261.00458
Liu, X., An, H., Wang, L., & Guan, Q. (2017). Quantified moving average strategy of crude oil futures market based on fuzzy logic rules and genetic algorithms. Physica A: Statistical Mechanics and Its Applications, 482, 444–457. https://doi.org/10.1016/j.physa.2017.04.082
Lu, C.-J., Lee, T.-S., & Chiu, C.-C. (2009). Financial time series forecasting using independent component analysis and support vector regression. Decision Support Systems, 47(2), 115–125. https://doi.org/10.1016/j.dss.2009.02.001
Luukka, P., Pätäri, E., Fedorova, E., & Garanina, T. (2016). Performance of moving average trading rules in a volatile stock market: The Russian evidence. Emerging Markets Finance and Trade, 52(10), 2434–2450. https://doi.org/10.1080/1540496X.2015.1087785
MacKinnon, J. G. (1996). Numerical distribution functions for unit root and cointegration tests. Journal of Applied Econometrics, 11(6), 601–618. 3.0.CO;2-T> https://doi.org/10.1002/(SICI)1099-1255(199611)11:6<601::AID-JAE417>3.0.CO;2-T
Mbanga, C., Darrat, A. F., & Park, J. C. (2019). Investor sentiment and aggregate stock returns: The role of investor attention. Review of Quantitative Finance and Accounting, 53(2), 397–428. https://doi.org/10.1007/s11156-018-0753-2
Mehtab, S., Sen, J., & Dutta, A. (2021). Stock price prediction using machine learning and LSTM-based deep learning models. In S. M. Thampi, S. Piramuthu, K.-C. Li, S. Berretti, M. Wozniak, & D. Singh (Eds.), Machine learning and metaheuristics algorithms, and applications: Vol. 1366. Communications in computer and information science (pp. 88–106). Springer. https://doi.org/10.1007/978-981-16-0419-5_8
Mensi, W., Hammoudeh, S., Shahzad, S. J. H., Al-Yahyaee, K. H., & Shahbaz, M. (2017). Oil and foreign exchange market tail dependence and risk spillovers for MENA, emerging and developed countries: VMD decomposition based copulas. Energy Economics, 67, 476–495. https://doi.org/10.1016/j.eneco.2017.08.036
Mirjalili, S., Mirjalili, S. M., & Lewis, A. (2014). Grey wolf optimizer. Advances in Engineering Software, 69, 46–61. https://doi.org/10.1016/j.advengsoft.2013.12.007
Montoya-Cruz, E., Ramos-Requena, J. P., Trinidad-Segovia, J. E., & Sánchez-Granero, M. Á. (2020). Exploring arbitrage strategies in corporate social responsibility companies. Sustainability, 12(16), Article 6293. https://doi.org/10.3390/su12166293
Niu, D., Ji, Z., Li, W., Xu, X., & Liu, D. (2021). Research and application of a hybrid model for mid-term power demand forecasting based on secondary decomposition and interval optimization. Energy, 234, Article 121145. https://doi.org/10.1016/j.energy.2021.121145
Olgun, O., & Yetkiner, I. H. (2011). Determination of optimal hedging strategy for index futures: Evidence from Turkey. Emerging Markets Finance and Trade, 47(6), 68–79. https://doi.org/10.2753/REE1540-496X470604
Pagolu, V. S., Reddy, K. N., Panda, G., & Majhi, B. (2016, October 3–5). Sentiment analysis of Twitter data for predicting stock market movements. In Proceedings of the 2016 International Conference on Signal Processing, Communication, Power and Embedded System (SCOPES) (pp. 1345–1350). Paralakhemundi, India. IEEE. https://doi.org/10.1109/SCOPES.2016.7955659
Pak, A., & Paroubek, P. (2010, May). Twitter as a corpus for sentiment analysis and opinion mining. In Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC’10). LREC 2010. Valletta, Malta. http://www.lrec-conf.org/proceedings/lrec2010/pdf/385_Paper.pdf
Pätäri, E., & Vilska, M. (2014). Performance of moving average trading strategies over varying stock market conditions: The Finnish evidence. Applied Economics, 46(24), 2851–2872. https://doi.org/10.1080/00036846.2014.914145
Schmeling, M. (2009). Investor sentiment and stock returns: Some international evidence. Journal of Empirical Finance, 16(3), 394–408. https://doi.org/10.1016/j.jempfin.2009.01.002
See-To, Eric. W. K., & Yang, Y. (2017). Market sentiment dispersion and its effects on stock return and volatility. Electronic Markets, 27(3), 283–296. https://doi.org/10.1007/s12525-017-0254-5
Selmi, R., Hammoudeh, S., Errami, Y., & Wohar, M. E. (2021). Is COVID-19 related anxiety an accelerator for responsible and sustainable investing? A sentiment analysis. Applied Economics, 53(13), 1528–1539. https://doi.org/10.1080/00036846.2020.1834501
Seok, S. I., Cho, H., & Ryu, D. (2019). Firm-specific investor sentiment and daily stock returns. The North American Journal of Economics and Finance, 50, Article 100857. https://doi.org/10.1016/j.najef.2018.10.005
Shu, H. C. (2010). Investor mood and financial markets. Journal of Economic Behavior & Organization, 76(2), 267–282. https://doi.org/10.1016/j.jebo.2010.06.004
Statman, M., Thorley, S., & Vorkink, K. (2006). Investor overconfidence and trading volume. The Review of Financial Studies, 19(4), 1531–1565. https://doi.org/10.1093/rfs/hhj032
Su, C. W., Xi, Y., Tao, R., & Umar, M. (2022). Can Bitcoin be a safe haven in fear sentiment? Technological and Economic Development of Economy, 28(2), 268–289. https://doi.org/10.3846/tede.2022.15502
Su, W., Lei, Z., Yang, L., & Hu, Q. (2019). Mold-level prediction for continuous casting using VMD–SVR. Metals, 9(4), Article 458. https://doi.org/10.3390/met9040458
Sun, Y., Fang, M., & Wang, X. (2018). A novel stock recommendation system using Guba sentiment analysis. Personal and Ubiquitous Computing, 22(3), 575–587. https://doi.org/10.1007/s00779-018-1121-x
Szakmary, A. C., Shen, Q., & Sharma, S. C. (2010). Trend-following trading strategies in commodity futures: A re-examination. Journal of Banking & Finance, 34(2), 409–426. https://doi.org/10.1016/j.jbankfin.2009.08.004
Taş, O., & Akdağ, Ö. (2012). Trading volume trend as the investor’s sentiment indicator in Istanbul stock exchange. Doğuş Üniversitesi Dergisi, 13(2), 290–300.
Wang, D. (2020). Quantitative investment model based on data mining. Revista Internacional de Métodos Numéricos Para Cálculo y Diseño En Ingeniería, 36(1), 1–7. https://doi.org/10.23967/j.rimni.2020.03.006
Wang, X., Yu, Q., & Yang, Y. (2018). Short-term wind speed forecasting using variational mode decomposition and support vector regression. Journal of Intelligent & Fuzzy Systems, 34(6), 3811–3820. https://doi.org/10.3233/JIFS-169553
Wen, F., Xu, L., Ouyang, G., & Kou, G. (2019). Retail investor attention and stock price crash risk: Evidence from China. International Review of Financial Analysis, 65, Article 101376. https://doi.org/10.1016/j.irfa.2019.101376
Xie, W., Tang, Y., Xu, Z., Zhang, X., & Lai, D. (2023). The impact of the infodemic on the stock market under the COVID-19: Taking the investors’ information infection index as the intermediary variable. Technological and Economic Development of Economy, 29(2), 653–676. https://doi.org/10.3846/tede.2023.18571
Yaslan, Y., & Bican, B. (2017). Empirical mode decomposition based denoising method with support vector regression for time series prediction: A case study for electricity load forecasting. Measurement, 103, 52–61. https://doi.org/10.1016/j.measurement.2017.02.007
Zang, H., Cheng, L., Ding, T., Cheung, K. W., Liang, Z., Wei, Z., & Sun, G. (2018). Hybrid method for short-term photovoltaic power forecasting based on deep convolutional neural network. IET Generation, Transmission & Distribution, 12(20), 4557–4567. https://doi.org/10.1049/iet-gtd.2018.5847
Zaremba, A., Kizys, R., Aharon, D. Y., & Demir, E. (2020). Infected markets: Novel coronavirus, government interventions, and stock return volatility around the globe. Finance Research Letters, 35, Article 101597. https://doi.org/10.1016/j.frl.2020.101597
Zhang, H., Wang, H., Wei, G., & Chen, X. (2023). An integrated decision support system for stock investment based on spherical fuzzy PT-EDAS method and MEREC. Technological and Economic Development of Economy, 29(4), 1353–1381. https://doi.org/10.3846/tede.2023.19123
Zhao, B. (2020). COVID-19 pandemic, health risks, and economic consequences: Evidence from China. China Economic Review, 64, Article 101561. https://doi.org/10.1016/j.chieco.2020.101561
Zhou, H., Geppert, J., & Kong, D. (2010). An anatomy of trading strategies: Evidence from China. Emerging Markets Finance and Trade, 46(2), 66–79. https://doi.org/10.2753/REE1540-496X460205
Zhou, M., Hu, T., Bian, K., Lai, W., Hu, F., Hamrani, O., & Zhu, Z. (2021a). Short-term electric load forecasting based on variational mode decomposition and grey wolf optimization. Energies, 14(16). https://doi.org/10.3390/en14164890
Zhou, Z., Gao, M., Xiao, H., Wang, R., & Liu, W. (2021b). Big data and portfolio optimization: A novel approach integrating DEA with multiple data sources. Omega, 104, Article 102479. https://doi.org/10.1016/j.omega.2021.102479
Zou, H., Tang, X., Xie, B., & Liu, B. (2015, December 7–9). Sentiment classification using machine learning techniques with syntax features. In Proceedings of the 2015 International Conference on Computational Science and Computational Intelligence (CSCI) (pp. 175–179). Las Vegas, NV, USA. IEEE. https://doi.org/10.1109/CSCI.2015.44
Zuo, G., Luo, J., Wang, N., Lian, Y., & He, X. (2020). Two-stage variational mode decomposition and support vector regression for streamflow forecasting. Hydrology and Earth System Sciences, 24(11), 5491–5518. https://doi.org/10.5194/hess-24-5491-2020