Stock Market Forecasting Using Artificial Neural Networks

Similar documents
Course Objectives. This course gives a basic neural network architectures and learning rules.

Stock Price Prediction Using Multilayer Perceptron Neural Network by Monitoring Frog Leaping Algorithm

MAGNT Research Report (ISSN ) Vol.6(1). PP , Controlling Cost and Time of Construction Projects Using Neural Network

Time and Cost Analysis for Highway Road Construction Project Using Artificial Neural Networks

MINE 432 Industrial Automation and Robotics

Introduction to Artificial Intelligence. Department of Electronic Engineering 2k10 Session - Artificial Intelligence

CONSTRUCTION OF FOREWARNING RISK INDEX SYSTEMS OF VENTURE CAPITAL BASED ON ARTIFICIAL NEURAL NETWORK

DRILLING RATE OF PENETRATION PREDICTION USING ARTIFICIAL NEURAL NETWORK: A CASE STUDY OF ONE OF IRANIAN SOUTHERN OIL FIELDS

Artificial Intelligence Elman Backpropagation Computing Models for Predicting Shelf Life of. Processed Cheese

ARTIFICIAL INTELLIGENCE IN POWER SYSTEMS

Neural pattern recognition with self-organizing maps for efficient processing of forex market data streams

Eur Ing Dr. Lei Zhang Faculty of Engineering and Applied Science University of Regina Canada

Application of Soft Computing Techniques in Water Resources Engineering

The Use of Neural Network to Recognize the Parts of the Computer Motherboard

Computational Intelligence Introduction

A Comprehensive Study of Artificial Neural Networks

Impulse Noise Removal Based on Artificial Neural Network Classification with Weighted Median Filter

COMPARATIVE STUDY ON ARTIFICIAL NEURAL NETWORK ALGORITHMS

Knowledge Enhanced Electronic Logic for Embedded Intelligence

CSC384 Intro to Artificial Intelligence* *The following slides are based on Fahiem Bacchus course lecture notes.

Toward AI Network Society

Artificial neural networks in forecasting tourists flow, an intelligent technique to help the economic development of tourism in Albania.

Artificial Neural Networks. Artificial Intelligence Santa Clara, 2016

Artificial Neural Networks

Vol. 2, No. 6, July 2012 ISSN ARPN Journal of Science and Technology All rights reserved.

Neuro-Fuzzy and Soft Computing: Fuzzy Sets. Chapter 1 of Neuro-Fuzzy and Soft Computing by Jang, Sun and Mizutani

What is matter, never mind What is mind, doesn t matter. Or Does it!!??

THE INTERNATIONAL COMPETITIVENESS OF ECONOMIES IN TRANSITION THE UNTAPPED POTENTIAL: A CHALLENGE FOR BUSINESS AND GOVERNMENT BELARUS

Using of Artificial Neural Networks to Recognize the Noisy Accidents Patterns of Nuclear Research Reactors

Kazakhstan Way of Innovation Clusterization K. Mukhtarova Al-Farabi Kazak National University, Almaty, Kazakhstan

10/4/10. An overview using Alan Turing s Forgotten Ideas in Computer Science as well as sources listed on last slide.

Forecasting Exchange Rates using Neural Neworks

ANALYSIS OF CITIES DATA USING PRINCIPAL COMPONENT INPUTS IN AN ARTIFICIAL NEURAL NETWORK

Evolutionary Artificial Neural Networks For Medical Data Classification

To be published by IGI Global: For release in the Advances in Computational Intelligence and Robotics (ACIR) Book Series

Sonia Sharma ECE Department, University Institute of Engineering and Technology, MDU, Rohtak, India. Fig.1.Neuron and its connection

Keywords : Simulated Neural Networks, Shelf Life, ANN, Elman, Self - Organizing. GJCST Classification : I.2

SMART CITY: A SURVEY

NEURAL NETWORK DEMODULATOR FOR QUADRATURE AMPLITUDE MODULATION (QAM)

EVALUATING THE CONCEPT OF OWNERSHIP INIRANIAN OIL AND GAS LAW

Automatic Generation Control of Three Area Power Systems Using Ann Controllers

Chapter 1: Introduction to Neuro-Fuzzy (NF) and Soft Computing (SC)

