Skip to main content

Stock Market Investment Strategy Using Deep-Q-Learning Network

  • Conference paper
  • First Online:
Multi-disciplinary Trends in Artificial Intelligence (MIWAI 2023)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 14078))

Abstract

Artificial intelligence demonstrates its ability to analyze time series data more efficiently than humans and to automate stock trading processes without the need for human interaction. Developing a stock market investment strategy using artificial intelligence (AI) involves leveraging AI techniques to analyze data, identify patterns, and make informed investment decisions. In this study, we commonly utilized reinforcement learning DQN to create algorithms. Deep Q-Learning Network (DQN) is a reinforcement learning algorithm that combines Q-learning with deep neural networks to handle high-dimensional state spaces. It was introduced by Deep Mind in 2013 and has since been applied to various domains, including gaming, robotics, and finance. Financial markets are highly complex and subject to various external factors, making the application of DQN in stock market investment is a challenging. A deep q-learning network maps the agent’s actions to its states. In addition, we performed external prediction in order to use forecasted prices as new features, changed the exploration rate, and implemented a stop-loss technique in order to increase trading performance. A list of the most predictable stocks is also supplied as an optional and referable rank list, which is a marginal output of external prediction. The final AI trader has the capacity to study from previous years’ data of three selected equities and trade automatically with significant earning potential using new data. Our AI trading system model that uses reinforcement learning and deep learning on time series to trade stocks in the stock markets intelligently and safely, with estimated returns of 0.425% per five trading days. Overall our investment strategy model achieved 23.4% return for 275 trading days. Developed model definitely helpful to Investment Bankers, mutual fund managers, and Individual Investors.

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 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.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. Guresen, E., Kayakutlu, G., Daim, T.U.: Using artificial neural network models in stock market index prediction. Expert Syst. Appl. 38(8), 10389–10397 (2011)

    Article  Google Scholar 

  2. Patel, J., et al.: Predicting stock and stock price index movement utilizing trend deterministic data preparation and machine learning approaches. Expert Syst. Appl. 42(1), 259–268 (2015)

    Article  Google Scholar 

  3. Chen, K., Zhou, Y., Dai, F.: A LSTM-based technique for stock return prediction: a case study of the stock market. In: 2015 IEEE International Conference on Big Data (Big Data). IEEE (2015)

    Google Scholar 

  4. Deng, Y., et al.: Deep direct reinforcement learning for financial signal representation and trading. IEEE Trans. Neural Netw. Learn. Syst. 28(3), 653–664 (2017). https://doi.org/10.1109/TNNLS.2016.2522401

    Article  Google Scholar 

  5. Xiong, Z., et al.: Practical deep reinforcement learning strategy for stock trading (2018)

    Google Scholar 

  6. Fior, J., Cagliero, L.: A risk-aware approach to stock portfolio allocation based on Deep Q-Networks. In: 2022 IEEE 16th International Conference on Application of Information and Communication Technologies (AICT), Washington DC, DC, USA, pp. 1–5 (2022). https://doi.org/10.1109/AICT55583.2022.10013578

  7. Ansari, Y., et al.: A deep reinforcement learning-based decision support system for automated stock market trading. IEEE Access 10, 127469–127501 (2022). https://doi.org/10.1109/ACCESS.2022.3226629

    Article  Google Scholar 

  8. He, Y., Yang, Y., Li, Y., Sun, P.: A novel deep reinforcement learning-based automatic stock trading method and a case study. In: 2022 IEEE 1st Global Emerging Technology Blockchain Forum: Blockchain & Beyond (iGETblockchain), Irvine, CA, USA, pp. 1–6 (2022). https://doi.org/10.1109/iGETblockchain56591.2022.10087066

  9. Long, J., Chen, Z., He, W., Taiyu, Wu., Ren, J.: An integrated framework of deep learning and knowledge graph for prediction of stock price trend: An application in Chinese stock exchange market. Appl. Soft Comput. 91, 106205 (2020). https://doi.org/10.1016/j.asoc.2020.106205. ISSN 1568-4946

    Article  Google Scholar 

  10. Jiang, W.: Applications of deep learning in stock market prediction: recent progress. Expert Syst. Appl. 184, 115537 (2021). https://doi.org/10.1016/j.eswa.2021.115537. ISSN 0957-4174

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sudhakar Kalva .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 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

Kalva, S., Satuluri, N. (2023). Stock Market Investment Strategy Using Deep-Q-Learning Network. In: Morusupalli, R., Dandibhotla, T.S., Atluri, V.V., Windridge, D., Lingras, P., Komati, V.R. (eds) Multi-disciplinary Trends in Artificial Intelligence. MIWAI 2023. Lecture Notes in Computer Science(), vol 14078. Springer, Cham. https://doi.org/10.1007/978-3-031-36402-0_45

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-36402-0_45

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-36401-3

  • Online ISBN: 978-3-031-36402-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics