A novel deep reinforcement learning based stock price prediction using knowledge graph and community aware sentiments

A novel deep reinforcement learning based stock price prediction using knowledge graph and community aware sentiments

Stock market prediction has been an important topic for investors, researchers, and analysts. Because it is affected by too many factors, stock market prediction is a difficult task to handle. In this study, we propose a novel method that is based on deep reinforcement learning methodologies for the prediction of stock prices using sentiments of community and knowledge graph. For this purpose, we firstly construct a social knowledge graph of users by analyzing relations between connections. After that, time series analysis of related stock and sentiment analysis is blended with deep reinforcement methodology. Turkish version of Bidirectional Encoder Representations from Transformers (BerTurk) is employed to analyze the sentiments of the users while deep Q-learning methodology is used for the deep reinforcement learning side of the proposed model to construct the deep Q-network. In order to demonstrate the effectiveness of the proposed model, Garanti Bank (GARAN), Akbank (AKBNK), Türkiye İş Bankası (ISCTR) stocks in Borsa İstanbul are used as a case study. Experiment results show that the proposed novel model achieves remarkable results for stock market prediction task.

___

  • [1] Leung MT, Daouk H, Chen AS. Forecasting stock indices: a comparison of classification and level estimation models. International Journal of forecasting 2000; 16 (2): 173-190.
  • [2] Kumar M, Thenmozhi M. Forecasting stock index movement: A comparison of support vector machines and random forest. In: 9th Capital Markets Conference; India, 2006. pp. 1-16.
  • [3] Abu-Mostafa YS, Atiya AF. Introduction to financial forecasting. Applied intelligence 1996; 6 (3): 205-213.
  • [4] Tan TZ, Quek C, Ng GS. Biological brain‐inspired genetic complementary learning for stock market and bank failure prediction. Computational Intelligence 2007; 23 (2): 236-261.
  • [5] Goonatilake R, Herath S. The volatility of the stock market and news. International Research Journal of Finance and Economics 2007; 3 (11): 53-65.
  • [6] Gabielkov M, Legout A. The complete picture of the Twitter social graph. In: 2012 ACM Conference on CoNEXT Workshop; Nice, France 2012: 19-20.
  • [7] Sutton RS, Barto AG. Reinforcement learning: An introduction. 2nd ed. Cambridge, MA: MIT press, 2018.
  • [8] Holcomb SD, Porter WK, Ault SV, Mao G, Wang J. Overview on deepmind and its alphago zero ai. In: 2018 International Conference on Big Data and Education; Hawaii, USA 2018:67-71.
  • [9] Mnih V, Kavukcuoglu K, Silver D, Rusu AA, Veness J et al. Human-level control through deep reinforcement learning. Nature 2015; 518 (7540): 529-533.
  • [10] Auer S, Bizer C, Kobilarov G, Lehmann J, Cyganiak R et al. DBpedia: A Nucleus for a web of open data. In: Asian Semantic Web Conference; Busan, Korea 2007: 722-735.
  • [11] Hu YJ, Lin SJ. Deep reinforcement learning for optimizing finance portfolio management. In: 2019 IEEE Amity International Conference on Artificial Intelligence; Dubai, UAE 2019: 14-20.
  • [12] Rundo F. Deep LSTM with reinforcement learning layer for financial trend prediction in FX high frequency trading systems. Applied Sciences 2019; 9 (20): 4460-4478.
  • [13] Ye Y, Pei H, Wang B, Chen PY, Zhu Y et al. Reinforcement-learning based portfolio management with augmented asset movement prediction states. In: 2020 AAAI Conference on Artificial Intelligence; New York, USA 2020: 1112-1119.
  • [14] Xiao C, Chen W. Trading the Twitter Sentiment with Reinforcement Learning. arXiv preprint arXiv:1801.02243, 2018.
  • [15] Li Y, Ni P, Chang V. Application of deep reinforcement learning in stock trading strategies and stock forecasting. Computing 2019; 102: 1305–1322.
  • [16] Koratamaddi P, Wadhwani K, Gupta M, Sanjeevi SG. Market sentiment-aware deep reinforcement learning approach for stock portfolio allocation. International Journal of Engineering Science and Technology 2021; 24 (4): 848-859.
  • [17] Chen L, Gao Q. Application of deep reinforcement learning on automated stock trading. In: 2019 IEEE 10th International Conference on Software Engineering and Service Science; Beijing, China 2019: 29-33.
  • [18] Nan A, Perumal A, Zaiane OR. Sentiment and knowledge based algorithmic trading with deep reinforcement learning. arXiv preprint arXiv:2001.09403, 2020.
  • [19] Tenney I, Das D, Pavlick E. BERT rediscovers the classical NLP pipeline. arXiv preprint arXiv:1905.05950, 2019. [20] Mnih V, Kavukcuoglu K, Silver D, Graves A, Antonoglou I et al. Playing atari with deep reinforcement learning. arXiv preprint arXiv:1312.5602, 2013.
  • [21] Van Hasselt V, Guez A, Silver D. Deep reinforcement learning with double q-learning. In: 2016 AAAI Conference on Artificial Intelligence; Arizona, USA 2016: 2094-2100.
  • [22] Wang Z, Schaul T, Hessel M, Hasselt H, Lanctot M et al. Dueling network architectures for deep reinforcement learning. In: In International Conference on Machine Learning; New York, USA 2016: 1995-2003.
  • [23] Kingma DP, Ba J. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
Turkish Journal of Electrical Engineering and Computer Sciences-Cover
  • ISSN: 1300-0632
  • Yayın Aralığı: 6
  • Yayıncı: TÜBİTAK
Sayıdaki Diğer Makaleler

An adaptive search equation-based artificial bee colony algorithm for transportation energy demand forecasting

Safa DÖRTERLER, Durmuş ÖZDEMİR

An efficient end-to-end deep neural network for interstitial lung disease recognition and classification

Ikhtiar Ahmed, Md Baharul Islam, Masum Shah Junayed, Afsana Ahsan Jeny, AFM Shahen Shah

Offline tuning mechanism of joint angular controller for lower-limb exoskeleton with adaptive biogeographical-based optimization

Mohammad Soleimani Amiri, Rizauddin Ramli

Software security management in critical infrastructures: a systematic literature review

Bedir TEKİNERDOĞAN, Gülsüm Ece EKŞİ, Cağatay CATAL

A Comprehensive Survey for Non-Intrusive Load Monitoring

Eray YILDIZ, Efe İsa TEZDE

Evaluation of social bot detection models

Ali Aydın SELÇUK, M. Buğra TORUSDAĞ, Mucahid KUTLU

Binary flower pollination algorithm based user scheduling for multiuser MIMO systems

Prabina Pattanayak, Arnab Nandi, Krishna Lal Baishnab, Fazal Ahmed Talukdar, Jyoti Mohanty

Residential energy management system based on integration of fuzzy logic and simulated annealing

Suat BAYSAN, Ramazan Nejat TUNCAY, Ömer Cihan KIVANÇ, Salih Barış ÖZTÜRK, Bekir Tevfik AKGÜN, Semih BİLGEN

Twitter account classification using account metadata: organization vs. individual

Yusuf Mücahit ÇETİNKAYA, Mesut GÜRLEK, İsmail Hakkı TOROSLU, Pınar KARAGÖZ

A survey on organizational choices for microservice-based software architectures

Burak BİLGİN, Hüseyin ÜNLÜ, Onur DEMİRÖRS