artificial intelligence neural networks applications in...

12
1 http://www.iict.bas.bg/acomin 6/30/2014 INSTITUTE OF INFORMATION AND COMMUNICATION TECHNOLOGIES BULGARIAN ACADEMY OF SCIENCE Veselin L. Shahpazov, Lyubka A. Doukovska, Dimitar N. Karastoyanov Institute of Information and Communication Technologies, Bulgarian Academy of Sciences Acad. G. Bonchev str., bl. 2, 1113 Sofia, Bulgaria [email protected] , [email protected] , [email protected] Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices AComIn: Advanced Computing for Innovation

Upload: trinhhuong

Post on 07-Feb-2018

218 views

Category:

Documents


1 download

TRANSCRIPT

1http://www.iict.bas.bg/acomin

6/30/2014

INSTITUTE OF INFORMATION AND COMMUNICATION TECHNOLOGIESBULGARIAN ACADEMY OF SCIENCE

Veselin L. Shahpazov, Lyubka A. Doukovska, Dimitar N. KarastoyanovInstitute of Information and Communication Technologies, Bulgarian Academy of Sciences

Acad. G. Bonchev str., bl. 2, 1113 Sofia, Bulgaria

[email protected], [email protected], [email protected]

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

AComIn: Advanced Computing for Innovation

6/30/20142

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

• The interest in using artificial neural networks (ANN’s) for forecasting has led to a tremendous surge in research activities over time;

• Artificial Neural Networks are flexible computing frameworks and universal approximators that can be applied to a wide range of time series forecasting problems with a high degree of accuracy;

• From the introduction of the back-propagation algorithm in 1980’s for training an MLP neural network by Werbos, who used this technique to train a neural network and claimed that neural networks are better than regression methods in prediction problems;

• The stock market prediction task divides researchers and academics into two groups those who believe that we can devise mechanisms to predict the market and those who believe that the market is efficient and whenever new information comes up the market absorbs it by correcting itself, thus there is no space for prediction (EMH);

• In literature a number of different methods have been applied in order to predict Stock Market returns. These methods can be grouped in four major categories: 1) Technical Analysis Methods, 2) Fundamental Analysis Methods, 3) Traditional Time Series Forecasting and 4) Machine Learning Methods. Technical analysts, known as chartists, attempt to predict the market by tracing patterns that come from the study of charts which describe historic data of the market.

AComIn: Advanced Computing for Innovation

6/30/20143

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

• Engineering and physical science

• Electric load consumption studies

• Airborne pollen• Commodity prices

• Environmental temperature

• Helicopter component loads

• International airline passenger traffic

• Macroeconomic indices

• Ozone level

• Personnel inventory• Rainfall

• River flow

• Student grade point averages

• Tool life

• Total industrial production

• Transportation and wind pressure

AComIn: Advanced Computing for Innovation

6/30/20144

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

AComIn: Advanced Computing for Innovation

• The study concludes that this system has the capability of considering more complex problems involving linear as well as non-linear relationships. The results of the study suggest that adaptive systems can make useful predictions or specifications of weather without complete understanding of the dynamics or complete measurement of the physical parameters involved.

• The idea of using neural networks for predicting problems was first expressed by M. J. C Hu of Stanford University in his 1964paper “An Adaptive Processing System for Weather Forecasting”where he described s adaptive pattern classification system. This system, trained on 200 winter sea level pressure and 24-hr pressure change patterns was able to make rain / no rain predictions for the San Francisco bay Area on 100 independent cases that compared favorably with the official US Weather Bureau forecast for the same periods;

• The basic building block of this system is the adjustable network called Adeline (Adaptive Linear). A computer program consisting of a iterative or training procedure(modified relaxation in thiscase) monitors the Adeline’s performance;

• A system of Adeline’s is constructed called Madeline (Multiple Adeline). This way both the storage capacity of the system and the ability to solve complex pattern classification problems areincreased;

• Each Adeline is trained on a different set of training patterns.When completely trained, their inputs are parallel-connected and their outputs are connected to a summing device. The system response is based either on a majority of the Adeline’s depending on the magnitude of the response of each individual Adeline;

6/30/20145

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

• Probably the first paper in the vast field, at least from today’s perspective, of stock market prediction with ANN’s was by Halbert White in 1988 of University of California SD, The paper reports results on a project using neural network modelling and learning techniques to search for and decode nonlinear regularities in asset price movements, focusing on the case of IBM common stock daily returns;

• One of the main focuses of the paper is to try and prove wrong the then prevailing Efficient Market Hypothesis, which states that asset prices follow a random walk and already reflect all past publicly available information and that prices instantly change to reflect new public information;

• To investigate the possibility that neural network methods can detect nonlinear regularities inconsistent with the simple efficient markets hypothesis, White trained a three layer feed-forward network with five inputs and five hidden units over a certain training period. The choice of five hidden units is not entirely ad hoc, as it represents a compromise between the necessity to include enough hidden units so that at least simple nonlinear regularities can be detected by the network;

• White outlines that there is a necessity to avoid including too many hidden units, so that the network is capable of "memorizing" the entire training sequence. This requirement is extremely important if one wishes to obtain a network which has any hope at all of being able to generalize adequately in an environment in which the output is not some exact function of the input, but exhibits random variation around some average value determined by the inputs;

• The network architecture used in the present exercise is the standard single hidden layer architecture, with inputs 2, passed to a hidden layer (with full interconnections) and then with hidden layer activations passed to the output unit;

• The conclusion that is made is that preliminary results show that the EMH has been statistically refuted, but the subsequently conducted out of sample forecasting experiments did not constitute a convincing statistical evidence against the EMH;

• Among future initiatives laid out are elaborating the network to allow additional inputs and permitting recurrent connections, as well as permitting additional network outputs, for example, returns over several different horizons or prices of other assets over several different horizons. A global optimization method such as simulated annealing or the genetic algorithm for the search of the global maximum would be preferable.

AComIn: Advanced Computing for Innovation

6/30/20146

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

• One of the first efforts to predict a broad market index was by Kimmoto and his colleagues In 1990. They used neural networks to build a model that predicts the index of Tokyo stock market. The TOPIX is a weighted average of all stocks listed on the Tokyo Stock Exchange. They used several neural networks trained to learn the relationships between past values of various technical and economic indices for obtaining the expected returns of the TOPIX. The used technical and economic indices were: the vector curve (an indicator of market momentum), turnover, interest rate, foreign exchange rate and the value of the DJIA (Dow Jones Industrial Average);

• The authors claim that the use of weighted sum of the outputs of many neural networks reduces the error, especially since the returns are predicted for a few weeks. The buy/sell system is setup based on the predicted returns and this system is shown to perform much better than s buy and hold strategy. However the training data uses future returns, so that this method cannot be used for actual stock trading, fact that is outlined by the authors;

• The authors developed a number of learning algorithms and prediction methods for the prediction system. The prediction system achieved accurate predictions, and the simulation on stocks trading showed an excellent profitability;

• After this and a couple more pioneering papers many other authors followed suit in developing their own models for forecasting financial markets like:

- Foreign Exchange;

- Bond prices and Yields;

- Commodities Prices;

- Futures and options prices.

AComIn: Advanced Computing for Innovation

6/30/20147

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

• Kamijo and Tanigawa in 1990 propose the use of “Elman recurrent net” for predicting the future stock prices using extracted features;

• Matsuba uses a feed-forward NN with the last n stock index values as inputs and the next N-n values as the outputs.• In his work Freisleben used a simple feed-forward NN trained using past and present data to predict the value of the

FAZ Index.

• E. M. Azoff outlines that networks are computer program that can recognize patterns in data, learn from this and make forecasts of future patterns. At the time there were just over 20 commercially available neural network programs designed for use on financial markets and there have been some notable reports of their successful application.

• Leung , Daouk and Chen conduct a research which focuses on estimating the level of return on stock market index. The data used covers the period between 1967 and 1995 and includes the daily prices of S&P 500 FTSE 100 and Nikkei 225 as well as some macroeconomic indicators like CPI and Industrial Production.

• Chiang et al. used a FFNN with back-propagation to forecast the end of year NAV of mutual funds.

• Kuo et al. recognized that qualitative factors, like political effects, always play a very important role in the stock market environment, and proposed an intelligent stock market forecasting system that incorporates both quantative and qualitative factors.

• Kim and Chun used a refined probabilistic NN called an arrayed probabilistic network to predict the stock market index.

• Aiken and Bsad use a FFNN trained by a genetic algorithm to forecast three month US Treasury Bill rates.

• Edelman et. Al. investigated the use of an identically structured and independently trained committee of NN’s to identify arbitrage opportunities in the Australian All Ordinary Index.

• Thammamano used a neuro-fuzzy model to predict future values of Thailands largest government owned bank.

• Trafalis used FFNNs with BP and the weekly changes in 14 indicators to forecast the change in the S&P 500 stock index during the subsequent week.

AComIn: Advanced Computing for Innovation

6/30/20148

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

• With the introduction of electronic communication networks (ECN) as electronic trading systems facilitating trading of stocks and other financial products in the world’s leading stock exchanges at first and later on other non-mainstream stock markets, and the constantly growing interest by both retail and institutional investors all around the world in stock’s investing, the research in this field exploded. The advancement in computational and communicational power allowed researchers to develop models using artificial neural networks that are fed with real time data and capable to produce real time buy and sell signals.

• Nowadays the technical advancement in comput-ational power has served researchers to implement ANN’s and obtain results faster and easier.

• In their paper Pan, Tilakaratne, Yearwood presented a computational approach for predicting the Australian stock market index – AORD using multi-layer feed-forward neural networks from the time series data of AORD and various interrelated markets.

• Kalyvas attempts to predict the daily excess returns of FTSE 500 and S&P 500 indices over the respective Treasury Bill rate returns For the NN model, a Genetic Algorithm is constructed in order to choose the optimum topology of the network.

• In their study Chen, Leung, Daouk attempt to model and predict the direction of market index of the Taiwan Stock Exchange, which is one of the fastest growing financial exchanges in the developing Asian countries and is considered an emerging market with a probabilistic neural network (PNN).

• Gosh presented a hybrid neural-evolutionary methodology to forecast time-series and predict the NASDAQ. The methodology is hybrid because an evolutionary computation-based optimization process is used to produce a complete design of a neural network. The produced neural network, as a model, is then used to forecast the time-series.

• Chen and Du studied the interactions between social media and financial markets. The authors use a popular online Chinese stock forum Guba.com.cn as well as traditional sentimental analysis methods, for each stock, they build a Social Behaviour Graph based on human’s online behaviour. Then they make use of a back-propagation neural network to predict the trading volume and price of the stocks.

AComIn: Advanced Computing for Innovation

6/30/20149

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

• This paper surveyed the application of neural networks to financial systems. It demonstrated how neural networks have been used to test the Efficient Market Hypothesis and how they outperform statistical and regression techniques in forecasting share prices.

• The Efficient Market Hypothesis is being heavily criticized and rejected mainly because of the fact that not all market participants possess the same amount of information and speed of access to the market and so on. This fact is encourages even more researchers to look for ways to predict the stock markets using the machine learning methods and artificial neural networks in particular.

• Great deal of work has been done in the field since the late 1980’s and progress has been substantial, putting ANN’s in the centre of sophisticated models for predicting stock markets all around the world, from mainstream market indexes like the Daw Jones IA and S&P 500 through the Emerging markets of the BRIC to the less liquid financial markets in Eastern Europe, Latin and South America and the Middle and Far East.

AComIn: Advanced Computing for Innovation

CONCLUSION

6/30/201410

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

The research work presented in this paper is partially supported by the FP7 grant AComIn №316087, funded by the European Commission in Capacity Programme and by the Operational

Programme “Development of Human Resources” 2007-2013, Grant № BG051PO001-3.3.06-0048

AComIn: Advanced Computing for Innovation

ACKNOWLEDGEMENTS

6/30/201411

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

Questions

AComIn: Advanced Computing for Innovation

6/30/201412

http://www.iict.bas.bg

Artificial Intelligence Neural Networks Applications in Forecasting Financial Markets and Stock Prices

Thank you for the attention!

AComIn: Advanced Computing for Innovation