Stock Forecasting Using Local Data

Stock price forecasting is a relevant and challenging problem that has attracted a lot of interest from engineers and scientists. In this paper we apply two techniques for stock price and price intervals forecasting. Both techniques, derived from previous works by the authors, are based on the use of local data extracted from a database. These data are those that correspond to similar market states to the current one. The first technique uses these local data to compute a price forecast by finding an optimal combination of past states that equals the current state. The price forecast is then obtained by combining the past actual prices associated to the past market states. The second technique can be used to forecast prices but its main use is to forecast price intervals that will contain the real future price with a guaranteed probability. This is accomplished by building a probability distribution for the forecasted price and then setting the intervals by a choice of desired percentiles. Thus, this technique can be used in financial risk management. Both techniques are purely data driven and do not need a theoretical description or model of the price trend being forecasted. The proposed techniques adapt very easily to market changes because they use only the subset of the database that it is closer to the current state. Furthermore, the database can be updated as new data is available. Finally, both approaches are highly parallelizable, thus making possible to manage large data sets. As a case study, the proposed approaches have been applied to the $k$ -step forecasting of the Dow Jones Industrial Average index. The results have been validated in relation with some baseline approaches, such as martingale and neural network predictors and quantile regression for the interval forecasting.

[1]  D. Muñoz de la Peña,et al.  Predictive control of a water distribution system based on process historian data , 2019, Optimal Control Applications and Methods.

[2]  Jean-Pierre Danthine,et al.  Martingale, market efficiency and commodity prices , 1977 .

[3]  E. Fama Random Walks in Stock Market Prices , 1965 .

[4]  Jacob Roll,et al.  Nonlinear system identification via direct weight optimization , 2005, Autom..

[5]  R. Tibshirani Regression Shrinkage and Selection via the Lasso , 1996 .

[6]  T. Alamo,et al.  A General Framework for Predictors Based on Bounding Techniques and Local Approximation , 2017, IEEE Transactions on Automatic Control.

[7]  Vadlamani Ravi,et al.  Forecasting financial time series volatility using Particle Swarm Optimization trained Quantile Regression Neural Network , 2017, Appl. Soft Comput..

[8]  Jinglu Hu,et al.  An SVM-based approach for stock market trend prediction , 2013, The 2013 International Joint Conference on Neural Networks (IJCNN).

[9]  Ping-fu Lai,et al.  AN EMPIRICAL STUDY OF RELATIONSHIP BETWEEN SHARE PRICE AND INTRINSIC VALUE OF COMPANY , 2015 .

[10]  Tugrul U. Daim,et al.  Using artificial neural network models in stock market index prediction , 2011, Expert Syst. Appl..

[11]  R. E. Shrieves,et al.  FREE CASH FLOW (FCF), ECONOMIC VALUE ADDED (EVA™), AND NET PRESENT VALUE (NPV):. A RECONCILIATION OF VARIATIONS OF DISCOUNTED-CASH-FLOW (DCF) VALUATION , 2001 .

[12]  Alberto Bemporad,et al.  Data-based predictive control via direct weight optimization , 2018 .

[13]  Ranjit Tiwari,et al.  Intrinsic value estimates and its accuracy: Evidence from Indian manufacturing industry , 2016 .

[14]  Naomi S. Altman,et al.  Quantile regression , 2019, Nature Methods.

[15]  M. Osborne Brownian Motion in the Stock Market , 1959 .

[16]  Yu Lou,et al.  Forecasting Stock Prices Using a Hybrid Deep Learning Model Integrating Attention Mechanism, Multi-Layer Perceptron, and Bidirectional Long-Short Term Memory Neural Network , 2020, IEEE Access.

[17]  Ganesh Mani,et al.  Financial Forecasting Using Genetic Algorithms , 1996, Appl. Artif. Intell..

[18]  Daniel R. Ramirez,et al.  A Nonlinear Technical Indicator Selection Approach for Stock Markets. Application to the Chinese Stock Market , 2020, Mathematics.

[19]  Russell J. Lundholm,et al.  Reconciling Value Estimates from the Discounted Cash Flow Model and the Residual Income Model , 2001 .

[20]  Subhash Panwar,et al.  Forecasting Stock Market Movements Using Various Kernel Functions in Support Vector Machine , 2016 .

[21]  William A. Barnett,et al.  Martingales, Nonlinearity, and Chaos , 2000 .

[22]  E. Fama The Behavior of Stock-Market Prices , 1965 .

[23]  H. White,et al.  Economic prediction using neural networks: the case of IBM daily stock returns , 1988, IEEE 1988 International Conference on Neural Networks.

[24]  Theodore B. Trafalis,et al.  Short term forecasting with support vector machines and application to stock price prediction , 2008, Int. J. Gen. Syst..

[25]  Teodoro Alamo,et al.  Probabilistic Interval Predictor Based on Dissimilarity Functions , 2020, IEEE Transactions on Automatic Control.

[26]  L. Ljung,et al.  A general direct weight optimization framework for nonlinear system identification , 2005 .

[27]  James N. Myers,et al.  What is the Intrinsic Value of the Dow , 1997 .

[28]  Xuesong Yan,et al.  Stock price prediction based on deep neural networks , 2019, Neural Computing and Applications.

[29]  A. Krishna Mohan,et al.  A Survey on Stock Market Prediction Using Machine Learning Techniques , 2020, Lecture Notes in Electrical Engineering.

[30]  Daniel Limón,et al.  Oracle-Based Economic Predictive Control , 2019, 2019 IEEE 58th Conference on Decision and Control (CDC).

[31]  T. Voorhis,et al.  Direct optimization method to study constrained systems within density-functional theory , 2005 .

[32]  Michael R. Anderberg,et al.  Cluster Analysis for Applications , 1973 .

[33]  Ahmet Murat Ozbayoglu,et al.  Financial Time Series Forecasting with Deep Learning : A Systematic Literature Review: 2005-2019 , 2019, Appl. Soft Comput..

[34]  Jun Zhu,et al.  Research on stock price forecast based on gray relational analysis and ARMAX model , 2017, 2017 International Conference on Grey Systems and Intelligent Services (GSIS).

[35]  Er-Wei Bai,et al.  Recursive Direct Weight Optimization in Nonlinear System Identification: A Minimal Probability Approach , 2007, IEEE Transactions on Automatic Control.

[36]  Jeremy Berkowitz Testing Density Forecasts, With Applications to Risk Management , 2001 .

[37]  Irrational Exuberance Irrational exuberance? , 2006, Nature Biotechnology.

[38]  Theodore Sougiannis,et al.  The Accuracy and Bias of Equity Values Inferred from Analysts' Earnings Forecasts , 2000 .

[39]  Qing He,et al.  DWO Based Predictive Control for Nonlinear Systems , 2010, 2010 International Conference on Measuring Technology and Mechatronics Automation.

[40]  N. Baba,et al.  An intelligent forecasting system of stock price using neural networks , 1992, [Proceedings 1992] IJCNN International Joint Conference on Neural Networks.

[41]  Jinghan Wang,et al.  Stock price forecasting model based on modified convolution neural network and financial time series analysis , 2019, Int. J. Commun. Syst..