Prediction of Missing PMU Measurement using Artificial Neural Network

Image Processing and Artificial Neural Network techniques in Identifying Defects of Textile Products

Available online at ScienceDirect. Procedia Computer Science 85 (2016 )

ISSN: [Jha* et al., 5(12): December, 2016] Impact Factor: 4.116

On Intelligence Jeff Hawkins

Analysis of Economic Data

Practical Comparison of Results of Statistic Regression Analysis and Neural Network Regression Analysis

Application of ANN to Predict Reinforcement Height of Weld Bead under Magnetic Field

Automatic Locating the Centromere on Human Chromosome Pictures

NEWS RELEASE FOR WIRE TRANSMISSION: 8:30 A.M. EDT, FRIDAY, APRIL 17, William Zeile: (202) BEA 09-14

HUMAN-LEVEL ARTIFICIAL INTELIGENCE & COGNITIVE SCIENCE

OECD WORK ON ARTIFICIAL INTELLIGENCE

Live Hand Gesture Recognition using an Android Device

A Comparison of Particle Swarm Optimization and Gradient Descent in Training Wavelet Neural Network to Predict DGPS Corrections

TABLE OF CONTENTS TABLE OF CONTENTS

International Journal of Scientific & Engineering Research, Volume 4, Issue 12, December-2013 ISSN

Image Finder Mobile Application Based on Neural Networks

Disrupting our way to a Very Human City

Swiss Re Institute. September 2018 Dr. Jeffrey R. Bohn

Thursday, December 11, 8:00am 10:00am rooms: pending

Neural Network Application in Robotics

Fundamentals of Industrial Control

PREDICTION OF CRUDE OIL VISCOSITY USING FEED-FORWARD BACK- PROPAGATION NEURAL NETWORK (FFBPNN)

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Potential of artificial neural network technology for predicting shelf life of processed cheese

Updates on latest Thailand s Investment Promotion Policy

The Investigation of EDM Parameters on Electrode Wear Ratio

Creating a Poker Playing Program Using Evolutionary Computation

Introduction to Machine Learning

Prediction of Compaction Parameters of Soils using Artificial Neural Network

Comparison of MLP and RBF neural networks for Prediction of ECG Signals

This list supersedes the one published in the November 2002 issue of CR.

The Role of Science and Technology Parks in Productivity of Organizations

The Nature of Science

EPILEPSY is a neurological condition in which the electrical activity of groups of nerve cells or neurons in the brain becomes

SPE A software tool based on this methodology has been developed for a gas storage field in Ohio.

SMARTPHONE SENSOR BASED GESTURE RECOGNITION LIBRARY

BRAZIL S COMPETITIVENESS CHALLENGES VIEWED FROM ITS COMPANIES

Neural Networks Fuzzy Logic And Genetic Algorithms By Rajasekaran Download

Prediction of airblast loads in complex environments using artificial neural networks

Low Power Wireless Sensor Networks

FROM BRAIN RESEARCH TO FUTURE TECHNOLOGIES. Dirk Pleiter Post-H2020 Vision for HPC Workshop, Frankfurt

Fault Diagnosis of Analog Circuit Using DC Approach and Neural Networks

CSE 473 Artificial Intelligence (AI) Outline

IMPLEMENTATION OF NEURAL NETWORK IN ENERGY SAVING OF INDUCTION MOTOR DRIVES WITH INDIRECT VECTOR CONTROL

Yorkville Seasoned MLP Investment Team Recognized Experts

Fault Diagnosis of Electronic Circuits Based on Matlab

Design of a CMOS OR Gate using Artificial Neural Networks (ANNs)

An Uneven Planet. Globalization, Capital, & Inequality in the 21 st Century

Law, Economics, Political Science, and Public Policy. Associate Professor F. Scott Kieff School of Law

Economic & Real Estate Outlook. Tax Reform. Michigan 4/26/18

Artificial Intelligence: An overview

بسم اهلل الرحمن الرحيم. Introduction to Neural Networks

AN IMPROVED NEURAL NETWORK-BASED DECODER SCHEME FOR SYSTEMATIC CONVOLUTIONAL CODE. A Thesis by. Andrew J. Zerngast

Performance Improvement of Contactless Distance Sensors using Neural Network

Modelling and Simulation of Tactile Sensing System of Fingers for Intelligent Robotic Manipulation Control

Keywords: Power System Computer Aided Design, Discrete Wavelet Transform, Artificial Neural Network, Multi- Resolution Analysis.

China Ophthalmic Hospital Industry Report, May 2013

Transcription:

European Online Journal of Natural and Social Sciences 2013; www.european-science.com Vol.2, No.3 Special Issue on Accounting and Management. ISSN 1805-3602 Stock Market Forecasting Using Artificial Neural Networks Parsinejad Shahbaz *1, Bagheri Ahmad 2, Ebrahimi Atani Reza 3 and Javadi Moghaddam Jalal 2 *1 Information Technology Engineering, Electronic Trade, University of Guilan, Paradise Faculty, parsinejads@yahoo.com 2 Department of Mechanical Engineering, University of Guilan 3 Department of Computer Engineering, University of Guilan Abstract Forecasting events have always been of great interest for human beings. The basic example of this process is forecasting the weather and environmental disasters. Forecasting is the process of collecting information in order to complete and expand them suitably for future. Today, globalization of economic and competes in this regard for observing investors and recognition of profit making and trusting markets, such as currency and stock market, which are highly complex, is one of the most important umbrages of investors. For forecasting in capital markets such as stock or currency, there exist different methods, like, regression, time series, genetics algorithm and fundamental analysis. From non-liner methods which might be used in different forecasting bases are Artificial Neural Networks ANN. ANN are one of the newest inventions of mankind which are used in variety of different scientific fields. Use of investors of technology and computer algorithms for forecasting has caused more profit and better business opportunities. ANN is a part of dynamic systems which by processing on data of time series, drive the roles and science of these data and register it with the structure of the network. This system is based on computational intelligence which copies the human s mind feature in processing. In this survey, besides discussing the ANN for analyzing and processing data and also studying new methods, it is concluded that ANN are an appropriate model for forecasting capital markets such as stock and currency. Keywords: Artificial Neural Networks (ANN), Capital Market, Processing, Ability to Learn, Forecasting. Introduction Forecasting shares in markets such as stock is of great importance among investors and analysis of this field, Complexity of stock markets and being it effected by political and economical and social events has made the process of forecasting even more difficult (Fagner et al., 2013). In the last two decades most researchers and surveyors have faces to ANN for predicting this market (Jonathan and Ticknor, 2013). The ability of these networks to drive pattern from data is one of the reasons of tendency of surveyors to these networks. History of Neural Networks - 1940s Creation of Neural Networks at the outset of 40s by Waren Mc Clatch and Walts has been occurred, They designed networks which were the very first neural networks, these surveyors have found out that increase in neurons causes an increase in the computational capability, one of the features of Mc Clatch-Pitz neuron is that when the network input to a neuron is more than threshold 2404

Parsinejad Shahbaz, Bagheri Ahmad, Ebrahimi Atani Reza, Javadi Moghaddam Jalal of that neuron, then that unit of neuron is infused, the networks based on this type of structure are used as logical circuits (Laurent and Faustt, 1993). - 1950s-1960s This decade is known as the golden decade of neural networks. Frank Ronbalt and a few other researchers have presented and expanded neural networks as Pros Petron Networks (Laurent and Faustt, 1993). - 1970s This decade is called as the silent decade of this theory, Minisky and Papert have determined some limitations for Mono-Layer Pros Petron networks, these limitations have caused a decrease in fans of the theory, and one of the limitations was the unsuccessfulness of mono-layer Pros Petron in computing simple functions such as XOR. However the researches on neural networks were still on (Laurent and Faustt, 1993). - 1980s In this decade are-interest to neural networks has raised, John Hopfield, winner of Nobel Prize in the field of Physics and the member of Californian Institute of Technology played an important role in recognition and re-attention of neural networks (Laurent and Faustt, 1993). Natural Neural Networks There exists a great similarity between the structure of an artificial nerve a natural nerve (brain Cell) each natural neuron consists of Dandride, Soma, Axon. Understanding a natural neuron gives us a great cognition for understanding an artificial neuron. Dandrids which are of a vast majority receive signals from other neurons and these signals which are produced from a chemical process make electrical pulse and this chemical process might be effective on the frequency of the received signal, this process is exactly like the process which takes place in artificial neural networks by weights (Laurent and Faustt, 1993). Figure 1. A sample of a natural neuron. Structure of Artificial Neural Network In figure, 2 the input scalar (P) is multiplied to scalar (w) weight and then is sent to the addup operator, the best input is (1) which is multiplied to deviance (b) and then is sent to add-up operator and the output add-up is (N) which is sent to mobile function of (F) to gain the output neuron of (a) finally, By comparing this network with the biological sample it can be concluded that weight (w) is in accordance with synapses, the add-up operator is in accordance with body of the Openly accessible at http://www.european-science.com 2405

Special Issue on Accounting and Management cell and the neuron output (a) is in accordance with Axon (Martin T. Hagan et al., 2002). Samples of neural networks are shown in figures 3 and 4. Figure 2. Mono input neuron. Figure 3. A sample of a neural network with 3 inputs and 2 outputs. Figure 4. Another sample of a neural network. Examples of Neural Network Functions - Processing Signals ANN is of great functionality with regard to processing signals, one of this functions regarding processing signals is to remove the noise of telephone lines which is still used. The Adeline network is a kind of network which is used for achieving this objective (Lu Xi et al., 2014). -Medical Science One of the samples of neural networks functions in medicine was done by Anderson and colleagues in mid 1980s (Laurent and Faustt, 1993). Openly accessible at http://www.european-science.com 2406

Parsinejad Shahbaz, Bagheri Ahmad, Ebrahimi Atani Reza, Javadi Moghaddam Jalal Today considering the vast capacity of medical data and their complexity, the need for a functional tool for driving valuable science, hidden in these types of data for recognition and predicting the disease and treatment can be effective. Using neural networks which are introduced for predicting the disease can do the predicting process of the diseases more precise those simple present methods (Nima Torbati et al., 2014). - Business Neural network has great functions in business; we may note the company of Nestor which used these networks for evaluation of loans given to its customers (Laurent and Faustt, 1993). If neural networks are trained in a proper manner they can be used better than statistical models which exist in the field of business, in 1996 two researchers named Tafler and Trigers noted the role of methodology of neural networks in accounting and concluded that this is a better model for accounting during their survey (Moosmayer et al., 2013). Materials and Methods In this survey we aim to forecast the shares of Iran Khodro, using ANN, for this kind of forecast a time series is needed which these data are collected from the Statistic Organization of Iran. This forecast takes place using MATLM Software, data are studied from year 1996 to 2004 using sampling of neural networks, in this sampling 22 data are set as input and 4 as output. Figure 5 are the daily data regarding the latest prices of Irankhodro shares at stock market of Tehran, figure 6 shows the transaction capacity of Irankhodro shares at Stock market of Tehran. Figure 5. The latest changes in stock price changes of Iran Khodro from 1995-2013 which is registered in a daily manner. 250000000 200000000 150000000 100000000 50000000 0 series2 4/31/1995 12/6/1995 7/22/1996 2/24/1997 9/22/1997 4/17/1998 1/11/1999 8/11/1999 3/22/2000 11/16/2000 7/16/2001 3/1/2002 10/8/2002 5/15/2003 12/23/2003 8/19/2004 3/30/2005 11/18/2005 7/19/2006 4/6/2007 12/26/2007 9/13/2008 9/4/2009 4/2/2010 10/25/2010 7/23/2011 3/22/2012 12/20/2012 Figure 6. The transferred capacity of Iran Khodro shares in Tehran's stock market from 1995 to 2013 min a daily manner. Openly accessible at http://www.european-science.com 2407

Special Issue on Accounting and Management Results and Discussion - Input Data In input data the economical effects of these data on the shares of Iran khodro is discussed. Input data X 1 X 2 X 3 X 4 X 5 X 6 X 7 X 8 X 9 X 10 X 11 X 12 X 13 X 14 X 15 X 16 X 17 X 18 X 19 X 20 X 21 X 22 Table 1. Input information. Name of the considered data from 1996 to 2004 As the data of year The unemployment rate of youth The value of external basic materials used Ratio of educated-employed individuals to total employed individuals The number of industrial permits Ration of investment to added value Added value Production value of industrial workplaces Insured individuals by social security organization Income from oil and gas Liquidity Ration of investment to added-value The value of industrial work places export Value of trading (import) Value of trading (export except oil) Rate of American dollar Annual percentage of inflation Price of golden coin Number of international passengers enter the air port Number of construction permits issued by municipality Shortage of budget of government The index of goods price and services in use in urban zones of Iran - Output Data Output data are those kinds of data which receive response as per the input data of the neural network. - Sampled Model of Neural Network This model consists of 3 layers, the first layer includes 22 neurons, middle layer includes 9 neurons, and the output layer includes 4 neurons. This neural network starts to learn, considering the received inputs and data at the output, In this sampling the results repeat every 50 times and the rate of training is regulated on 0.005, the learning algorithm is regulated on TRAIN GD, in figure 7 an example of this sampling is presented by MATLAB software. Openly accessible at http://www.european-science.com 2408

Parsinejad Shahbaz, Bagheri Ahmad, Ebrahimi Atani Reza, Javadi Moghaddam Jalal Output data Y 1 Y 2 Y 3 Y 4 Table 2. Output information. Name of the considered data from 1996 to 2004 The latest price if Iran Khodro shares Changers in price of shares of Iran Khodro The lowest Price of Iran Khodro shares Higher Price of Iran Khodro shares Figure 7. Sampled model of neural network. Normalizing Input Data To improve the function of network which usually takes place before the network training, data s are normalized. This is done to drive the features of data, in this sampling the following formula is used for normalizing data. X n =(X 0 X)/ S Which X n, X 0, X, S are normalized data, original data, medium of data, deviation respectively. Accuracy of Forecasting To reach the accuracy of forecasting mean square of errors (MSE) is used. MSE= (1) In this formula (1 ), n is the number of forecasting and errors, square of errors shows how much that the sampled neural network was successful in learning data and to what extent the output of net work is close to reality. In figure 8, the more data are placed over each other shows that the neural network is trained better. In figure 9 we discussed an interval of figure 8 which shows the network training, figure 10 shows that the more data are close to line the network has passed training more successfully. Conclusion With respect to the presented neural network model in this survey, we may conclude that, neural networks comparing to other forecasting methods such as Arima, and considering the capabilities of artificial neural network in learning, errors can be minimized tangibly using these networks. Openly accessible at http://www.european-science.com 2409

Special Issue on Accounting and Management The MSE gained with this method is proper and the shares of Iran khodro in Stock market can be discussed using this method and necessary decisions shall be made while sudden swings happen. This is a method for proper decision making and investment tool in economical fields of country. Figure 8. Trained data. Figure 9. A part of trained data Figure 10. Another type of trained data. Openly accessible at http://www.european-science.com 2410

Parsinejad Shahbaz, Bagheri Ahmad, Ebrahimi Atani Reza, Javadi Moghaddam Jalal References Dirk C. M., Alain Yee-Loong Chong, Martin J. L., & Bjoern S. (2013). A neural network approach to predicting price negotiation outcomes in business-to-business contexts. Journal of Expert Systems with Applications, 40, 3028 3035. Fagner A. de Oliveira, Cristiane N. Nobre, & Luis E. Zarate. (2013). Applying Artificial Neural Networks to prediction of stock price and improvement of the directional prediction index Case study of PETR4, Petrobras, Brazil. Journal of Expert Systems with Applications, 40, 7596 7606. Laurent V. F. (1993). Fundamentals of Neural Networks: Architectures, Algorithms and Applications, Pearson. Lu X., Hou M., Moon H. L., Jun L., Duan W., Han H., & Yalin W. (2014). A new constructive neural network method for noise processing andits application on stock market prediction. Journal of Applied Soft Computing, 15, 57 66. Martin T. H., Howard B. D., & Mark H. Be. (2002). Neural Network Design. Martin Hagan. Jonathan L. Ticknor. (2013 ). A Bayesian regularized artificial neural network for stock market Forecasting. Journal of Expert Systems with Applications, 40, 5501 5506. Torbati, N., Ayatollahi, A., & Kermani, A. ( 2014). An efficient neural network based method for medical image segmentation. Journal of Computers in Biology and Medicine, 44, 76 87. Openly accessible at http://www.european-science.com 2411