Open Access iconOpen Access

ARTICLE

crossmark

Stock Market Trading Based on Market Sentiments and Reinforcement Learning

K. M. Ameen Suhail1, Syam Sankar1, Ashok S. Kumar2, Tsafack Nestor3, Naglaa F. Soliman4,*, Abeer D. Algarni4, Walid El-Shafai5, Fathi E. Abd El-Samie4,5

1 Department of Computer Science & Engineering, NSS College of Engineering, Palakkad, 678008, Kerala, India
2 Department of Electronics and Communication Engineering, NSS College of Engineering, Palakkad, 678008, Kerala, India
3 Unité de Recherche de Matière Condensée, D'Electronique et de Traitement du Signal (URAMACETS), Department of Physics, University of Dschang, P. O. Box 67, Dschang, Cameroon
4 Department of Information Technology, College of Computer and Information Sciences, Princess Nourah Bint Abdulrahman University, Riyadh, 84428, Saudi Arabia
5 Department Electronics and Electrical Communications, Faculty of Electronic Engineering, Menoufia University, Menouf, 32952, Egypt

* Corresponding Author: Naglaa F. Soliman. Email: email

Computers, Materials & Continua 2022, 70(1), 935-950. https://doi.org/10.32604/cmc.2022.017069

Abstract

Stock market is a place, where shares of different companies are traded. It is a collection of buyers’ and sellers’ stocks. In this digital era, analysis and prediction in the stock market have gained an essential role in shaping today's economy. Stock market analysis can be either fundamental or technical. Technical analysis can be performed either with technical indicators or through machine learning techniques. In this paper, we report a system that uses a Reinforcement Learning (RL) network and market sentiments to make decisions about stock market trading. The system uses sentiment analysis on daily market news to spot trends in stock prices. The sentiment analysis module generates a unified score as a measure of the daily news about sentiments. This score is then fed into the RL module as one of its inputs. The RL section gives decisions in the form of three actions: buy, sell, or hold. The objective is to maximize long-term future profits. We have used stock data of Apple from 2006 to 2016 to interpret how sentiments affect trading. The stock price of any company rises, when significant positive news become available in the public domain. Our results reveal the influence of market sentiments on forecasting of stock prices.

Keywords


Cite This Article

APA Style
Suhail, K.M.A., Sankar, S., Kumar, A.S., Nestor, T., Soliman, N.F. et al. (2022). Stock market trading based on market sentiments and reinforcement learning. Computers, Materials & Continua, 70(1), 935-950. https://doi.org/10.32604/cmc.2022.017069
Vancouver Style
Suhail KMA, Sankar S, Kumar AS, Nestor T, Soliman NF, Algarni AD, et al. Stock market trading based on market sentiments and reinforcement learning. Comput Mater Contin. 2022;70(1):935-950 https://doi.org/10.32604/cmc.2022.017069
IEEE Style
K.M.A. Suhail et al., "Stock Market Trading Based on Market Sentiments and Reinforcement Learning," Comput. Mater. Contin., vol. 70, no. 1, pp. 935-950. 2022. https://doi.org/10.32604/cmc.2022.017069



cc Copyright © 2022 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 3033

    View

  • 2152

    Download

  • 0

    Like

Share Link