Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Integrated Intelligent Research(IIR) International Journal of Business Intelligent

Volume: 04 Issue: 01 June 2015,Pages No.22- 25


ISSN: 2278-2400

Prediction of Stock using Artificial Neural


Networks (A Survey)
G.Sundar1, K.Satyanarayana2
1
Research Scholar, Bharath University, Chennai
Principal &Prof, Dept of Computer Science,Sindhi College,Chennai
Email: sundarganapathy66@gmail.com, ks62@rediffmail.com

Abstract-Supreme prediction of stock price revolutionizes is inputs and after processing with an activation function called
vastly tricky and momentous information for investors. The transfer function yields a distinct output. The most commonly
use of artificial neural networks has found a variegated field of used transfer functions include, the hardlimit, the purelinear,
applications in the present world. This has led to the develop- the sigmoid and the tan sigmoid function.ANNs are considered
ment of various models for financial markets and investment. nonlinear statistical data modeling tools where the complex re-
To outline the design of Artificial Neural Network model with lationships between inputs and outputs are modeled or patterns
its features and various parameters. Investors need to under- are found.
stand that stock price data is the most important information
which is highly impulsive,a non-parametric and are affected
II. ARTIFICIAL NEURON NETWORK
by many suspicions an interrelated economic and political fac-
tor across the globe. Neural Networks can be used as a better An artificial neuron network (ANN) is a computational model
substitute technique for forecasting the daily stock market based on the structure and functions of biological neural net-
prices. This study demonstrates the literature analysis of works. Information that flows through the network affects the
prophecy in stock market. structure of the ANN because a neural network changes - or
learns, in a sense - based on that input and output.
Keywords: Artificial Neural Networks (ANNs), Forecasting,
Stock Price, Prediction methods

I. INTRODUCTION
Artificial Neural Network(ANN)conceptions used over the last
few years and applied to different problem domains as finance,
medicine,manufacturing,geology and physics. Stock market is
one of the major investments for backer for the past 20 years.
The Bombay Stock Exchange (BSE) is one of the India’s major
stock exchange and the oldest exchanges across the world. To
guess the closing price of stock market with reference to some
companies listed under BSE using artificial neural network
many methods have been made on stock market to predict the
stock prices. ANN helped researcher in developing many
model using deep-rooted, technical and time series in forecast-
ing the competitive predictions of stock price for the in-
vestors.The ANNs have the ability to determine the nonlinear
Figure 1
relationship in the input data set without a priori assumption of
Formation of ANN
familiarity of relation between the input and theoutput. Hence
ANNs match well than any other reproduction in predictthe In Figure 1 various inputs to the network are represented by the
stock price.Neural Network is extremely appropriate for resem- mathematical symbol, x(n). Each of these inputs is multiplied
bling Fuzzy Controllers and other types of Fuzzy Expert Sys- by a connection weight. These weights are represented by w(n).
tems. The concept of Artificial Neural Network (ANN) begins In the simplest case, these products are simply summed, fed
with the functions of human brain. Human brain consists of ap- through a transfer function to generate a result, and then output.
proximately 10 billion neurons (nerve cells) and 6000 times as This process lends itself to physical implementation on a large
many connections between them. ANN as motivated by bio- scale in a small package. This electronic implementation is still
logical nervous systems, process information supplied, with a possible with other network structures which utilize different
large number of highly interconnected processing neurons. summing functions as well as different transfer functions.
ANN may be considered as a data processing technique that
A. Layers in ANN
maps or relates some type of input stream of information to an
output stream of data.ANN consists of neurons (nodes) distrib- ANNs have three layers that are interconnected. The first layer
uted across layers. The way these neurons are distributed and consists of input neurons. Those neurons send data on to the
connected with each other defines the architecture of the net- second layer, which in turn sends the output neurons to the
work. The connection between the neurons is attributed by a third layer.
weight. Each neuron is a processing unit that takes a number of
22
Integrated Intelligent Research(IIR) International Journal of Business Intelligent
Volume: 04 Issue: 01 June 2015,Pages No.22- 25
ISSN: 2278-2400
proach, but both methods resulted in almost identical error
rates. Back-propagation was slightly more accurate, making
one more correct prediction than did conjugate-gradient.
C.Basic Features of ANN
1. High computational rates due to massive parallel
processing.
2. Fault tolerance is high as damage to few nodes doesn’t
significantly effect the overall performance.
3. With Learning and Training feature the network adopts
itself based on the information received by it in the past
environment.
4. ANN’s feature Goal seeking where the performance to
Figure 2 Layers in ANN achieve the goal is measured and is used to self organizes
the system.
Figure. 2A shows a neuron. The activation function is usually 5. They are Primitive Computational Elements as each
non linear, with a sigmoid shape (e.g., logistic or hyperbolic element resembles one simple logical neuron and it
tangent function). A simple network having the universal ap- cannot do much.
proximation property (i.e., the capability of approximating a D. Objective of Neural Network:
non linear map as precisely as needed, by increasing the num-
ber of parameters) is the feed forward MLP(Multi Layer Per- The artificial neural network is composed of many artificial
ceptron) with a single hidden layer, shown in Figure. 2B. neurons that are linked together according to specific network
architecture. The objective of the neural network is to trans-
B. Methods of ANN Learning form the inputs into meaningful outputs.
Learning based solutions can becategorized as:
Supervised or associative learning. Where the net is trained by
quantifying input, as well as matching output patterns.These in-
put/output pairs may either be provided by an external teaching
component, or by the net itself (self-supervisedapproach).

Unsupervised learning (self-organizing paradigm). Where the


net (output) unit is trained to respond to clusters ofpattern
within the input framework. In this paradigm, the system is
supposed to discover statistically salient features ofthe input Figure 3 Objective of Neural Network
population. Compared to the supervised learning method, there
is no a priori set of categories into which thepatterns are to be The artificial neuron given in figure 3 has N input, denoted as
classified, rather the system has to develop its own representa- x1, x2,…..xm. Each line connecting these inputs to the neuron is
tion of the input stimuli. For supervisedand unsupervised learn- assigned a weight, which is denoted as w1, w2, ….wmrespec-
ing methods, basically all the learning rules reflect a variant of tively. Weights in the artificial model correspond to the synap-
the Hebbian learning rule. tic connections in biological neurons. The threshold in artifi-
cial neuron is usually represented by θ and the activation
Reinforcement Learning. Where the net applies a learning Фcorresponding to the graded potential is given by the for-
paradigm that is considered an intermediate form of theabove mula:
2 types of learning. In this method, the learning machine
executes some action on the environment, and as aresult,
receives some feedback/response. The learning component
grades its action (as either good or bad) based on
theenvironmental response, and adjusts its parameters
accordingly. Generally speaking, the parameter adjustment
processis continued until an equilibrium state surfaces where III. STOCK MARKET PREDICTION 
no further adjustments are necessary
It is the act of trying to determine the future value of a com-
Back-propagation and the conjugate-gradient method(also pany stock or other financial instrument traded on an exchange.
known as MLP –Multi Layer Perceptron) work by iteratively The successful prediction of a stock's future price could yield
training the network using the presented training data. On each significant profit. The efficient-market hypothesis suggests that
iteration (or epoch), the entire training set is presented to the stock price movements are governed by the random walk hy-
network, one case at a time. In order to update the weights a pothesis and thus are inherently unpredictable. Others disagree
cost function is determined in terms of the weights and its de- and those with this viewpoint possess a myriad of methods and
rivative (or gradient) with respect to each weight is estimated technologies which purportedly allow them to gain future price
[10]. Weights are updated following the direction of steepest information. When applied to a particular financial instrument,
descent of the cost function. A common cost function and the the random walk hypothesis states that the price of this instru-
one used in this work is the Root Mean Squared ( RMS) error. ment is governed by a random walk and hence is unpredictable.
During experimentation with the two methods back-propaga- If the random walk hypothesis is false then there will exist
tion was a little slower to learn that the conjugate-gradient ap- some (potentially non-linear) correlation between the instru-
23
Integrated Intelligent Research(IIR) International Journal of Business Intelligent
Volume: 04 Issue: 01 June 2015,Pages No.22- 25
ISSN: 2278-2400
ment price and some other indicator(s) such as trading vol- Gitansh khirbat ,rahul gupta,sanjay singh,in [2]takes into
umeor the previous day's instrument closing price. If this corre- account factors like Earnings Per Share (EPS) and public confi-
lation can be determined then a potential profit can be made.A dence and introduces an empirically defined neural network ar-
stock market is a public market for trading the company’s chitecture which gives an optimized structure for predicting the
stocks and derivative at an approved stock price. These are future value of a stock by extrapolating the near future value by
called securities, listed on a stock exchange as well as an in- the present value comparisons. The experimental results ob-
vestor traded privately. In the stock market also known as sec- tained after the training and testing of the financial data are
ondary market is monitored by a regulatory body called SEBI very promising. This increase in accuracy of our financial pre-
(Security and Exchange Board of India). It depends upon the diction is due to the factors incorporated for forecasting which
demand and supplies the prices are vary. The price will high can give a clear binary classification for buying or withholding
when the demand is high, when the share is heavy to sell the the stock in the current market scenario.
decrease the price. This type of transaction is called trading and
the companies, which are permitted to do the trading, are called Binu Nair, Patturajan, M. ; Mohandas, V. in [3] compares
“Listed companies”. the effectiveness of different types of Adaptive network archi-
tectures in one-step ahead prediction of the daily returns of
Bombay Stock Exchange Sensitive Index (SENSEX). The per-
IV. USING ANNS IN FORECASTING STOCK PRICES
formance of each network is evaluated using 17 different per-
An Artificial Neural Network is foundationon a data processing formance measures to find the best network architecture. Also,
system consisting of a large number of simple highly intercon- an empirical evaluation of the weak form of Efficient Market
nected processing elements in an architecture inspired by the Hypothesis (EMH) for the data in reference is carried out here.
structure of the cerebral cortex of the brain. A neural network
is a extraordinarilysimilarscattered process that has a natural R.K. and Pawar D.D. in [4] predicated the stockrate because it
tendency for storing experiential knowledge and making it is a challenging and daunting task tofind out which is more ef-
available for use. ANNs are among the most effective learning fective and accuratemethod so that a buy or sell signal can be
methods to learn and interpret complex real-world sensor data. generatedfor given stocks. Predicting stock index withtradi-
The learning methods are classified into three categories i.e. su- tional time series analysis has proven to bedifficult an artificial
pervised learning,unsupervised learning and reinforced learn- neural network may be suitablefor the task. Neural network has
ing. The basic classes of networks namely, single layer feed the ability toextract useful information from large set of data.
forward network,multilayer feed forward network and recurrent Inthis paper the author also presented a literaturereview on ap-
network.An ANNs is able to form decision or achieve stable plication of artificial neural network instock market Index pre-
configuration patterns, even if it is given “fuzzy” or incomplete diction.
information.The following information’s of ANNs create them
valuable and attractive for a forecasting job. Halbert white in [5] reported some results of anon-going
project using neural network modelingand learning techniques
 It gives the ability to learn fromexperience and provides a to search for and decodenonlinear regularities in asset price
realisticpossible way to solve real worldproblems. movements.Author, focus on case of IBM common stock dai-
 ANNs can generalize and correctly infer the unseen part lyreturns. Having to deal with the prominent features ofeco-
of the data evenif the sample data contain nomic data highlights the role to be played bystatistical infer-
noisyinformation with least principle. ence and requires modifications tostandard learning techniques
 ANN’s universal functional approximates and provides a that may prove usefulin other contexts.
continuous function for a desired accuracy.
 ANN has the capacity of performing nonlinear modeling Jing Tao Yao and chew Lim tan in [6] usedartificial neural
without priori knowledge about the relationship between networks for classification,prediction and recognition. Neural
input and output variables. Therefore ANNs are a more network trainingis an art. Trading based on neural network out-
general and flexible modeling tool for forecasting. puts,or trading strategy is also an art. Authors discuss aseven-
step neural network prediction modelbuilding approach in this
V. LITERATURE REVIEW article. Pre and post dataprocessing/analysis skills, data sam-
Mayankkumar B Patel,Sunil R Yalamalle [1] examined that pling, trainingcriteria and model recommendation will also be-
prediction provides knowledgeable information regarding the covered in this article.
current status of the stock price movement. Stock market data
are highly time-variant and are normally in a nonlinear pattern, Tiffany Hui-Kuang and Kun-Huang Huarng in[7] used neu-
predicting the future price of a stock is highly challenging. Pre- ral network because of theircapabilities in handling nonlinear
diction provides knowledgeable information regarding the cur- relationship andalso implement a new fuzzy time series model
rent status of the stock price movement. Many different algo- toimprove forecasting. The fuzzy relationship is usedto forecast
rithms have been used with neural network. Feedforward the Taiwan stock index. In the neuralnetwork fuzzy time series
MLP(Multi Layer Perceptron) neural network technique is con- model where as insampleobservations are used for training and
sidered to predict the stock price of companies listed under the outsampleobservations are used for forecasting. Thedrawback
index of NSE. From the result it can be concluded that MLP of taking all the degree of membershipfor training and forecast-
(Multi Layer Perceptron)neural network technique gives the ing may affect theperformance of the neural network. To avoid
satisfactory output thistake the difference between observations. Thesereduce the
range of the universe of discourse.

24
Integrated Intelligent Research(IIR) International Journal of Business Intelligent
Volume: 04 Issue: 01 June 2015,Pages No.22- 25
ISSN: 2278-2400
Akinwale adio T, Arogundade O.T and AdekoyaAdebayo F [10] Z.H. Khan, T.S. Alin and M.A. Hussain, “Price Prediction of Share Mar-
ket using Artificial Neural Network (ANN)”, International Journal of
in [8] examined the use of error backpropagation and regres- Computer Applications, 22, No 2, pp. 42-47, 2011.
sion analysis to predict theuntranslated and translated Nigeria [11] H. Al-Qaheri, A. E. Haassanien, and A. Abraham, “Discovering stock
Stock MarketPrice (NSMP). The author was used the network- price prediction rules using rough sets, Neural network world, vol 18,
topology to adopt the five input variables. Thenumber of hid- 181-198, 2008.
[12] Bruce Vanstone & Gavin Finnie, [2009] “An empirical methodology for
den neurons determined the variables during the network selec- developing stock market trading systems using artificial neural networks,
tion. Both theuntranslated and translated statements wereana- An international journal of expert systems with applications vol 36, issue
lyzed and compared. The Performance oftranslated NSMP us- 3, 6668-6680.
ing regression analysis or errorpropagation was more superior [13] .Mitra Subrata Kumar [2009] “Optimal combination of trading rules us-
ing neural networks” International business research vol 2, no 1 pp 86-
to untranslatedNSMP. 99.
[14] Altay, E., and Satman, M.H. (2005). “Stock market forecasting: Artifi-
David Enke and Suraphan Thawornwong in [9]used ma- cial neural networks and linear regression comparison in an emerging
chine learning for data mining to evaluatethe predictive rela- market”, Journal of financial management and analysis 18(2), 18-33.
[15] Senol, D., and Ozturan, M. (2008). “Stock price direction prediction us-
tionship of numerous financialand economic variables. Neural ing artificial neural network approach: The case of Turkey,” Journal of
network modelused for estimation and classification are artificial Intelligence 1(2), 70-77.
thenexamined for their ability to provide an effectiveforecast of [16] Yumulu, S. Gurgen, F, Okay N (2004). “A comparison of global, recur-
future values. A cross-validationtechnique was used to improve rent and smoothed-piecewise neural models for Istanbul stock exchange
prediction”, Pattern recognition letters 26(13), 2093-2103.
the generalizationability of several models. The trading strate- [17] Vural B.B. (2007) “financial forecasting with artificial neural networks”,
giesguided by classification models generate higherrisk-ad- Ankara University, Institute of social sciences, MSc Thesis, Ankara.
justed profits than the buy-and-hold strategyas well as guided [18] Akel, V., and Bayramoglu, M.F (2008). “Financial predicting with artifi-
by the level-estimation basedforecast of the neural network and cial neural networks in crisis periods: The case of ISE 100 index,” Inter-
national symposium on International Capital Flows and Emerging Mar-
regressionmodels. The author decides to deploy the forecastthe kets, Balikesir.
stock dividends, transaction costs andindividual-tax brackets to [19] E.L. de Faria and J.L. Gonzalez (2009); Predicting the Brazilian stock
replicate the realisticinvestment practices. market through neural networks and adaptive exponential smoothing
methods, expert systems with applications, Expert system Applications.
36: 12506-12509.
VI. CONCLUSION [20] Mahmood Moein Aldin, Hasan Dehghan Dehnavi, Somayye Entezari,
(2012). Evaluating the Employment of Technical Indicators in Predicting
Stock market data are highly time-variant and are normally in a Stock Price Index Variations Using Artificial Neural Networks (Case
nonlinear pattern, predicting the future price of a stock is highly Study: Tehran Stock Exchange). International Journal of Business and
Management, 7, No.15 pp 25-34.
challenging. After studying and analyzing all the papers men-
tioned in a literature survey and review section we are moti-
vated to study the possibilities of applying other different types
of neural network in predicting the share market prices.The fu-
ture work is to compare the existing algorithms andderive one
new ANN model by using clustering and back propagation
method of ANN to predict a stock.

REFERENCES
[1] Mayankkumar B Patel,Sunil R Yalamalle ,”Stock Price Prediction Using
Artificial Neural Network”, International Journal of Innovative Research
in Science,engineering and Technology ,2014.
[2] Gitansh khirbat ,Rahul gupta,Sanjay singh “Optimumneur Network Ar-
chitecture For Stock Market Forecasting”,IEEE(978-0-7695-4958-
3)2013.
[3] Binu Nair, Patturajan, M. ; Mohandas, V.,”Predicting the BSE Sensex:
Performance comparison of adaptive linear element, feed forward and
time delay neural networks”,2012
[4] Dase R.K. and Pawar D.D., “Application ofArtificial Neural Network for
stock marketpredictions: A review of literature”International Journal of
Machine Intelligence,ISSN: 0975–2927, Volume 2, Issue 2, 2010,pp-14-
17.
[5] Halbert White,” Economic prediction usingneural networks: the case of
IBM daily stockreturns” Department of Economics Universityof Califor-
nia, San Diego.
[6] JingTao YAO and Chew Lim TAN ,“Guidelines for Financial Prediction
with Artificial neural networks“.
[7] Tiffany Hui-Kuang yu and Kun-Huang Huarng,“A Neural network-
based fuzzy time seriesmodel to improve forecasting”, Elsevier,
2010,pp: 3366-3372.
[8] Akinwale Adio T, Arogundade O.T andAdekoya Adebayo F, “ Trans-
lated Nigeriastock market price using artificial neuralnetwork for effec-
tive prediction. Journal oftheoretical and Applied Informationtechnology
, 2009.
[9] David Enke and Suraphan Thawornwong, “Theuse of data mining and
neural networks forforecasting stock market returns, 2005.

25

You might also like