Nothing Special   »   [go: up one dir, main page]

Skip to main content

StTime-Net: Combining both Historical and Textual Factors for Stock Movement Prediction

  • Conference paper
  • First Online:
Artificial Neural Networks and Machine Learning – ICANN 2022 (ICANN 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13532))

Included in the following conference series:

  • 2144 Accesses

Abstract

With the development of modern technology, machine learning has become the most popular tool for analyzing financial and numerical data. It has great potential to forecast stock prices. The proper prediction of future stock prices helps investors to increase their chances of earning more profits. As a result, many research papers using machine learning and deep learning in stock price prediction have been conducted. However, most researchers only focus on the past price categories of the stock market without considering other essential types of information, which include the articles about a company and how people talk about a company on social media. Thus, in this paper, we apply machine learning and deep learning methods to predict the future stock market through both numerical data and textual information. The textual information is based on analyzing tweets about the companies. Moreover, we adopt Time2Vec [13] to learn a vector representation of time. We show that our method (StTime-Net) is a more suitable approach for stock movement prediction.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://finance.yahoo.com/industries.

  2. 2.

    https://nlp.stanford.edu/projects/glove/.

References

  1. Atkins, A., Niranjan, M., Gerding, E.: Financial news predicts stock market volatility better than close price. J. Finance Data Sci. 4(2), 120–137 (2018)

    Article  Google Scholar 

  2. Black, F., Scholes, M.: The pricing of options and corporate liabilities. In: World Scientific Reference on Contingent Claims Analysis in Corporate Finance: Volume 1: Foundations of CCA and Equity Valuation, pp. 3–21. World Scientific (2019)

    Google Scholar 

  3. Bojanowski, P., Grave, E., Joulin, A., Mikolov, T.: Enriching word vectors with subword information. Trans. Assoc. Comput. Linguist. 5, 135–146 (2017)

    Article  Google Scholar 

  4. Brown, R.G.: Smoothing, Forecasting and Prediction of Discrete Time Series. Courier Corporation (2004)

    Google Scholar 

  5. Chicco, D., Jurman, G.: The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genomics 21(1), 1–13 (2020). https://doi.org/10.1186/s12864-019-6413-7

    Article  Google Scholar 

  6. Cho, K., et al.: Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078 (2014)

  7. Gers, F.: Long short-term memory in recurrent neural networks. Ph.D. thesis, Verlag nicht ermittelbar (2001)

    Google Scholar 

  8. Ghosh, P., Neufeld, A., Sahoo, J.K.: Forecasting directional movements of stock prices for intraday trading using LSTM and random forests. arXiv preprint arXiv:2004.10178 (2020)

  9. Glorot, X., Bengio, Y.: Understanding the difficulty of training deep feedforward neural networks. In: Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pp. 249–256. JMLR Workshop and Conference Proceedings (2010)

    Google Scholar 

  10. Goetzmann, W.N., Brown, S.J., Gruber, M.J., Elton, E.J.: Modern Portfolio Theory and Investment Analysis, vol. 237. Wiley, Hoboken (2014)

    Google Scholar 

  11. Gupta, R., Chen, M.: Sentiment analysis for stock price prediction. In: 2020 IEEE Conference on Multimedia Information Processing and Retrieval (MIPR), pp. 213–218 (2020). https://doi.org/10.1109/MIPR49039.2020.00051

  12. Kalyani, J., Bharathi, P., Jyothi, P., et al.: Stock trend prediction using news sentiment analysis. arXiv preprint arXiv:1607.01958 (2016)

  13. Kazemi, S.M., et al.: Time2Vec: learning a vector representation of time. arXiv preprint arXiv:1907.05321 (2019)

  14. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980 (2014)

  15. Li, X., Li, Y., Yang, H., Yang, L., Liu, X.Y.: DP-LSTM: differential privacy-inspired LSTM for stock prediction using financial news. arXiv preprint arXiv:1912.10806 (2019)

  16. Lu, W., Li, J., Li, Y., Sun, A., Wang, J.: A CNN-LSTM-based model to forecast stock prices. Complexity 2020 (2020)

    Google Scholar 

  17. Malkiel, B.G.: A Random Walk Down Wall Street: Including a Life-Cycle Guide to Personal Investing. WW Norton & Company (1999)

    Google Scholar 

  18. Marshal, O.T.: Factors influencing investment decisions in capital market: a study of individual investors in Nigeria. Organ. Mark. Emerg. Econ. 4(1), 141–161 (2013). https://doi.org/10.15388/omee.2013.4.1.14263. https://www.journals.vu.lt/omee/article/view/14263

  19. Moghaddam, A.H., Moghaddam, M.H., Esfandyari, M.: Stock market index prediction using artificial neural network. J. Econ. Finance Adm. Sci. 21(41), 89–93 (2016)

    Google Scholar 

  20. Muhammad, S., Ali, G.: The relationship between fundamental analysis and stock returns based on the panel data analysis; evidence from Karachi stock exchange (KSE). Res. J. Finance Account. 9(3), 84–96 (2018)

    Google Scholar 

  21. Nguyen, T.H., Shirai, K.: Topic modeling based sentiment analysis on social media for stock market prediction. In: Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 1354–1364 (2015)

    Google Scholar 

  22. Pagolu, V.S., Reddy, K.N., Panda, G., Majhi, B.: Sentiment analysis of Twitter data for predicting stock market movements. In: 2016 International Conference on Signal Processing, Communication, Power and Embedded System (SCOPES), pp. 1345–1350. IEEE (2016)

    Google Scholar 

  23. Pennington, J., Socher, R., Manning, C.D.: GloVe: global vectors for word representation. In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1532–1543 (2014)

    Google Scholar 

  24. Qiu, J., Wang, B., Zhou, C.: Forecasting stock prices with long-short term memory neural network based on attention mechanism. PLoS ONE 15(1), e0227222 (2020)

    Article  Google Scholar 

  25. Ranco, G., Aleksovski, D., Caldarelli, G., Grčar, M., Mozetič, I.: The effects of Twitter sentiment on stock price returns. PLoS ONE 10(9), e0138441 (2015)

    Article  Google Scholar 

  26. Renu, I.R., Christie, P.: Fundamental analysis versus technical analysis-a comparative review. Int. J. Recent Sci. Res. 9(1), 23009–23013 (2018)

    Google Scholar 

  27. Sawhney, R., Agarwal, S., Wadhwa, A., Shah, R.R.: Deep attentive learning for stock movement prediction from social media text and company correlations (2020)

    Google Scholar 

  28. Shen, J., Shafiq, M.O.: Short-term stock market price trend prediction using a comprehensive deep learning system. J. Big Data 7(1), 1–33 (2020). https://doi.org/10.1186/s40537-020-00333-6

    Article  Google Scholar 

  29. Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems, pp. 5998–6008 (2017)

    Google Scholar 

  30. Xie, B., Passonneau, R., Wu, L., Creamer, G.G.: Semantic frames to predict stock price movement. In: Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics, pp. 873–883 (2013)

    Google Scholar 

  31. Xu, Y., Cohen, S.B.: Stock movement prediction from tweets and historical prices. In: Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1970–1979 (2018)

    Google Scholar 

  32. Zhang, G.P.: Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing 50, 159–175 (2003)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hy Dang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Dang, H., Nguyen, M., Mei, B. (2022). StTime-Net: Combining both Historical and Textual Factors for Stock Movement Prediction. In: Pimenidis, E., Angelov, P., Jayne, C., Papaleonidas, A., Aydin, M. (eds) Artificial Neural Networks and Machine Learning – ICANN 2022. ICANN 2022. Lecture Notes in Computer Science, vol 13532. Springer, Cham. https://doi.org/10.1007/978-3-031-15937-4_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-15937-4_23

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-15936-7

  • Online ISBN: 978-3-031-15937-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics