Skip to main content

MAN: A Multidimension Attention-Based Recurrent Neural Network for Stock Price Forecasting

  • Conference paper
  • First Online:
Communications, Signal Processing, and Systems (CSPS 2020)

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 654))

  • 112 Accesses

Abstract

Recently, deep learning has been applied to many fields, including finance. One limitation of existing neural network-based solutions is that their optimization target is the accuracy of the classification or regression task, rather than the ultimate return on investment. Another limitation is that they often treat stocks as independent entities, ignoring the interrelationships among them that are informative for stock forecasting. We put forward a time-feature-stock-wise attention-based RNN to consider the relationship between stocks and distill valuable information from multi-feature temporal data to forecast the stock price. At the same time, we take both the prediction accuracy and the sorting error of the forecast result as the optimization goal to maximize the final yield. To validate our method, we use our model to predict the opening prices of 10, 20, and 40 stocks randomly selected from Chinese stock market and made investment based on the prediction results. The back-test results showed that the return rate of this model was better than that of traditional stock forecasting solutions.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover 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

Notes

  1. 1.

    https://data.worldbank.org/indicator/CM.MKT.LCAP.CD/.

References

  1. Andrew WL, MacKinlay AC (2002) In: A non-random walk down wall street. Princeton University Press

    Google Scholar 

  2. Musgrave GL (1997) A random walk down wall street. Bus Econ 32(2):74–76

    Google Scholar 

  3. Preethi G, Santhi B (2012) Stock market forecasting techniques: a survey. J Theor Appl Inf Technol 46(1)

    Google Scholar 

  4. Selvin S, Vinayakumar R, Gopalakrishnan EA, Menon VK, Soman KP (2017) Stock price prediction using LSTM, RNN and CNN-sliding window model. In: Advances in computing, communications and informatics (ICACCI), 2017 international conference on IEEE, pp 1643–1647

    Google Scholar 

  5. Hiransha M, Gopalakrishnan EA, Menon VK, Soman KP (2018) NSE stock market pre- diction using deep-learning models. Procedia Comput Sci 132:1351–62

    Article  Google Scholar 

  6. Bao W, Yue J, Rao Y (2017) A deep learning framework for financial time series using stacked autoencoders and long-short term memory. PloS One 12(7):e0180944

    Google Scholar 

  7. Zhang L, Aggarwal C, Qi G-J (2017) Stock price prediction via discovering multi-frequency trading patterns. In: SIGKDD, ACM, pp 2141–2149

    Google Scholar 

  8. Zhang Y, Xiong Y, Kong X, Zhu Y (2017) Learning node embeddings in interaction graphs. In: CIKM, ACM, pp 397–406

    Google Scholar 

  9. Zhao S, Wang Q, Massung S, Qin B, Liu T, Wang B, Zhai CX (2017) Constructing and embedding abstract event causality networks from text snippets. In: WSDM, ACM, pp 335–344

    Google Scholar 

  10. Feng F, He X, Wang X, Luo C, Liu Y, Chua T-S (2019) Temporal relational ranking for stock prediction. ACM Trans Inf Syst 37, 2(27):30

    Google Scholar 

  11. Yuan Y et al. (2018) MuVAN: a multi-view attention network for multivariate temporal data. In: 2018 IEEE International conference on data mining (ICDM), Singapore, pp 717–726. https://doi.org/10.1109/icdm.2018.00087

  12. Paszke A, Gross S, Chintala S (2017) Pytorch. https://github.com/pytorch/pytorch

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Weipeng Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zhang, W. (2021). MAN: A Multidimension Attention-Based Recurrent Neural Network for Stock Price Forecasting. In: Liang, Q., Wang, W., Liu, X., Na, Z., Li, X., Zhang, B. (eds) Communications, Signal Processing, and Systems. CSPS 2020. Lecture Notes in Electrical Engineering, vol 654. Springer, Singapore. https://doi.org/10.1007/978-981-15-8411-4_128

Download citation

  • DOI: https://doi.org/10.1007/978-981-15-8411-4_128

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-15-8410-7

  • Online ISBN: 978-981-15-8411-4

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics