Preview

Stock Market Prediction Using Aritificial Neural Networks

Powerful Essays
Open Document
Open Document
5277 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Stock Market Prediction Using Aritificial Neural Networks
Stock Market Prediction Using Artificial Neural Networks
Tariq Waheed in supervision of Dr. Xiang Cheng Department of Electrical and Computer Engineering, National University of Singapore Engineering Drive 3 Singapore 117576, Email: tariq@nus.edu.sg
Abstract— Stock market is a very dynamic field whose prediction still remains a very challenging task for scholars and veteran traders alike. The study presented in this paper is an attempt to predict the daily and weekly rates of returns of the stock market and compare the results to the return generated by the naïve buy-and-hold strategy. The first part of the study explores the various auto-regressive and neural network models in predicting the daily and weekly S&P 500 index returns solely using the historical index data. It is observed that neural networks perform better than auto-regressive models in predicting the stock market and hence, S&P 500 Index is not a perfect linear time series. The study shows that three-model approach can help to better perform in the task of stock market prediction. The second part of this study uses technical indicators and three-model approach to see if adding more information and trending the data with technical indicators can help to achieve higher returns in stock market as compared to the naïve buy-and-hold strategy. It is observed that Moving Averages are better at giving buy and sell signals in market than Relative Strength Index. A significant observation made from both parts of the study is that weekly returns can be predicted in more confidence than daily returns. The ex-ante testing of the models is done and evaluated after considering the commission costs and using the short-selling strategy which is found to be a profitable strategy. There is an observation that adding more information to the neural network regarding the historical price data can lead to better prediction and hence, higher profits. Index Terms—Hierarchy systems, artificial neural networks, stock market



References: B. G. Malkiel, “A Random Walk Down Wall Street”, W. W. Norton & Company, New York, London (1999). [2] Eugene F. Fama, “Efficient Capital Markets: A Review of Theory and Empirical Work”, Journal of Finance, Vol.25 Issue 2, p383-417 (May 1970). [3] Engene F. Fama, “The Behavior of Stock Market Prices”, Journal of Business, Vol.38 Issue 1, p34-105 (Jan 1965). [4] Sdney S. Alexander, “Price Movements in Speculative Markets: Trends or Random Walks”, Industrial Management Review, Vol. 2 Issue 2, p7-26 (May 1961). [5] Victor Niederhoffer and M. F. M. Osborne, “Market Making and Reversal on the Stock Exchange”, Journal of the American Statistical Association, Vol. 61, p897-916 (Dec 1966). [6] Eugene F. Fama, Lawrence Fisher, Michael Jensen and Richard Roll, “The Adjustment of Stock Market Prices to New Information”, International Economic Review, Vol. X, p1-21 (Feb 1969). [7] Ray Ball and Philip Brown, “An Empirical Evaluation of Accounting Income Numbers”, Journal of Accounting Research, Vol.6 Issue 2, p159-178 (Autumn 1968). [8] Roger N. Waud, “Public Interpretation of Federal Reserve Discount Rate Changes: Evidence on the “Announcement Effect””, Econometrica, Vol. 38 Issue 2, p231-250 (Mar 1970). [9] Micheal Jensen, “The Performance of Mutual Funds in the Period 1945-64”, Journal of Finance, Vol. 23 Issue 2, p389-416 (May 1968). [10] Irwin Friend and Douglas Vickers, “Portfolio Selection and Investment Performance”, Journal of Finance, Vol. 20 Issue 3, p391415 (Sept 1965). [11] S. Basu, “Investment Performance of Common Stocks in Relation to their Price-Earnings Ratios: A Test of the Efficient Market Hypothesis”, Journal of Finance, Vol. 32 Issue 3, p663-682 (June 1977). [12] John P. Shelton, “The Value Line Contest: A Test of the Predictability of Stock-Price Changes”, Journal of Business, Vol. 40 Issue 3, p251269 (July 1967). [1] [13] Werner F.M. De Bondt and Richard Thaler, “Does the Stock Market Overreact?”, Journal of Finance, Vol. 40 Issue 3, p793-805 (July 1985). [14] B. Stein and P. DeMuth, "Yes, You can time the market", Wiley (2003). [15] M. Hashem Pesaran and Allan Timmermann, “Forecasting stock returns: An examination of stock market trading in the presence of transaction costs”, Journal of Forecasting, Vol. 13, p335-367 (Aug 1994). [16] Mitchell M. T., “Machine Learning”, The McGraw-Hill Companies, New York (1997). [17] Simon Haykin, “Neural Networks: A Comprehensive Foundation”, Prentice-Hall, Inc., New Jersey (1999). [18] H. White, “Economic Prediction Using Neural Networks: The Case of IBM Daily Stock Returns” in “Neural Networks in Finance and Investing”, Robert R. Trippi and Efraim Turban, Irwin Professional Pub., Chicago p469-482 (1996). [19] F.S. Wong, “Time Series Forecasting Using Backpropagation Neural Networks”, Neurocomputing, Vol. 2, p147-159 (1990/91). [20] D. Brownstone, “Using Percentage Accuracy to Measure Neural Network Predictions in Stock Market Movements”, Neurocomputing, Vol. 10, p237- 250 (1996). [21] G. Tsibouris & M. Zeidenberg, “Testing the Efficient Market Hypothesis With Gradient Descent Algorithms” in “Neural Networks in the Capital Markets”, John Wiley & Sons Ltd, England (1996) [22] K.S. Narendra and C. Xiang, “Identification of Two Multivariable Systems from Input-Output Data”, Centre for Systems Science, Yale University. [23] Luvai Motiwalla and Mahmoud Wahab, “Predictable Variation and Profitable Trading of US Equities: A Trading Simulation Using Neural Networks”, Computers & Operations Research, Vol. 27, p1111-1129 (2000). [24] Brock W. A., Dechert W. D., Scheinkman J. A. and LeBaron B. D., “A test for independence based on the correlation dimension”, Econometric Reviews, Vol. 15, p197-235 (1996). [25] Tim Chenoweth and Zoran Obradovic, “A Multi-Component Nonlinear Prediction System for the S & P 500 Index”, Neurocomputing, Vol. 10, p275- 290 (1996). [26] Relative Strength Index (RSI), Retrieved January 20, 2007 from StockCharts.Com.Website:http://stockcharts.com/school/doku.php?id =chart_school:technical_indicators:relative_strength_index_rsi

You May Also Find These Documents Helpful

  • Good Essays

    Lee, C.A, Lee C. J. & Lee, F. C. (2009) “Financial Analysis, Planning and Forecasting. Theory and Application. Second Edition. World Scientific Co. Pte. Ltd. Copyrighted material.…

    • 871 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    This article studies the Hurst exponent by developing insight on the price movements in financial markets by taking the Hurst exponent and returns in the stock market and comparing them. This is done to see if the R/S ratios are related to the return generating process in the stock market. They did this by watching the stock market for 10 years. The daily closing prices of different stock indices were taken daily over the ten year span.…

    • 337 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Stock Analysis

    • 2220 Words
    • 9 Pages

    In this assignment I have chosen Apple Inc. to analyze its stock rate and financial statements. The numerical data (APPENDIX I) reflects to the Apple’s stock rate on NYSE from January 18-th to March 2-nd. Data used for this analysis is collected from Yahoo Finance and all the graphs, tables and analytical works are done on Microsoft Excel 2007 by using the Open, High, Low, Close rate of the stock. By researching and evaluating past (2 months) and current data allows me to have proximate idea about the stock trend and would help me to gain informed predictions. Apple Inc.’s business model is completely phenomenon and it might be the only preeminent IT company in the world. Therefore, it was interesting to study how their stock rate fluctuates.…

    • 2220 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    The stock market is often seen as a great predictor of future economic activity. Stock prices reflect the aggregated feelings of each investor who are generally forward-looking. It is even considered a leading indicator by The Conference Board Leading Economic…

    • 1496 Words
    • 6 Pages
    Good Essays
  • Better Essays

    Obtaining a reliable and accurate forecasting of future sales or market behavior is of paramount importance for business people such as policy makers, companies making investment decisions, setting up prices and so on. There are several forecasting methods and they are differently used by different companies to satisfy each one specific needs. Forecasting models companies use depend mainly of factors such as accuracy required, time horizon, availability of data and competent personnel (1995, Colgate, et al).…

    • 1256 Words
    • 4 Pages
    Better Essays
  • Best Essays

    Lo, A. W. and Mackinlay, C. 1988, ‘Stock market prices do not follow random walks: evidence from a simple specification test’, The Review of Financial Studies, vol. 1, no. 1, pp. 41-66, viewed 29 September 2013, Jstor, 2962126.…

    • 1728 Words
    • 6 Pages
    Best Essays
  • Good Essays

    Fama, Eugene F., 1970. “Efficient Capital Markets: A Review and Theory of Empirical Work”, The Journal of Finance, 25(2), 383-417…

    • 1759 Words
    • 8 Pages
    Good Essays
  • Good Essays

    INTRODUCTION: This project aims to research and understand an individual stock price change, Apple (identified as AAPL in the stock exchange market); by studying the statistics generated by market activity (prices) of the stock along with the price changes in Dow Jones Industrial Average (DJIA) and the Dow Jones U.S. Technology Index (DJUSTC). Assuming that the changes in DJIA and DJUSTC could be estimated by market moving economic indicators (e.g. updates of GDP, Jobless claims, Consumer confidence index, etc.), this analysis will help an individual investor to identify patterns and trends that may suggest the daily price change of the AAPL stock.…

    • 402 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Malkiel, B.G., 2003. The Efficient Market Hypothesis and Its Critics. Journal of Economic Perspectives, 17(1), 59-82.…

    • 3400 Words
    • 14 Pages
    Powerful Essays
  • Powerful Essays

    Ball, R. 2003. The Theory of Stock Market Efficiency: Accomplishments and Limitations. Wiley-Blackwell. 4th ed. pp.11-15…

    • 1474 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    Department of Electrical Engineering ChengShiu Institute of Technology Kaohsiung, 833 Taiwan * Department of Engineering Science National Cheng Kung University Tainan, 701 Taiwan + Department of Electrical Engineering National Cheng Kung University Tainan, 701 Taiwan…

    • 3369 Words
    • 14 Pages
    Powerful Essays
  • Powerful Essays

    1. Introduction Stock market prediction is regarded as a challenging task of ÿnancial time-series prediction. There have been many studies using artiÿcial neural networks (ANNs) in this area. A large number of successful applications have shown that ANN can be a very useful tool for time-series modeling and forecasting [24]. The early days of these studies focused on application of ANNs to stock market prediction (for instance [2,6,11,13,19,23]). Recent research tends to hybridize several artiÿcial intelligence (AI) techniques (for instance [10,22]). Some researchers tend to include novel factors in the learning process. Kohara et al. [14] incorporated prior knowledge to improve the…

    • 4964 Words
    • 20 Pages
    Powerful Essays
  • Powerful Essays

    Bibliography: Abreu D., Brunnermeier M. (2002), “Synchronization risk and delayed arbitrage”, Journal of Financial Economics, Vol. 66, 2-3, p. 341-360 Barber B., Odean T. (2001), “Boys will be Boys: Gender, Overconfidence, and Common Stock Investment”, Quarterly Journal of Economics, Vol. 141, 2, p. 261-292 De Long B., Shleifer A., Summers L., Waldmann R. (1991), “The Survival of Noise Traders in Financial Markets”, Journal of Business, Vol. 64, 1, p. 1-19 Edwards W., (1968), “Conservatism in Human Information Processing”, in: Klienmutz B. (red.), Formal Representation of Human Judgment, New York: Wiley, p. 17-52 Fama E. (1970), “Efficient Capital Markets: A Review of Theory and Empirical Work”, Journal of Finance, Vol. 25, 2, p. 383-417 Fama E., French K. (1992), “The Cross-Section of Expected Stock Returns”, Journal of Finance, Vol. 47, 2, p. 427-465 Fama E., French K. (1993), “Common Risk Factors in the returns of stocks and bonds”, Journal of Financial Economics, Vol. 33, 1, p. 3-56, Fama E., French K. (1996), “Multifactor Explanations of Asset Pricing Anomalies”, Journal of Finance, Vol. 51, 1, p. 55-84 Froot K., Dabora E. (1999), “How Are Stock Prices Affected by the Location of Trade?”, Journal of Financial Economics, Vol. 53, 2, p. 189-216 Kahneman D., Tversky A. (1974), “Judgment Under Uncertainty: Heuristics and Biases”, Science, 185, p. 1124-1131 Kahneman D., Tversky A. (1979), “Prospect Theory: An Analysis of Decision Under Risk”, Econometrica, Vol. 47, 2, p. 263-292 Lamont O., Thaler R. (2003), “Can the Market Add and Subtract? Mispricing in Tech Stock CarveOuts”, Journal of Political Economy, Vol. 111, 2, p. 227-269 Lee C., Shleifer A., Thaler R. (1990), “Anomalies: Closed-End Mutual Funds”, Journal of Economic Perspectives, Vol. 4, p. 153-164 Lee C., Shleifer A., Thaler R. (1991), “Investor Sentiment and the Closed-End Fund Puzzle”, Journal of Finance, Vol. 46, 1, p. 76-110 Lintner J. (1965), “Security Prices, Risk and Maximal Gains from Diversification”, Journal of Finance, December Issue Markowitz H. (1952), “Portfolio Selection”, Journal of Finance, Vol. 7, 1, p. 77-91 Mossin J. (1966), “Equilibrium in a Capital Market”, Econometrica, October Issue Odean T. (1998b), “Volume, Volatility, Price, and Profit When All Traders Are Above Average”, Journal of Finance, Vol. 53, 6, p. 1887-1934 Petty R., Gleicher F., Baker P. (1991), “Multiple Roles for Affect in Persuasion”, in: Forgas J. (ed.), Emotion and Social Judgments, Oxford: Pergamon, p. 181-200 Saunders E. (1993), “Stock Prices and Wall Street Weather”, American Economic Review, Vol. 83, 5, p. 1337-1345…

    • 5737 Words
    • 23 Pages
    Powerful Essays
  • Satisfactory Essays

    We demonstrate that artificial neural network model is more convenient for Mongolian banks’ credit risk management than other econometric models due to the models’ evaluation and forecast accuracy. Therefore, we recommend Mongolian banks and financial institutions to apply ANN model to forecast credit risk and to hedge risk.…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    INTRODUCTION In an environment where market participants, traders and analysts do not trust accounting statements, or where accounting information is difficult to access, or accounting rules are being applied arbitrarily it is advisable not to entirely depend on them. While accounting statements can help one understand revenue, cost, cash flows and financing structure it is the mistrust in how these numbers are derived that prompts one not to rely on the published results. In situations like these additional techniques are required to analyse and make predictions on a stock. One technique that analyst have depended on is technical analysis. Technical analysis argues that the market is its own best predictor and information (fundamentals) trickle to the market at various rates and once a trend develops it is likely to continue unless something major disrupts the trend; it is only the studious analyst who can beat the market. Technical analysis methods include Fibonacci analysis, moving average analysis, and relative strength index analysis, beta analysis among others. In this model we attempt to predict ZSE stock movements using CAPM (beta) analysis. MODEL DEVELOPMENT The CAPM model asserts that the value of a stock is a function of the risk free rate, beta of a stock and stock market risk premium. Estimating risk free rate In developed economies the risk free rate is easy to estimate, it is treasury bill (bond) rate since it is assumed that government can never default- it can just print money to payback the borrowings. In developing economies, financial markets are not developed on the run treasury bonds might not be in existence. The economy exhibits various risks such as inflation, economic growth, capital flight; all this can affect the government creditworthiness, thus making it difficult to use treasury bills (bonds) rate as risk free rate. The risk free rate thus is a function of economic growth and the amount of inflation that is associated with such…

    • 985 Words
    • 4 Pages
    Powerful Essays