The Stock Market Forecasting and Risk Management System using Genetic Programming Li Wang Ross School of Business Ann Arbor, MI 48105.

Slides:



Advertisements
Similar presentations
FINANCIAL MANAGEMENT I and II
Advertisements

Shino Takayama The University of Sydney Faculty of Business and Economics Ch 12. Market Efficiency and Behavioural Finance.
FINANCIAL MANAGEMENT I AND II
Copyright © 2008 Pearson Addison-Wesley. All rights reserved. Chapter 10 Information and Financial Market Efficiency.
Contrarian investing and why it works. Definition What is a contrarian? A Contrarian makes decisions for different reasons than most traders. The majority.
McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc., All Rights Reserved. Efficient Market Hypothesis 1.
Market Efficiency Chapter 10.
8. Stocks, Stock Markets, and Market Efficiency
McGraw-Hill/Irwin Copyright © 2008 The McGraw-Hill Companies, Inc., All Rights Reserved. The Efficient Market Hypothesis CHAPTER 8.
FINANCE IN A CANADIAN SETTING Sixth Canadian Edition Lusztig, Cleary, Schwab.
© 2004 Pearson Addison-Wesley. All rights reserved 7-1 (1) Computing the Price of Common Stock Basic Principle of Finance Value of Investment = Present.
Efficient Capital Markets
© 2008 Pearson Education Canada7.1 Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Markets Hypothesis.
Corporate Financing Decisions and Efficient Capital Markets
Chapter 7 The Stock Market, The Theory of Rational Expectations, and the Efficient Markets Hypothesis © 2005 Pearson Education Canada Inc.
Market Efficiency Chapter 12. Do security prices reflect information ? Why look at market efficiency - Implications for business and corporate finance.
Mr. Perminous KAHOME, University of Nairobi, Nairobi, Kenya. Dr. Elisha T.O. OPIYO, SCI, University of Nairobi, Nairobi, Kenya. Prof. William OKELLO-ODONGO,
Chapter Ten The Efficient Market Hypothesis Copyright © 2004 Pearson Education Canada Inc. Slide 10–3 Computing the Price of Common Stock Basic Principle.
FINANCIAL ECONOMETRICS FALL 2000 Rob Engle. OUTLINE DATA MOMENTS FORECASTING RETURNS EFFICIENT MARKET HYPOTHESIS FOR THE ECONOMETRICIAN TRADING RULES.
7. Stock Market Valuation & the EMH Role of Expectations Rational Expectations Efficient Markets Theory Role of Expectations Rational Expectations Efficient.
Is it Possible to “Beat The Market”?  Are markets efficient?  What should we expect of professional money managers?  Observed calendar based effects.
International Business 9e
Common Cents Investment Group Welcome! Monday September 30 th.
NEURAL NETWORKS FOR TECHNICAL ANALYSIS: A STUDY ON KLCI 授課教師:楊婉秀 報告人:李宗霖.
Chapter 7 The Stock Market, The Theory of Rational Expectations, and the Efficient Market Hypothesis.
CH5 Overview 1. Agenda 1.History 2.Motivation 3.Cointegration 4.Applying the model 5.A trading strategy 6.Road map for strategy design 2.
Efficient Market Hypothesis by Indrani Pramanick (44)
McGraw-Hill/Irwin Copyright © 2008 The McGraw-Hill Companies, Inc., All Rights Reserved. The Efficient Market Hypothesis CHAPTER 8.
© 2008 Pearson Education Canada7.1 Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Markets Hypothesis.
FIN 614: Financial Management Larry Schrenk, Instructor.
Market Efficiency. News and Returns All news, and announcements contain anticipated and unexpected components The market prices assets based on what is.
McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc., All Rights Reserved. Efficient Markets Hypothesis 1.
Behavioral real estate. A literature review Costin Ciora Department of Financial Analysis and Valuation The Bucharest University of Economic Studies Presentation.
Chapter 12 Jones, Investments: Analysis and Management
Efficient Market Hypothesis EMH Presented by Inderpal Singh.
Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Market.
Saeed Ebrahimijam SPRING Faculty of Business and Economics Department of Banking and Finance Doğu Akdeniz Üniversitesi FINA417.
Chapter 8 The Efficient Market Hypothesis. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc., All Rights Reserved. Efficient Market Hypothesis.
McGraw-Hill/Irwin © 2007 The McGraw-Hill Companies, Inc., All Rights Reserved. Efficient Markets & The Behavioral Critique CHAPTE R 8.
McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 12 Market Efficiency and Behavioral Finance.
Technical Analysis/Trading Introduction. Overview Stockcharts.com What is Technical Analysis/Trading Candlesticks, Bar Charts Trend Lines, Support, Resistance.
Day trading is short term trading A day trade is (usually) entered and exited within the same trading day.
Chapter 7 The Stock Market, The Theory of Rational Expectations, and the Efficient Market Hypothesis.
The stock market, rational expectations, efficient markets, and random walks The Economics of Money, Banking, and Financial Markets Mishkin, 7th ed. Chapter.
Copyright  2011 Pearson Canada Inc Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Markets Hypothesis.
McGraw-Hill/Irwin Copyright © 2001 by The McGraw-Hill Companies, Inc. All rights reserved Market Efficiency Chapter 11.
Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Market Hypothesis.
1 MBF 2263 Portfolio Management & Security Analysis Lecture 7 Efficient Market Hypothesis.
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.
Chapter Ten The Efficient Market Hypothesis Slide 10–3 Computing the Price of Common Stock Basic Principle of Finance Value of Investment = Present Value.
Futures Trading & your returns on Investments Futures contracts are financial assets just like stocks and bonds, but with some important differences.
Chapter 5 Market Efficiency. Fundamental Analysis Evaluation of firms and their investment attractiveness Based on –firm’s financial strength, –competitiveness,
Copyright © 2014 Pearson Canada Inc. Chapter 7 THE STOCK MARKET, THE THEORY OF RATIONAL EXPECTATIONS, AND THE EFFICIENT MARKET HYPOTHESIS Mishkin/Serletis.
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.
McGraw-Hill/Irwin © 2007 The McGraw-Hill Companies, Inc., All Rights Reserved. Efficient Markets & The Behavioral Critique CHAPTER 8.
Chapter 10 Market Efficiency.
1 Lecture 12 The Stock Market, the Theory of Rational Expectations, and the Efficient Market Hypothesis.
7-1 (1) Computing the Price of Common Stock Basic Principle of Finance Value of Investment = Present Value of Future Cash Flows One-Period Valuation Model.
McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc., All Rights Reserved. A market is efficient if prices “fully ______________” available information.
Copyright © 2002 Pearson Education, Inc. Slide 10-1.
Comments from Instructor: A detailed yet analytical paper, which puts class materials into good application, and takes one step further, if simple, to.
Chapter 7 the Stock Market and Market Efficiency.
Chapter 9 Market Efficiency.
Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Market Hypothesis.
Li Wang Ross School of Business Ann Arbor, MI 48105
Topic #4 Financial Instruments in the Market: II Stocks
Lectures 11 and 12 The Stock Market, the Theory of Rational Expectations, and the Efficient Market Hypothesis.
Presentation transcript:

The Stock Market Forecasting and Risk Management System using Genetic Programming Li Wang Ross School of Business Ann Arbor, MI 48105

Technical Analysis Technical analysis identifies trading opportunities by studying the historical prices and their statistics Technical analysis identifies trading opportunities by studying the historical prices and their statistics Major proponents are practitioners Major proponents are practitioners Traders, money managers, brokers, etc. Traders, money managers, brokers, etc. They believe: They believe: Buyers and sellers on the financial market are human beings, who always tend to bid things up beyond or sell them below their reasonable values Buyers and sellers on the financial market are human beings, who always tend to bid things up beyond or sell them below their reasonable values Psychological factors are important and studying the past stock prices can help understand these factors Psychological factors are important and studying the past stock prices can help understand these factors

Fundamental Analysis Fundamental analysis forecasts the future performance of stocks based on economic information Fundamental analysis forecasts the future performance of stocks based on economic information P/E ratio, book values, cash flows, GDP, etc. P/E ratio, book values, cash flows, GDP, etc. The majority of researchers in finance and economics are proponents of fundamental analysis The majority of researchers in finance and economics are proponents of fundamental analysis They believe: They believe: The stock market is efficient and investors are rational The stock market is efficient and investors are rational The stock price always reflects all the information available to the public The stock price always reflects all the information available to the public The value of the stock only depends on the fundamentals of the business The value of the stock only depends on the fundamentals of the business

The Debate between Technical Analysis and Fundamental Analysis There has been extensive debate and research on whether technical analysis is valid There has been extensive debate and research on whether technical analysis is valid Academic researchers argue that: Academic researchers argue that: Stock prices follow random walk Stock prices follow random walk They are memoryless – what happened in the past has no impact on the future They are memoryless – what happened in the past has no impact on the future There are a myriad of academic papers demonstrating that technical analysis does not work There are a myriad of academic papers demonstrating that technical analysis does not work

The Debate between Technical Analysis and Fundamental Analysis (cont.) Technical analysis practitioners believe: Technical analysis practitioners believe: Stock price movement is generated by collective activities of market participants, so it is a consequence of human behavior Stock price movement is generated by collective activities of market participants, so it is a consequence of human behavior Although human behavior can not be perfectly predicted, it is far from random walk Although human behavior can not be perfectly predicted, it is far from random walk The ineffectiveness of technical analysis reported in academic papers is due to the following mistakes: The ineffectiveness of technical analysis reported in academic papers is due to the following mistakes:  Only simple rules are tested in the papers  Technical rules are blindly applied on every chart signal  Effective rules evolve over time  …

Purpose of this project Use Genetic Programming Technique Use Genetic Programming Technique Explore if we can use historical stock prices, volumes and statistics on them to: Explore if we can use historical stock prices, volumes and statistics on them to: Forecast future movement of stock prices Forecast future movement of stock prices Manage risk of portfolios Manage risk of portfolios Make profits! Make profits!

Exp1: Forecasting Overnight Gap Stock prices are not continuous Stock prices are not continuous Usually there is a gap between yesterday’s close price and today’s open price Usually there is a gap between yesterday’s close price and today’s open price It is associated with a significant amount of risk It is associated with a significant amount of risk Traders tend to avoid this risk Traders tend to avoid this risk e.g. day traders e.g. day traders

Exp1: Forecasting Overnight Gap (cont.) Purpose of this experiment: Purpose of this experiment: Explore if we can predict the overnight gap and take advantage of it (make profits from it) Explore if we can predict the overnight gap and take advantage of it (make profits from it) If we succeed: If we succeed: Overnight trading strategy Overnight trading strategy  A new trading strategy  Opposite to day trading  If we predict there will be a gap up tomorrow, we buy before market is closed and sell immediately after the market is open on the next day  If we predict there will be a gap down, we short sell before market is closed and buy back on the next day

Exp1: Forecasting Overnight Gap (cont.) Software package: lil-gp Software package: lil-gp Written in C Written in C Free download from MSU Free download from MSU Experiment setup: Experiment setup: XOM, historical prices and volumes on 230 trading days XOM, historical prices and volumes on 230 trading days No obvious uptrend or downtrend over this period No obvious uptrend or downtrend over this period Training data: the first 150 days Training data: the first 150 days Testing data: the rest 80 days Testing data: the rest 80 days

Exp1: Forecasting Overnight Gap (cont.) One of the training results: One of the training results: A large tree -> a trading strategy A large tree -> a trading strategy Highly nonlinear Highly nonlinear

Exp1: Forecasting Overnight Gap (cont.) Testing Result Testing Result X-axis: my prediction X-axis: my prediction Y-axis: real overnight gap Y-axis: real overnight gap The prediction The prediction doesn’t look accurate doesn’t look accurate However … However …

Exp1: Forecasting Overnight Gap (cont.) Ignore the small valued prediction Ignore the small valued prediction Only trade when the prediction has larger absolute value than the threshold Only trade when the prediction has larger absolute value than the threshold In 14 out of 18 (78%) trades, we can make profits In 14 out of 18 (78%) trades, we can make profits If we strictly follow this strategy, we can make 5.23% in 3~4 months => Beat the market and many mutual funds ! If we strictly follow this strategy, we can make 5.23% in 3~4 months => Beat the market and many mutual funds !

Exp1: Forecasting Overnight Gap (cont.) Another trading strategy Another trading strategy Make profits in 5 out of 6 trades (83%) Make profits in 5 out of 6 trades (83%) If strictly follow this strategy, we can make 2.5% with only 6 trades on this single stock If strictly follow this strategy, we can make 2.5% with only 6 trades on this single stock How should we use this technique: How should we use this technique: Monitor hundreds of stocks Monitor hundreds of stocks Pick the most significant stocks for trading at the end of every day Pick the most significant stocks for trading at the end of every day

Thank you! Questions?