Abstract
Algorithmic trading, due to its inherent nature, is a difficult problem to tackle; there are too many variables involved in the real-world which makes it almost impossible to have reliable algorithms for automated stock trading. The lack of reliable labelled data that considers physical and physiological factors that dictate the ups and downs of the market, has hindered the supervised learning attempts for dependable predictions. To learn a good policy for trading, we formulate an approach using reinforcement learning which uses traditional time series stock price data and combines it with news headline sentiments, while leveraging knowledge graphs for exploiting news about implicit relationships.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Textblob. https://github.com/sloria/textblob
Atsalakis, G.S., Valavanis, K.P.: Surveying stock market forecasting techniques - part ii: Soft computing methods. Expert Syst. Appl. 36(3), 5932–5941 (2009)
Braun, H., Chandler, J.S.: Predicting stock market behavior through rule induction: an application of the learning-from-example approach*. Decis. Sci. 18(3), 415–429 (1987)
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), pp. 2823–2824 (2015)
Deng, Y., Bao, F., Kong, Y., Ren, Z., Dai, Q.: Deep direct reinforcement learning for financial signal representation and trading. IEEE Trans. Neural Netw. Learn. Syst. 28(3), 653–664 (2017)
Filos, A.: Reinforcement learning for portfolio management. GitHub repository (2018)
Fischer, T.G.: Reinforcement learning in financial markets- a survey working paper, FAU Discussion Papers in Economics, No. 12/2018, Institute for Economics, Erlangen (2018)
Fisher, K.L., Statman, M.: Investor sentiment and stock returns. Financ. Anal. J. 56(2), 16–23 (2000)
Godbole, N., Srinivasaiah, M., Skiena, S.: Large-scale sentiment analysis for news and blogs. Icwsm 7(21), 219–222 (2007)
Grek, T.: A blundering guide to making a deep actor-critic bot for stock trading. GitHub repository (2018)
IBM: Ibm watson. https://www.ibm.com/watson/services/tone-analyzer/
Jain, S., Kain, M.: Rediction for stock marketing using machine learning. Int. J. Recent Innov. Trends Comput. Commun. 6(4), 131–135 (2018)
Kaelbling, L., Littman, M., Cassandra, A.: Planning and acting in partially observable stochastic domains. Artif. Intell. 101(1–2), 99–134 (1998)
Karazmodeh, M., Nasiri, S., Hashemi, S.M.: Stock price forecasting using support vector machines and improved particle swarm optimization. J. Autom. Control Eng. 1(2) (2013)
Kingma, D.P., Ba, J.: Adam: A method for stochastic optimization (2014). arXiv preprint arXiv:1412.6980
Kohara, K., Ishikawa, T., Fukuhara, Y., Nakamura, Y.: Stock price prediction using prior knowledge and neural networks. Intell. Syst. Accounting Finance Manage. 6(1), 11–22 (1997)
Littman, M.L.: A tutorial on partially observable Markov decision processes. J. Math. Psychol. 53(3), 119–125 (2009)
Loper, E., Bird, S.: NLTK: The Natural Language Toolkit (2002). http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.4.585
Maverick, J.: Investopedia. https://www.investopedia.com/ask/answers/010815/what-good-sharpe-ratio.asp
Mnih, V., et al.: Human-level control through deep reinforcement learning. Nature 518(7540), 529 (2015)
Panigrahi, S., Mantri, J.: A text based decision tree model for stock market forecasting. In: 2015 International Conference on Green Computing and Internet of Things. IEEE (2015)
Sabherwal, S., Sarkar, S.K., Zhang, Y.: Do internet stock message boards influence trading? evidence from heavily discussed stocks with no fundamental news. J. Bus. Finance Accoun. 38(9–10), 1209–1237 (2011)
Sharma, M.: Survey on stock market prediction and performance analysis. Int. J. Adv. Res. Comput. Eng. Technol. 3(1), 131–135 (2014)
Si, J., Mukherjee, A., Liu, B., Li, Q., Li, H., Deng, X.: Exploiting topic based twitter sentiment for stock prediction. In: Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics, vol. 2, pp. 24–29 (2013)
Sprenger, T.O., Tumasjan, A., Sandner, P.G., Welpe, I.M.: Tweets and trades: the information content of stock microblogs. Eur. Financ. Manag. 20(5), 926–957 (2014)
Sutton, R.S., Barto, A.G., et al.: Introduction to reinforcement learning, vol. 135. MIT press Cambridge (1998)
Tan, Z., Quek, C., Cheng, P.Y.: Stock trading with cycles: a financial application of anfis and reinforcement learning. Expert Syst. Appl. 38(5), 4741–4755 (2011)
Taran, C., Roy, D., Srinivasan, N.: Stock price prediction - a novel survey. Int. J. Appl. Eng. Res. 10(4), 11375–11383 (2015)
Taspinar, A.: Twitterscraper. https://github.com/taspinar/twitterscraper
Yaddolahi, A., Shahraki, A.G., Zaiane, O.R.: Current state of text sentiment analysis from opinion to emotion mining. ACM Comput. Surv. 50(2), 1–33 (2017)
Åström, K.: Optimal control of Markov processes with incomplete state information. J. Math. Anal. Appl. 10(1), 174–205 (1965)
Acknowledgments
The work is supported in part by the Natural Sciences and Engineering Research Council of Canada (NSERC). Osmar Zaïane is supported by the Amii Fellow Program and the Canada CIFAR AI Chair Program.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Nan, A., Perumal, A., Zaiane, O.R. (2022). Sentiment and Knowledge Based Algorithmic Trading with Deep Reinforcement Learning. In: Strauss, C., Cuzzocrea, A., Kotsis, G., Tjoa, A.M., Khalil, I. (eds) Database and Expert Systems Applications. DEXA 2022. Lecture Notes in Computer Science, vol 13426. Springer, Cham. https://doi.org/10.1007/978-3-031-12423-5_13
Download citation
DOI: https://doi.org/10.1007/978-3-031-12423-5_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-12422-8
Online ISBN: 978-3-031-12423-5
eBook Packages: Computer ScienceComputer Science (R0)