Skip to main content

A Stock Market Trading System Using Deep Neural Network

  • Conference paper
  • First Online:

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 751))

Abstract

The stock market prediction is a lucrative field of interest with promising profit and covered with landmines for the unprecedented. The markets are complex, non-linear and chaotic in nature which poses huge difficulties to predict the prices accurately. In this paper, a stock trading system utilizing feed-forward deep neural network (DNN) to forecast index price of Singapore stock market using the FTSE Straits Time Index (STI) in t days ahead is proposed and tested through market simulations on historical daily prices. There are 40 input nodes of DNN which are the past 10 days’ opening, closing, minimum and maximum prices and consist of 3 hidden layers with 10 neurons per layer. The training algorithm used is stochastic gradient descent with back-propagation and is accelerated with multi-core processing. A trading system is proposed which utilizes the DNN forecasting results with defined entry and exit rules to enter a trade. DNN performance is evaluated using RMSE and MAPE. The overall trading system shows promising results with a profit factor of 18.67, 70.83% profitable trades and Sharpe ratio of 5.34 based on market simulation on test data.

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

Buying options

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

Learn about institutional subscriptions

References

  1. Vui, C.S., et al.: A review of stock market prediction with artificial neural network (ANN). In: 2013 IEEE International Conference on Control System, Computing and Engineering (2013)

    Google Scholar 

  2. Yetis, Y., Kaplan, H., Jamshidi, M.: Stock market prediction by using artificial neural network. In: 2014 World Automation Congress (WAC) (2014)

    Google Scholar 

  3. Soniya, S., Paul, S., Singh, L.: A review on advances in deep learning. In: 2015 IEEE Workshop on Computational Intelligence: Theories, Applications and Future Directions (WCI) (2015)

    Google Scholar 

  4. Akita, R., et al.: Deep learning for stock prediction using numerical and textual information. In: 2016 IEEE/ACIS 15th International Conference on Computer and Information Science (ICIS) (2016)

    Google Scholar 

  5. Day, M.Y., Lee, C.C.: Deep learning for financial sentiment analysis on finance news providers. In: 2016 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM) (2016)

    Google Scholar 

  6. Deng, Y., et al.: Deep direct reinforcement learning for financial signal representation and trading. IEEE Trans. Neural Netw. Learn. Syst. PP(99), 1–12 (2016)

    Google Scholar 

  7. Sun, Y., Wang, X., Tang, X.: Deep learning face representation from predicting 10,000 classes. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (2014)

    Google Scholar 

  8. Moghaddam, A.H., Moghaddam, M.H., Esfandyari, M.: Stock market index prediction using artificial neural network. J. Econ. Finance Adm. Sci. 21(41), 89–93 (2016)

    Google Scholar 

  9. Recht, B., et al.: Hogwild: a lock-free approach to parallelizing stochastic gradient descent. In: Advances in Neural Information Processing Systems (2011)

    Google Scholar 

Download references

Acknowledgement

The authors would like to thank all who contributed toward making this research successful. The authors wish to express their gratitude to Ministry of Higher Education (MOHE), Research Management Center (RMC) for the sponsorship, and Advanced Telecommunication Technology Research Group, Universiti Teknologi Malaysia for the financial support and advice for this project. (VOT number: Q.J130000.2623.12J82).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bang Xiang Yong .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer Nature Singapore Pte Ltd.

About this paper

Cite this paper

Yong, B.X., Abdul Rahim, M.R., Abdullah, A.S. (2017). A Stock Market Trading System Using Deep Neural Network. In: Mohamed Ali, M., Wahid, H., Mohd Subha, N., Sahlan, S., Md. Yunus, M., Wahap, A. (eds) Modeling, Design and Simulation of Systems. AsiaSim 2017. Communications in Computer and Information Science, vol 751. Springer, Singapore. https://doi.org/10.1007/978-981-10-6463-0_31

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-6463-0_31

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-6462-3

  • Online ISBN: 978-981-10-6463-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics