Skip to main content
Erschienen in: Cognitive Computation 1/2022

18.01.2021

Stock Price Prediction Incorporating Market Style Clustering

verfasst von: Xiaodong Li, Pangjing Wu

Erschienen in: Cognitive Computation | Ausgabe 1/2022

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Market style analysis is critical when designing a stock price prediction framework. Under different market styles, stocks may show quite different behaviors; thus, predictions will vary. Consequently, incorporating market styles into stock price predictions should help improve the prediction performance. In this paper, we investigate how to characterize market styles to improve stock prediction performance under varying market styles. First, stock time series data are divided into windows of different lengths. The windows are summarized and represented by technical indicators and news sentiment features. Second, hierarchical clustering is employed to cluster the windows and categorize their market styles; the window lengths and number of market styles are carefully tuned to achieve the best clustering results. Third, a distance measurement is proposed to distinguish among rotating patterns within the market styles to verify the usability of the market styles. Finally, a stock price prediction framework is constructed to predict future stock price trends based on data belonging to the same market styles. The experiments are conducted with five years of real Hong Kong Stock Exchange data that includes both stock prices and corresponding news. Two famous sentiment dictionaries (i.e., SenticNet 5 and the Loughran-McDonald financial sentiment dictionary 2018) are employed to analyze the news sentiments. Predictive models are compared both with and without incorporating market styles. The results demonstrate that the approach incorporating market styles outperforms the baseline, which does not incorporate market styles. There is a maximum 9 percent improvement in terms of accuracy and F1-score. Moreover, backtesting results show that incorporating market styles into trading signals earns trading strategies more profits on most stocks.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Akita R, Yoshihara A, Matsubara T, Uehara K. Deep learning for stock prediction using numerical and textual information. In: 2016 IEEE/ACIS 15th International Conference on Computer and Information Science (ICIS). IEEE; 2016. p. 1-6. Akita R, Yoshihara A, Matsubara T, Uehara K. Deep learning for stock prediction using numerical and textual information. In: 2016 IEEE/ACIS 15th International Conference on Computer and Information Science (ICIS). IEEE; 2016. p. 1-6.
2.
Zurück zum Zitat Bollen J, Mao H, Zeng X. Twitter mood predicts the stock market. J Comput Sci. 2011;2(1):1–8.CrossRef Bollen J, Mao H, Zeng X. Twitter mood predicts the stock market. J Comput Sci. 2011;2(1):1–8.CrossRef
3.
Zurück zum Zitat Buitinck L, Louppe, G, Blondel M, Pedregosa F, Mueller A, Grisel O, Niculae V, Prettenhofer P, Gramfort A, Grobler J, Layton R, Vander Plas J, Joly A, Holt B, Varoquaux G, et al. API design for machine learning software: experiences from the scikit-learn project. In: ECML PKDD Workshop: Languages for Data Mining and Machine Learning. 2013. p. 108–122. Buitinck L, Louppe, G, Blondel M, Pedregosa F, Mueller A, Grisel O, Niculae V, Prettenhofer P, Gramfort A, Grobler J, Layton R, Vander Plas J, Joly A, Holt B, Varoquaux G, et al. API design for machine learning software: experiences from the scikit-learn project. In: ECML PKDD Workshop: Languages for Data Mining and Machine Learning. 2013. p. 108–122.
4.
Zurück zum Zitat Cambria E. Affective computing and sentiment analysis. IEEE intelligent systems. 2016;31(2):102–7.CrossRef Cambria E. Affective computing and sentiment analysis. IEEE intelligent systems. 2016;31(2):102–7.CrossRef
5.
Zurück zum Zitat Cambria, E., Li, Y., Xing, F.Z., Poria, S., Kwok, K.: Senticnet 6: Ensemble application of symbolic and subsymbolic ai for sentiment analysis. In: Proceedings of the 29th ACM International Conference on Information & Knowledge Management. 2020. p. 105–114. Cambria, E., Li, Y., Xing, F.Z., Poria, S., Kwok, K.: Senticnet 6: Ensemble application of symbolic and subsymbolic ai for sentiment analysis. In: Proceedings of the 29th ACM International Conference on Information & Knowledge Management. 2020. p. 105–114.
6.
Zurück zum Zitat Cambria E, Livingstone A, Hussain A. The hourglass of emotions. In: Cognitive behavioural systems. Springer; 2012. p. 144–157. Cambria E, Livingstone A, Hussain A. The hourglass of emotions. In: Cognitive behavioural systems. Springer; 2012. p. 144–157.
7.
Zurück zum Zitat Cambria E, Poria S, Gelbukh A, Thelwall M. Sentiment analysis is a big suitcase. IEEE Intell Syst . 2017;32(6):74–80.CrossRef Cambria E, Poria S, Gelbukh A, Thelwall M. Sentiment analysis is a big suitcase. IEEE Intell Syst . 2017;32(6):74–80.CrossRef
8.
Zurück zum Zitat Cambria E, Poria S, Hazarika D, Kwok K. SenticNet 5: Discovering Conceptual Primitives for Sentiment Analysis by Means of Context Embeddings. In: AAAI Conference on Artificial Intelligence (AAAI-18). 2018. p. 1795–1802. Cambria E, Poria S, Hazarika D, Kwok K. SenticNet 5: Discovering Conceptual Primitives for Sentiment Analysis by Means of Context Embeddings. In: AAAI Conference on Artificial Intelligence (AAAI-18). 2018. p. 1795–1802.
9.
Zurück zum Zitat Cambria E, Schuller B, Xia Y, Havasi C. New Avenues in Opinion Mining and Sentiment Analysis. IEEE Intell Syst . 2013;28(2):15–21.CrossRef Cambria E, Schuller B, Xia Y, Havasi C. New Avenues in Opinion Mining and Sentiment Analysis. IEEE Intell Syst . 2013;28(2):15–21.CrossRef
10.
Zurück zum Zitat Chen K, Zhou Y, Dai F. A lstm-based method for stock returns prediction: A case study of china stock market. In: 2015 IEEE international conference on big data (big data). IEEE; 2015. p. 2823–2824. Chen K, Zhou Y, Dai F. A lstm-based method for stock returns prediction: A case study of china stock market. In: 2015 IEEE international conference on big data (big data). IEEE; 2015. p. 2823–2824.
11.
Zurück zum Zitat Deng, S., Mitsubuchi, T., Shioda, K., Shimada, T., Sakurai, A.: Combining technical analysis with sentiment analysis for stock price prediction. In: 2011 IEEE Ninth International Conference on Dependable, Autonomic and Secure Computing. IEEE; 2011. p. 800–807. Deng, S., Mitsubuchi, T., Shioda, K., Shimada, T., Sakurai, A.: Combining technical analysis with sentiment analysis for stock price prediction. In: 2011 IEEE Ninth International Conference on Dependable, Autonomic and Secure Computing. IEEE; 2011. p. 800–807.
12.
Zurück zum Zitat Ding X, Zhang Y, Liu T, Duan J. Deep learning for event-driven stock prediction. In: Twenty-fourth international joint conference on artificial intelligence. 2015. p. 2327–2333. Ding X, Zhang Y, Liu T, Duan J. Deep learning for event-driven stock prediction. In: Twenty-fourth international joint conference on artificial intelligence. 2015. p. 2327–2333.
13.
Zurück zum Zitat Domino K. The use of the Hurst exponent to predict changes in trends on the Warsaw Stock Exchange. Physica A. 2011;390(1):98–109.CrossRef Domino K. The use of the Hurst exponent to predict changes in trends on the Warsaw Stock Exchange. Physica A. 2011;390(1):98–109.CrossRef
14.
Zurück zum Zitat Engelberg J, Mclean RD, Pontiff J. Anomalies and News. J Finance. 2018;73(5):1971–2001.CrossRef Engelberg J, Mclean RD, Pontiff J. Anomalies and News. J Finance. 2018;73(5):1971–2001.CrossRef
15.
Zurück zum Zitat Eom C, Choi S, Oh G, Jung WS. Hurst exponent and prediction based on weak-form efficient market hypothesis of stock markets. Physica A. 2008;387(18):4630–6.CrossRef Eom C, Choi S, Oh G, Jung WS. Hurst exponent and prediction based on weak-form efficient market hypothesis of stock markets. Physica A. 2008;387(18):4630–6.CrossRef
16.
Zurück zum Zitat Hu Z, Liu W, Bian J, Liu X, Liu TY. Listening to chaotic whispers: A deep learning framework for news-oriented stock trend prediction. In: Proceedings of the eleventh ACM international conference on web search and data mining. 2018. p. 261–269. Hu Z, Liu W, Bian J, Liu X, Liu TY. Listening to chaotic whispers: A deep learning framework for news-oriented stock trend prediction. In: Proceedings of the eleventh ACM international conference on web search and data mining. 2018. p. 261–269.
17.
Zurück zum Zitat Indro D, Jiang C, Hu M, Lee W. Mutual fund performance: A question of style. J Invest. 1998;7:46–53.CrossRef Indro D, Jiang C, Hu M, Lee W. Mutual fund performance: A question of style. J Invest. 1998;7:46–53.CrossRef
18.
Zurück zum Zitat Levis M, Liodakis M. The profitability of style rotation strategies in the United Kingdom: Depends on temporal volatility of underlying return spread between styles. J Portf Manag. 1999;26(1):73–86.CrossRef Levis M, Liodakis M. The profitability of style rotation strategies in the United Kingdom: Depends on temporal volatility of underlying return spread between styles. J Portf Manag. 1999;26(1):73–86.CrossRef
19.
Zurück zum Zitat Li X, Cao J, Pan Z. Market impact analysis via deep learned architectures. Neural Comput Appl . 2018;31(10):5989–6000.CrossRef Li X, Cao J, Pan Z. Market impact analysis via deep learned architectures. Neural Comput Appl . 2018;31(10):5989–6000.CrossRef
20.
Zurück zum Zitat Li X, Huang X, Deng X, Zhu S. Enhancing quantitative intra-day stock return prediction by integrating both market news and stock prices information. Neurocomputing. 2014;142:228–38.CrossRef Li X, Huang X, Deng X, Zhu S. Enhancing quantitative intra-day stock return prediction by integrating both market news and stock prices information. Neurocomputing. 2014;142:228–38.CrossRef
21.
Zurück zum Zitat Li X, Wu P, Wang W. Incorporating stock prices and news sentiments for stock market prediction: A case of hong kong. Information Processing & Management. 2020. p. 102212. Li X, Wu P, Wang W. Incorporating stock prices and news sentiments for stock market prediction: A case of hong kong. Information Processing & Management. 2020. p. 102212.
22.
Zurück zum Zitat Li X, Xie H, Chen L, Wang J, Deng X. News impact on stock price return via sentiment analysis. Knowl -Based Syst . 2014;69:14–23.CrossRef Li X, Xie H, Chen L, Wang J, Deng X. News impact on stock price return via sentiment analysis. Knowl -Based Syst . 2014;69:14–23.CrossRef
23.
Zurück zum Zitat Li X, Xie H, Song Y, Zhu S, Li Q, Wang FL. Does summarization help stock prediction? a news impact analysis. IEEE intelligent systems. 2015;30(3):26–34.CrossRef Li X, Xie H, Song Y, Zhu S, Li Q, Wang FL. Does summarization help stock prediction? a news impact analysis. IEEE intelligent systems. 2015;30(3):26–34.CrossRef
24.
Zurück zum Zitat Loughran T, McDonald B. When is a liability not a liability? Textual analysis, dictionaries, and 10-Ks. J Finance. 2011;66(1):35–65.CrossRef Loughran T, McDonald B. When is a liability not a liability? Textual analysis, dictionaries, and 10-Ks. J Finance. 2011;66(1):35–65.CrossRef
25.
Zurück zum Zitat Lucas A, Van Dijk R, Kloek T. Stock selection, style rotation, and risk. J Empir Finance. 2002;9(1):1–34.CrossRef Lucas A, Van Dijk R, Kloek T. Stock selection, style rotation, and risk. J Empir Finance. 2002;9(1):1–34.CrossRef
26.
Zurück zum Zitat Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Blondel M, Prettenhofer P, Weiss R, Dubourg V, Vanderplas J, Passos A, Cournapeau D, Brucher M, Perrot M, Duchesnay E. Scikit-learn: Machine learning in Python. J Mach Learn Res. 2011;12:2825–30.MathSciNetMATH Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Blondel M, Prettenhofer P, Weiss R, Dubourg V, Vanderplas J, Passos A, Cournapeau D, Brucher M, Perrot M, Duchesnay E. Scikit-learn: Machine learning in Python. J Mach Learn Res. 2011;12:2825–30.MathSciNetMATH
27.
Zurück zum Zitat Picasso A, Merello S, Ma Y, Oneto L, Cambria E. Technical analysis and sentiment embeddings for market trend prediction. Expert Syst Appl . 2019;135:60–70.CrossRef Picasso A, Merello S, Ma Y, Oneto L, Cambria E. Technical analysis and sentiment embeddings for market trend prediction. Expert Syst Appl . 2019;135:60–70.CrossRef
28.
Zurück zum Zitat Shi L, Member S, Teng Z, Wang L, Zhang Y, Binder A. DeepClue : Visual Interpretation of Text-Based Deep Stock Prediction. IEEE Trans Knowl Data Eng . 2019;31(6):1094–108.CrossRef Shi L, Member S, Teng Z, Wang L, Zhang Y, Binder A. DeepClue : Visual Interpretation of Text-Based Deep Stock Prediction. IEEE Trans Knowl Data Eng . 2019;31(6):1094–108.CrossRef
29.
Zurück zum Zitat Sun J, Huang Q, Li X. Determination of temporal stock investment styles via biclustering trading patterns. Cogn Comput. 2019;11(6):799–808.CrossRef Sun J, Huang Q, Li X. Determination of temporal stock investment styles via biclustering trading patterns. Cogn Comput. 2019;11(6):799–808.CrossRef
30.
Zurück zum Zitat Susanto Y, Livingstone A, Ng BC, Cambria E. The hourglass model revisited. IEEE Intell Syst . 2020;35(5):96–102.CrossRef Susanto Y, Livingstone A, Ng BC, Cambria E. The hourglass model revisited. IEEE Intell Syst . 2020;35(5):96–102.CrossRef
31.
Zurück zum Zitat Tetlock PC. Giving Content to Investor Sentiment : The Role of Media in the Stock Market. J Finance LXI. 2007;I(3):1139–68.CrossRef Tetlock PC. Giving Content to Investor Sentiment : The Role of Media in the Stock Market. J Finance LXI. 2007;I(3):1139–68.CrossRef
32.
Zurück zum Zitat Wang Y, Liu L, Gu R. Analysis of efficiency for Shenzhen stock market based on multifractal detrended fluctuation analysis. Int Rev Financial Anal. 2009;18(5):271–6.CrossRef Wang Y, Liu L, Gu R. Analysis of efficiency for Shenzhen stock market based on multifractal detrended fluctuation analysis. Int Rev Financial Anal. 2009;18(5):271–6.CrossRef
33.
Zurück zum Zitat Xing FZ, Cambria E, Welsch RE. Natural language based financial forecasting: a survey. Artif Intell Rev . 2018;50(1):49–73.CrossRef Xing FZ, Cambria E, Welsch RE. Natural language based financial forecasting: a survey. Artif Intell Rev . 2018;50(1):49–73.CrossRef
34.
Zurück zum Zitat Xing FZ, Cambria E, Zhang Y. Sentiment-aware volatility forecasting. Knowl -Based Syst . 2019;176:68–76.CrossRef Xing FZ, Cambria E, Zhang Y. Sentiment-aware volatility forecasting. Knowl -Based Syst . 2019;176:68–76.CrossRef
36.
Zurück zum Zitat Zhang X, Tan Y. Deep stock ranker: A LSTM neural network model for stock selection. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) 10943 LNCS(181). 2018. p. 614–623. Zhang X, Tan Y. Deep stock ranker: A LSTM neural network model for stock selection. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) 10943 LNCS(181). 2018. p. 614–623.
37.
Zurück zum Zitat Zhuang XT, Huang XY, Sha YL. Research on the fractal structure in the Chinese stock market. Physica A. 2004;333(1–4):293–305.MathSciNetCrossRef Zhuang XT, Huang XY, Sha YL. Research on the fractal structure in the Chinese stock market. Physica A. 2004;333(1–4):293–305.MathSciNetCrossRef
Metadaten
Titel
Stock Price Prediction Incorporating Market Style Clustering
verfasst von
Xiaodong Li
Pangjing Wu
Publikationsdatum
18.01.2021
Verlag
Springer US
Erschienen in
Cognitive Computation / Ausgabe 1/2022
Print ISSN: 1866-9956
Elektronische ISSN: 1866-9964
DOI
https://doi.org/10.1007/s12559-021-09820-1

Weitere Artikel der Ausgabe 1/2022

Cognitive Computation 1/2022 Zur Ausgabe