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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Andrew WL, MacKinlay AC (2002) In: A non-random walk down wall street. Princeton University Press
Musgrave GL (1997) A random walk down wall street. Bus Econ 32(2):74–76
Preethi G, Santhi B (2012) Stock market forecasting techniques: a survey. J Theor Appl Inf Technol 46(1)
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
Hiransha M, Gopalakrishnan EA, Menon VK, Soman KP (2018) NSE stock market pre- diction using deep-learning models. Procedia Comput Sci 132:1351–62
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
Zhang L, Aggarwal C, Qi G-J (2017) Stock price prediction via discovering multi-frequency trading patterns. In: SIGKDD, ACM, pp 2141–2149
Zhang Y, Xiong Y, Kong X, Zhu Y (2017) Learning node embeddings in interaction graphs. In: CIKM, ACM, pp 397–406
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
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
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
Paszke A, Gross S, Chintala S (2017) Pytorch. https://github.com/pytorch/pytorch
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
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)