Skip to main content

Stock Trading Bot Using Deep Reinforcement Learning

  • Conference paper
  • First Online:
Innovations in Computer Science and Engineering

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 32))

Abstract

This paper proposes automating swing trading using deep reinforcement learning. The deep deterministic policy gradient-based neural network model trains to choose an action to sell, buy, or hold the stocks to maximize the gain in asset value. The paper also acknowledges the need for a system that predicts the trend in stock value to work along with the reinforcement learning algorithm. We implement a sentiment analysis model using a recurrent convolutional neural network to predict the stock trend from the financial news. The objective of this paper is not to build a better trading bot, but to prove that reinforcement learning is capable of learning the tricks of stock trading.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.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

References

  1. Sutton, R.S., Barto : A.G., Reinforcement Learning: An Introduction in Advances in Neural Information Processing Systems, MIT Press (1998)

    Google Scholar 

  2. Patrick Emami (2016) Deep Deterministic Policy Gradients in Tensorow. http://pemami4911.github.io/blog/2016/08/21/ddpg-rl.html. Cited 25 Apr 2017

  3. Siwei Lai, Liheng Xu, Kang Liu, Jun Zhao: Recurrent Convolutional Neural Networks for Text Classiffication, Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence

    Google Scholar 

  4. M A H dempster and V Leemans: An Automated FX Trading System Using Adaptive Reinforcement Learning, Center of Financial Research Judge Institute of Management University of Cambridge

    Google Scholar 

  5. Vasilios Daskalopoulos: Stock Price Prediction from Natural Language Understanding of News Headlines, Rutgers University, Department of Computer Science

    Google Scholar 

  6. Yarin Gal and Zoubin Ghahramani: A Theoretically Grounded Application of Dropout in Recurrent Neural Networks, University of Cambridge 2016

    Google Scholar 

  7. Franois Chollet: Keras (2017), GitHub repository, https://github.com/fchollet/keras

  8. Google. Inc. Tensorow. https://www.tensorflow.org/

  9. Matthias Plappert, keras-rl (2016): GitHub repository. https://github.com/matthiasplappert/keras-rl

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Akhil Raj Azhikodan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Azhikodan, A.R., Bhat, A.G.K., Jadhav, M.V. (2019). Stock Trading Bot Using Deep Reinforcement Learning. In: Saini, H., Sayal, R., Govardhan, A., Buyya, R. (eds) Innovations in Computer Science and Engineering. Lecture Notes in Networks and Systems, vol 32. Springer, Singapore. https://doi.org/10.1007/978-981-10-8201-6_5

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-8201-6_5

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-8200-9

  • Online ISBN: 978-981-10-8201-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics