Stock market pattern prediction using perceptron multilayer artificial neural networks

Number of pages: 81 File Format: word File Code: 31054
Year: 2014 University Degree: Master's degree Category: IT Information Technology Engineering
  • Part of the Content
  • Contents & Resources
  • Summary of Stock market pattern prediction using perceptron multilayer artificial neural networks

    Dissertation of Master of Information Technology Engineering, Information Systems Management

    Abstract

    In today's world, due to the change in lifestyle, people are looking for a way to improve and improve their economic situation, one of the most important ways to improve their financial situation is to increase their income.  One of the easiest ways is investment, which has different dimensions.  In Iran, due to the drastic changes in the coin and currency market, more people turned to the stock market.  One of the most attractive issues in the stock market is finding a way to increase capital and reduce losses as much as possible.  This problem led to the investigation of algorithms and methods of artificial intelligence in stock market management.  In this research, various methods have been examined and the reasons for the success and failure of these methods have been examined.  Based on the studies, it can be said that neural networks are the best and most widely used method.  If this method is combined with statistical methods, it will be possible to achieve better results, and if this is possible, it will lead to an improvement in the economic situation of companies and as a result, an improvement in the economic situation of the country.  

    In this project, an attempt has been made to predict the stock market with the help of perceptron neural network.  After the investigations, it was revealed that less work has been done on the fundamental data of the stock exchange.  Therefore, fundamental and technical data and fundamental and technical combination have been examined and compared.  Then it is shown that combined data are more suitable for prediction.  In order to improve forecasting, the head and shoulders pattern has been added to the data used in the stock market. By examining and comparing normal data without head and shoulder patterns and data using this pattern with the help of the MATLAB neural network toolbox, it has been shown that this pattern will improve prediction. Chapter 1 Introduction Introduction In today's world due to lifestyle changes, people are looking for a way to improve their economic situation, which is one of the most important ways to improve their situation. Finance can be referred to as an increase in income.  One of the easiest ways is investment, which has different dimensions.  In Iran, due to the drastic changes in the coin and currency market, more people have turned to the stock market.  One of the most attractive issues in the stock market is finding a way to increase capital and reduce losses as much as possible.  Shares in the stock market is a risky purchase or sale in which there is either a lot of profit or a person incurs a loss. 

    From 1409 AD, the fields of exchange of goods, money and other means of payment were created in Finland [1].  Money changers used to gather every day in Tubores Square in front of the house of the famous merchant Vander Bors to trade money.  On this occasion, these groups took the short name of Bors.  The first real stock exchange was launched in 1460 in Belgium.  Tehran Stock Exchange was established in 1346, this organization started its activity on the 15th of February of that year by making several transactions on the shares of Industrial and Mineral Development Bank.  Finally, electronic stock trading was implemented in Iran on 9/24/1982 by Saderat Development Bank to reduce the gap between people and modern technology.   Since 1997, many people have been looking for a way to advance in the stock market.  The most important issue for traders and stock buyers was to find a way to predict the stock market.  They did not know when to hold and when to sell.  Buying shares was another issue in this field.  If we look at the issue more precisely, the fall and bankruptcy in the stock market is not related to one person because the amount of profit and loss is small and this issue cannot cause problems for the country's economy.  This issue is very important for businessmen and important economic companies in the country because their bankruptcy will cause crises and economic problems and stagnation in the international stock market.  In fact, it can be said that forecasting stock indices is one of the main pillars, but it is very difficult.  Volatility of data, many changes in the market and lack of a clear rule that the data should follow are some of the reasons for the difficulty.  In this regard, artificial intelligence algorithms can be mentioned.  Because in order to find a solution, one should seek to discover a pattern in non-linear and irregular systems.Artificial intelligence tools are very useful for forecasting in environments with extended data.

    If you look at the stock market from a managerial point of view, it can be seen that humans have always interacted with the concept of decision-making since they knew themselves.  In the meantime, some scientists of management science have gone as far as to declare that a manager has nothing to do with decision-making.  Decision making can be defined as a choice issue.  In such problems, predicting the decision parameters is very complicated and in many cases impossible.  One of the decisions that financial managers are related to is the decisions related to cash dividends and related functions.  Based on the importance of decisions related to cash dividends of stocks, there have always been many concerns to predict this factor and models have been presented for it, but like other prediction models, a fundamental question in this field is what variables affect cash dividends of stocks and in fact, what independent variables should be included in the model that is presented for forecasting in order to be able to predict the dependent variable of cash dividends of stocks.

    In practice, when the number of input variables of a system and communication between the input variables will increase exponentially, the predicted results will show more deviation from the actual outputs.  There are many tools and methods for analyzing these connections and finally, predicting the existing results, among which one of the most powerful can be mentioned, i.e. artificial neural networks.  The use of artificial neural networks for financial forecasts and dividend forecasting also has a history, but there are always problems in selecting the variables that are entered as input to the model, which are mentioned below.  This is not easily possible without the help of financial markets, especially a large and efficient capital market.  Investing in shares offered on the stock exchange is one of the most profitable options in the capital market.  However, evaluating and forecasting stocks or any other securities has a historical process and requires special expertise.  Different theories have been proposed regarding stock market evaluation and forecasting in organized markets. At the beginning of the 20th century, a group of experts with experience in evaluating securities firmly believed that it is possible to provide an image for predicting the future price of stocks through the study and analysis of the historical trend of stock price changes. More scientific studies, emphasizing the accurate identification of stock price behavior, led to the trend towards stock price valuation models.  But these methods were not successful.  In an efficient capital market, it is believed that the stock price is a reflection of the current information related to that stock, and stock price changes do not have a specific predictable pattern.  The theories proposed until the 1980s were good determinants of stock price behavior in the market, until the developments of the New York stock market in 1987 severely questioned the validity of the assumptions of the efficient capital market and models such as the randomness of prices [2]. In the 1990s and after, most of the experts' attention was directed to a chaotic behavior with order, and the effort to design nonlinear models to predict stock prices became increasingly important.   With these theories, among the techniques that became highly important were intelligent systems, because assuming the linearity of the market structure, many models can be easily designed.  However, it is very difficult to show the behavior of complex groups such as the capital market in a modern economic system completely in a set of simple and linear equations.  The main advantage of intelligent systems such as artificial neural networks and fuzzy neural networks is in modeling and predicting irregular and non-linear sets. According to many researchers, another tool such as the genetic algorithm can be fruitful in reducing the time to reach the answer and even optimizing predictions in artificial neural networks and fuzzy neural networks. In this field, machine learning techniques are useful for stock market prediction.   Stock market forecasting is a challenging task that is a part of time series forecasting.  In this research, the strengths and weaknesses of this technique will be investigated.  Also, the articles and researches that have done useful works in the field of forecasting will be examined further.

  • Contents & References of Stock market pattern prediction using perceptron multilayer artificial neural networks

    List:

    Table of contents. Six

    Abstract. Ten

    Chapter One: Introduction. 1

    Chapter Two: 6

    2-1 Introduction. 6

    2-2 review of the first researches done. 6

    2-3 using neural network methods and time series analysis. 7

    2-4 Efficient market research. 8.

    2-5 effective factors in forecasting. 9

    2-6 integration of neural and fuzzy network methods. 9

    2-7 Support vector machine method. 10

    2-8 The impact of stock exchange information release on forecasting process. 10

    2-9 Creating an automatic system. 11

    2-10 review of the latest methods. 11

    2-11 review of data mining methods in forecasting. 14

    2-12 Check the Makf method. 14

    2-13 review of ARIMA method. 15

    2-14 Conclusion. 17

    The third chapter: 17

    3-1 Introduction. 19

    3-2 common terms in the stock market. 19

    3-2-1 Shares. 19

    3-2-2 Exchange. 20

    3-2-3 base volume 20

    3-2-4 percentage of profit realization. 20

    3-2-5 profit forecast. 21

    3-2-6 index. 21

    3-2-7 symbols. 21

    3-2-8 fluctuation range 21

    3-2-9 Review of qualitative and quantitative factors. 22

    3-3 types of prediction methods. 22

    3-3-1 Technical analysis. 23

    3-3-2 Basic analysis. 24

    3-3-3 alternative methods. 28

    six

    3-4 efficient market hypothesis. 37

     

     

    3-5 support vector machine. 37

    3-6 Conclusion. 38

    Chapter Four: 39

    4-1 Introduction. 39

    4-2 types of views in financial literature. 40

    4-2-1 Basic method. 40

    4-2-2 Technical method. 40

    4-3 TRAINLM Algorithm. 44

    4-4 Slope reduction batch training. 46

    4-5 Momentum batch training 46

    4-6 Determining the number of layers and the number of neurons in each layer. 46

    4-7 Analysis of results. 47

    4-8 head and shoulder pattern. 53

    4-9 How to prepare data using RandomWalk 56

    4-10 Determining the number of layers and the number of neurons in each layer. 57

    4-11 Conclusion. 62

    Chapter Five: 63.

    5-1 Introduction. 63

    5-2 The work done in the thesis. 63

    5-2-1 research. 63

    5-2-2 Amendments. 63

    5-2-3 software. 64

    5-2-4 database. 64

    5-3 Forecast time period. 64

    5-4 types of prediction. 64

    5-5 type of selected window. 64

    6-5 The number of hidden layers and the number of neurons 65

    5-7 Conclusion. 67

    Sixth chapter: 68

    6-1 Conclusion. 68

    6-2 suggestions. 69

    References. 70

     

    Source:

    [1] Papadrakakis M, Tsompanakis Y and Goldberg N, : Optimization and Machincs and engineering pp. 309-333, vol. 156, 1989. [2] Bingul Z, A Sekman and S Zein-zabato: Evolutionary Approach to Multi Objective Problems Using Genetic Algorithms, IEEE transactions, international conference of systems, man and cybernetics, 2000. [3] Robert J and Van Eyden: The Application of Neural Networks in the Forecasting of Share Prices, Technology Finance Publishing, 1996. [4] White H: Economic prediction using neural networks a case of IBM daily stock returns, International Conference on Neural Networks, 1988, vol. 2, pp. 451-458. [5] Phua, P K, H Ming and D Lin: Neura Network with Genetic Algorithms for Stocks Prediction, Fifth Conference of the Association of Asian-Pacific Operations Research Societies, Singapore, 5th - 7th July, 2000. [6] Kim K and Han I: Genetic algorithms approach to feature discretization in artificial neural networks for the prediction of stock price index, vol. 19,2000.

    [7] Chiang W C, Urban T L and Baldridge G W: A neural network approach to mutual fund net asset value forecasting, Omega, Intmgmt Sci, 2000, PP 205-215.

    [8] Black E D: Financial market analysis, second edition, John Wiley and sons, Ltd, New York. PP. 282-287.

    [9] Schumann M and Lohrbach T: Comparing artificial neural networks with statistical methods within the field of stock market prediction, System Sciences, Proceeding of the Twenty-Sixth Hawaii International Conference on, 1993, pp.597-606.

    [10] Yoon Yand Swales G: Predicting Stock Price Performance: A Neural Networks Approach, Proceedings of the IEEE Twenty-Fourth Annual Hawaii International Conference on System Sciences, 1991, pp. 156-162.

    [11] Yoon Y Swales, G Jr. and Margavio T M: A Comparison of Discriminant Analysis Versus Artificial Neural Networks, Journal of the Operational Research Society, vol. 44, 1993, pp. 51-60.

    [12] Garliauskas A: Neural Network Chaos and Computational Algorithm of Forecast in Finance, Proceedings of the IEEE SMC Conference on Systems, Man, and Cybernetics 2, pp. 638-643, 12-15 October 1999.

    [13] Kim K, Hong T and Han I: KnowledgeDiscovery Process In Internet For Effective KnowledgeCreation, Korea Advanced Institute of Science and Technology, 1998.

    [14] Hong T and Han I: Integrated approach of cognitive maps and neural networks using qualitative information on the World Wide Web: KBN Miner, ExpertSystems, vol. 21 no. 5, 2004, pp. 243-252.

    [15] Hong T and Han I: Knowledge-based data mining of news information on the Internet using cognitive maps and neural networks, Expert Systems with Applications, vol. 23, no. 1, 2002, pp. 1-8.

    [16] Fung G P C, Yu J X and Lam W: News Sensitive Stock Trend Prediction, Lecture Notes in Computer Science, vol. 2336, January 2002, pp. 481.

    [17] Kohara K: Selective-Learning-Rate Approach for Stock Market Prediction by Simple Recurrent Neural Network, Lecture Notes in Computer Science, vol 2773, Jan 2003, pp. 141-147.

    [18] Kohara K Ishikawa, T Fukuhara and Nakamura Y: Stock Price Prediction Using Prior Knowledge and Neural Networks, Intelligent System In Accounting, Finance and Management, vol. 6, 1997, pp. 11-22.

    [19] Pui Cheong Fung, G Xu Yu J and Lam W: Stock prediction: Integrating text mining approach using real-time news, Computational Intelligence for Financial Engineering, Proceedings, IEEE International Conference on 2003, pp. 395-402.

    [20] Kohara K Ishikawa, T Fukuhara Y and Nakamura Y: Stock Price Prediction Using Prior Knowledge and Neural Networks, Intelligent System In Accounting, Finance and Management, vol. 6,1997 pp. 11-22.

    [21] Hong T and Han I: Knowledge-based datamining of news information on the Internet using cognitive maps and neural networks, Expert Systems with Applications, vol. 23, no. 1, pp. 1-8.

    [22] Kuo, R J Chen, C H and Hwang Y C: An intelligent stock trading decision support system through integration of genetic algorithm based fuzzy neural network and artificial neural network, Fuzzy Sets and Systems, vol. 118, 2001, pp. 21-45.

    [23] Kuo R J Lee, L C and Lee C F 1996: Integration of Artificial Neural Networks and Fuzzy Delphi for Stock Market Forecasting, IEEE, June, 1998, pp. 1073-1078.

    [24] Fama, E F: Efficient capital markets II,. Journal of Finance. Vol. 47, 1991, pp. 1575-1617.

    [25] Tsibouris G and Zeidenberg M: Testing the Efficient Markets Hypothesis with gradient descent algorithms, In Neural Networks in the Capital Markets, vol. 8,1995, pp 127–136.

    [26] Eyden R J: The Application of Neural Networks in the Forecasting of Share Prices, Finance and Technology Publishing, 1996.

    [27] Fung G P C, Yu J X and Lam W: NewsSensitive Stock Trend Prediction', Lecture Notes in Computer Science, vol. 2336, January 2002, pp. 481.

    [28] Mittermayer M A: Forecasting intraday stock price trends with text mining techniques, System Sciences, Proceedings of the 37th Annual Hawaii International Conference on, 2004, pp. 64-73.

    [29] Yoo Paul, D Kim, Maria H and Jan T: Machine Learning Techniques and Use of Event Information for Stock Market Prediction, International Conference on Computational Intelligence (CIMCA-IAWTIC' 05) 2007

Stock market pattern prediction using perceptron multilayer artificial neural networks