NEURAL NETWORKS FOR TECHNICAL ANALYSIS: A STUDY ON KLCI 授課教師:楊婉秀 報告人:李宗霖.

Slides:



Advertisements
Similar presentations
Aswath Damodaran1 Smoke and Mirrors: Price patterns, charts and technical analysis Aswath Damodaran.
Advertisements

Lecture Presentation Software to accompany Investment Analysis and Portfolio Management Seventh Edition by Frank K. Reilly & Keith C. Brown Chapter 16.
Behavioral Finance and Technical Analysis
Part One Introduction.
© 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
1 Market Efficiency in the Emerging Securitized Real Estate Markets Felix Schindler Centre for European Economic Research (ZEW) Milan, 26 th of June 2010.
Analysis of Technical Trends Ryan Weikert. Asset Valuation Pricing, Buying, and Selling of Assets Methods of Appraisal What stocks, when? Fundamental.
1 CHAPTER FOURTEEN FINANCIAL ANALYSIS OF COMMON STOCKS.
Forecasting the BET-C Stock Index with Artificial Neural Networks DOCTORAL SCHOOL OF FINANCE AND BANKING DOFIN ACADEMY OF ECONOMIC STUDIES MSc Student:
A Generalized Model for Financial Time Series Representation and Prediction Author: Depei Bao Presenter: Liao Shu Acknowledgement: Some figures in this.
Model In order to automatically identify technical indicators our model: quantizes real-time market trades in 15 second intervals scans ~40,000 data points.
Overview This model takes advantage of the correlation between price movements in commodities future contracts and price movements in equities’ whose core.
FINANCE IN A CANADIAN SETTING Sixth Canadian Edition Lusztig, Cleary, Schwab.
Chapter 12 - Forecasting Forecasting is important in the business decision-making process in which a current choice or decision has future implications:
Simple Linear Regression
Common Stocks: Analysis and Strategy
Corporate Financing Decisions and Efficient Capital Markets.
McGraw-Hill/Irwin Copyright © 2008 The McGraw-Hill Companies, Inc., All Rights Reserved. Behavioral Finance and Technical Analysis CHAPTER 9.
Economy / Market Analysis
1 Fin 2802, Spring 10 - Tang Chapter 11: Market Efficiency Fina2802: Investments and Portfolio Analysis Spring, 2010 Dragon Tang Lecture 10 The Efficient.
Efficient Capital Markets
Copyright ©2004 Pearson Education, Inc. All rights reserved. Chapter 14 Stock Analysis and Valuation.
PREDICTABILITY OF NON- LINEAR TRADING RULES IN THE US STOCK MARKET CHONG & LAM 2010.
Corporate Financing Decisions and Efficient Capital Markets
CHAPTER TWENTY-TWO FINANCIAL ANALYSIS. n WHAT IS FINANCIAL ANALYSIS? DEFINITION: the activity of providing inputs to the portfolio management process.
Mr. Perminous KAHOME, University of Nairobi, Nairobi, Kenya. Dr. Elisha T.O. OPIYO, SCI, University of Nairobi, Nairobi, Kenya. Prof. William OKELLO-ODONGO,
Efficient Capital Markets Two Views on Capital Market Efficiency: “... in price movements... the sum of every scrap of knowledge available to Wall Street.
INVESTMENTS: Analysis and Management Second Canadian Edition INVESTMENTS: Analysis and Management Second Canadian Edition W. Sean Cleary Charles P. Jones.
The Stock Market Forecasting and Risk Management System using Genetic Programming Li Wang Ross School of Business Ann Arbor, MI
Chapter 17 TECHNICAL ANALYSIS The Visual Clue.
1 Technical Analysis CHAPTER 19. Technical Analysis Technical analysis is a security analysis technique that claims the ability to forecast the future.
Efficient Capital Markets Objectives: What is meant by the concept that capital markets are efficient? Why should capital markets be efficient? What are.
© 2008 Pearson Education Canada7.1 Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Markets Hypothesis.
Market Efficiency.
EM-Trade | Agenda Interviews Poker Tournament Fantasy Stock Market
Price patterns, charts and technical analysis: The momentum studies Aswath Damodaran.
The Power of Moving Averages in Financial Markets By: Michael Viscuso.
Technical Analysis Chapter 16
Part One Introduction. Chapter 1 Why Study Financial Markets and Institutions?
Capital Markets Theory Lecture 5 International Finance.
Chapter 16 Jones, Investments: Analysis and Management
CHAPTER EIGHTEEN Technical Analysis CHAPTER EIGHTEEN Technical Analysis Cleary / Jones Investments: Analysis and Management.
1 Introduction to Neural Networks And Their Applications.
1 MBF 2263 Portfolio Management & Security Analysis Lecture 7 Efficient Market Hypothesis.
Pattern Discovery of Fuzzy Time Series for Financial Prediction -IEEE Transaction of Knowledge and Data Engineering Presented by Hong Yancheng For COMP630P,
1 1 Ch11&12 – MBA 566 Efficient Market Hypothesis vs. Behavioral Finance Market Efficiency Random walk versus market efficiency Versions of market efficiency.
Market Efficiency. What is an efficient market? A market is efficient when it uses all available information to price assets.  Information is quickly.
Copyright © 2003 South-Western/Thomson Learning. All rights reserved. Chapter 14 Technical Analysis.
Hybrid Load Forecasting Method With Analysis of Temperature Sensitivities Authors: Kyung-Bin Song, Seong-Kwan Ha, Jung-Wook Park, Dong-Jin Kweon, Kyu-Ho.
Market Efficiency Chapter 5
1 The Capital Markets and Market Efficiency. 2 Role of the Capital Markets Definition Economic Function Continuous Pricing Function Fair Price Function.
EFFICIENT MARKET HYPOTHESIS
Financial Data mining and Tools CSCI 4333 Presentation Group 6 Date10th November 2003.
Stock market forecasting using LASSO Linear Regression model
Data Mining: Neural Network Applications by Louise Francis CAS Convention, Nov 13, 2001 Francis Analytics and Actuarial Data Mining, Inc.
Assistant Instructor Nian K. Ghafoor Feb Definition of Proposal Proposal is a plan for master’s thesis or doctoral dissertation which provides the.
LOAD FORECASTING. - ELECTRICAL LOAD FORECASTING IS THE ESTIMATION FOR FUTURE LOAD BY AN INDUSTRY OR UTILITY COMPANY - IT HAS MANY APPLICATIONS INCLUDING.
1 A latent information function to extend domain attributes to improve the accuracy of small-data-set forecasting Reporter : Zhao-Wei Luo Che-Jung Chang,Der-Chiang.
F9 Financial Management. 2 Designed to give you the knowledge and application of: Section F: Cost of capital F1. Sources of finance and their short-term.
Welcome to MM305 Unit 5 Seminar Forecasting. What is forecasting? An attempt to predict the future using data. Generally an 8-step process 1.Why are you.
Prepared by Fayes Salma.  Introduction: Financial Tasks  Data Mining process  Methods in Financial Data mining o Neural Network o Decision Tree  Trading.
An Investigation of Market Dynamics and Wealth Distributions
Review Fundamental analysis is about determining the value of an asset. The value of an asset is a function of its future dividends or cash flows. Dividends,
Forecasting Exchange Rates
Li Wang Ross School of Business Ann Arbor, MI 48105
Behavioral Finance and Technical Analysis
國際金融專題 期中報告 Cointegration And The Causality Between Stock Prices And Exchange Rates Of The Korean Economy 授課教授:楊奕農 教授 國貿碩一 梁璇德.
Momentum Momentum is used to indicate the speed with which prices are changing. When a change in direction occurs in a short-term trend, technicians say.
Presentation transcript:

NEURAL NETWORKS FOR TECHNICAL ANALYSIS: A STUDY ON KLCI 授課教師:楊婉秀 報告人:李宗霖

Outline Introduction Forecasting the Stock Market Neural Network and its Usage in the Stock Market A Case Study on the Forecasting of the KLCI Discussion Conclusion and Future Research 2

Introduction 3

It is generally very difficult to forecast the movements of stock markets. Artificial neural network is a well-tested method for financial analysis on the stock market. 4

Introduction Using neural networks in equity market applications include: Forecasting the value of a stock index Recognition of patterns in trading charts Rating of corporate bonds Estimation of the market price of options Indication of trading signals of selling and buying 5

Introduction Feed-forward back propagation Without the use of extensive market data or knowledge useful prediction can be made and significant paper profit can be achieved. 6

Forecasting the Stock Market 7

There are three schools of thought in terms of the ability to profit from the equity market. Random Walk Hypothesis & Efficient Market Hypothesis fundamental analysis Technical analysis 8

Forecasting the Stock Market Use a variety of techniques to obtain multiple signals. Neural networks are often trained by both technical and fundamental indicators to produce trading signals. 9

Forecasting the Stock Market For fundamental methods: retail sales gold prices industrial production indices foreign currency exchange rates For technical methods: delayed time series data technical indicators 10

Neural Network and its Usage in the Stock Market 11

3.1 Neural networks Neural networks 12

3.2 Time series forecasting with neural networks 13

3.2 Time series forecasting with neural networks Three major steps in the neural network based forecasting proposed in this research: Preprocessing Architecture Postprocessing 14

3.3 Measurements of neural network training Normalized Mean Squared Error (NMSE) Signs Gradients 15

We argue that NMSE may not be the case for trading in the context of time series analysis. 3.3 Measurements of neural network training 16

3.3 Measurements of neural network training 17

A Case Study on the Forecasting of the KLCI 18

A Case Study on the Forecasting of the KLCI Kuala Lumpur Composite Index (KLCI) Neural networks are trained to approximate the market values. To find the hidden relationship between technical indicators and future KLCI. 19

Data choice and pre-processing 20

Data choice and pre-processing The major types of indicators moving average (MA) momentum (M) Relative Strength Index (RSI) stochastics (%K) moving average of stochastics (%D) 21

Data choice and pre-processing inputs I t−1 I t MA 5 MA 10 MA 50 RSI M %K %D output I t+1 22

Data choice and pre-processing Normalization 23

Nonlinear analysis of the KLCI data 24

Nonlinear analysis of the KLCI data 25

Nonlinear analysis of the KLCI data 26

Neural network model building Historical data are divided into three parts Training sets (2/3) Validation sets (2/15) Testing sets (3/15) 27

Neural network model building A trade-off between convergence and generalization. Number of hidden nodes 28

Neural network model building 29

Neural network model building Primary sensitive analysis is conducted for input variables. Low influence factors: M 20, M 50, %K, %D High influence factors: I t, RSI, M, MA 5 Chosen for input: I t, MA 5, MA 10, RSI, M, I t −1 30

Neural network model building 31

Neural network model building 32

Paper profits using neural network predictions 33

Paper profits using neural network predictions 34

Paper profits using neural network predictions In a real situation, this might not be possible as some indexed stocks may not be traded at all on some days. The transaction cost of a big fund trading, which will affect the market prices was not taken into consideration in the calculation of the “paper profit”. 35

Benchmark return comparison Benchmark 1: Benchmark 2: 36

Benchmark return comparison Benchmark 3: 37

Comparison with ARIMA Autoregressive Integrated Moving Average (ARIMA) Model Introduced by George Box and Gwilym Jenkins in Provided a systematic procedure for the analysis of time series that was sufficiently general to handle virtually all empirically observed time series data patterns. ARIMA(p, d, q) 38

39

Discussion 40

Discussion A very small NMSE does not necessarily imply good generalization. Better testing results are demonstrated in the period near the end of the training sets. We have no data to test the “best” model. There are two approaches for using the forecasting result. best-so-far approach committee approach 41

Discussion Measures NMSE Sign Gradient Four challenges inputs and outputs types of neural networks and the activation functions neural network architecture evaluate the quality of trained neural networks for forecasting 42

Conclusion and Future Research 43

Conclusion and Future Research It shows that useful prediction could be made for KLCI without the use of extensive market data or knowledge. It shows how a 26% annual return could be achieved by using the proposed model. It highlights the following problems associated with neural network based time series forecasting: the hit rate is a function of the time frame chosen for the testing sets; generalizability of the model over time to other period is weak; there should be some recency trade offs. 44

Conclusion and Future Research A mixture of technical and fundamental factors as inputs over different time periods should be considered. Sensitivity analysis should be conducted which can provide pointers to the refinement of neural network models. The characteristics of emerging markets such as KLCI should be further researched to facilitate better modeling of the market using neural networks. 45

Thanks for Your Listening 46

Forecasting the Stock Market The research done here would be considered a violation of the above two hypotheses above for short-term trading advantages in, Kuala Lumpur Stock Exchange (KLSE for short hereafter) 47

Forecasting the Stock Market There are three schools of thought in terms of the ability to profit from the equity market. The first school believes that no investor can achieve above average trading advantages based on the historical and present information. Random Walk Hypothesis Efficient Market Hypothesis Taylor provides compelling evidence to reject the random walk hypothesis and thus offers encouragement for research into better market prediction. 48

Forecasting the Stock Market The second school's view is the so-called fundamental analysis. It looks in depth at the financial conditions and operating results of a specific company and the underlying behavior of its common stock. In 1995 US$1.2 trillion of foreign exchange swapped hands on a typical day [10]. The number is roughly 50 times the value of the world trade in goods and services which should be the real fundamental factor. 49

Forecasting the Stock Market Technical analysis belongs to the third school of thought. It attempts to use past stock price and volume information to predict future price movements. These five series are open price, close price, highest price, lowest price and trading volume. Most of the techniques used by technical analysts have not been shown to be statistically valid and many lack a rational explanation for their use 50

Normalized Mean Squared Error (NMSE) Signs Gradients 3.3 Measurements of neural network training 51

3.3 Measurements of neural network training Normalized Mean Squared Error (NMSE) 52

Signs 3.3 Measurements of neural network training 53

Gradients 3.3 Measurements of neural network training 54

Data choice and pre-processing 55

Data choice and pre-processing 56

Data choice and pre-processing 57