Скачать презентацию Tutorial 8 SEG 7550 6 th Nov Скачать презентацию Tutorial 8 SEG 7550 6 th Nov

8c04133721a34cc6ca3bb5c8db0a7015.ppt

  • Количество слайдов: 32

Tutorial 8 SEG 7550 6 th Nov. Tutorial 8 SEG 7550 6 th Nov.

Outline l ARCH and GARCH model (part one) l The project l About assignment Outline l ARCH and GARCH model (part one) l The project l About assignment 2

ARCH and GARCH model l l Modeling volatility of a asset return Volatility is ARCH and GARCH model l l Modeling volatility of a asset return Volatility is an important factor in options trading – – Here volatility means conditional standard deviation of the underlying asset return Why? l l l Volatility modeling provides a simple approach of calculating value at risk Modeling volatility can improve the efficiency in parameter estimation and the accuracy in interval forecast Volatility index of market is a financial instrument

Character of volatility l Cannot be observed directly – l Specific model assumption may Character of volatility l Cannot be observed directly – l Specific model assumption may not hold in practice – l l l Blac-scholes formula assume geometric Brownian motion Volatility clusters Volatility evolves over time in a continuous manner – l Make it difficult to evaluate forecasting performance Volatilities jumps are rare Volatility does diverge to infinity Volatility seems to react differently to a big price increase or a big price drop (leverage effect)

ARCH l Basic idea – – The shock of an asset return is serially ARCH l Basic idea – – The shock of an asset return is serially uncorrelated The dependence of can be described by a simple quadratic function of its lagged values, i. e. an ARCH(m) model: Where is iid sequence with mean 0 and variance 1

ARCH l The parameters – – – , for must satisfy some regularity conditions ARCH l The parameters – – – , for must satisfy some regularity conditions to ensure the unconditional variance of is finite In practice, is often assumed to follow normal distribution or student’s t distribution.

Properties of ARCH l Take ARCH(1) as example: – l Where and The conditional Properties of ARCH l Take ARCH(1) as example: – l Where and The conditional mean of is 0 because:

Properties of ARCH l Conditional variance of : Because is stationary process which means: Properties of ARCH l Conditional variance of : Because is stationary process which means: We have

Properties of ARCH l l Variance must be positive, therefore In practice we want Properties of ARCH l l Variance must be positive, therefore In practice we want higher moments of exist and, hence, must satisfy some additional constraints. – An example: if we want to examine the tail behavior, we want the fourth moment of is finite. Under the assumption follow normal distribution, we have: if is fourth-order stationary with then:

Properties of ARCH – Example con’d: Properties of ARCH – Example con’d:

Properties of ARCH – Example con’d: l Since the fourth moment of is positive, Properties of ARCH – Example con’d: l Since the fourth moment of is positive, we have l The unconditional kurtosis of is: tail distribution of is heavier than normal

Weakness of ARCH l l Positive shocks and negative shocks have the same effect Weakness of ARCH l l Positive shocks and negative shocks have the same effect Rather restrictive (constraints on parameters) l Does not provide any insight for understanding the source of variations of a financial time series l ARCH tends to overpredict the volatility because they response slowly to large isolated shock to the return series

Project l There would be no exams l Please submit your project title and Project l There would be no exams l Please submit your project title and description to [email protected] cuhk. edu. hk l A sample is provided on course website

How to work on your Course Project? l (1) Data Collection – This phase How to work on your Course Project? l (1) Data Collection – This phase is quite time consuming as the location of data source is not easy. Also, your model is limited by your data. – Please refer to your tutorial website for the collection of daily data. l l l – Or try these two website for data: http: //www. hkgem. com http: //www. hkex. com. hk For the intraday data, you can collect from Market Browser. Please note that they only provides data up to 14: 50 and 5 days data. l http: //www. marketbrowser. com/mbzzzq 2. asp

How to work on your Course Project? l (2) Background study – l You How to work on your Course Project? l (2) Background study – l You need to find out the related works for your project. Is the result of the related works better than yours. What is the merits and weaklessness of them? Also, please mark the reference papers and books and include them in the reference. . (3) Construction of your model – What is your model/strategy? Please describe your model using diagrams or equations. Please state any assumptions. . . .

l (4) Experimental Result – l Please provide the significant figure. Does your result l (4) Experimental Result – l Please provide the significant figure. Does your result agree with your prediction. . (5) Conclusion and Future Work – What conclusion can you draw? Does your work perform better than that of the related works? If not, please state any improvement. If yes, how can you enhance the model to provide better result? What is the potential use of your model? . . .

l (7) Reference – – Please provide the list of references. The format of l (7) Reference – – Please provide the list of references. The format of the reference is like that Book l l – Conference Paper l l – Format : Author Name, "Book title", Edition, publisher, publishing year. e. g. Francis X. Diebold, "Elements of Forecasting", Fouth Edition, Thomson South-Western, 2007. Format : Author name, paper title, Name of Conference, pape number, Conference venue, date, year. e. g. H. S. Ng and K. P. Lam, "Incremental Intraday Prediction of Extreme Values and Rangebased Volatility", In Proc. of The Third IASTED International Conference on Financial Engineering and Applications, pp 90 -98, Boston, October 9 -11, 2006. Journal Paper l l Format : Author Name, Paper title, Journal, Vol(issue), page number, year. e. g. E. F. Fama, The Behavior of Stock-Market Prices, The Journal of Business, 38(1), 34– 105, 1965.

About assignment 2 Question one: (a) – – (i) Please capture the HSBC and About assignment 2 Question one: (a) – – (i) Please capture the HSBC and Cheung Kong financial charts from January to mid-Februray from internet. (ii) Trace through the major ups and downs of HSBC and Cheung Kong price movement for the above period and relate them to any relevant changes in fundamental, major events and news. Please identify the two or three major events, news, or relevant changes in fundamental. e. g. For China Telecom (0941) in 2000,

Question one: Question one:

Question one: l Mark will be counted based on – – – (1) the Question one: l Mark will be counted based on – – – (1) the date, (2) the price change (approximation), and (3) the relationship between the news and the major ups and downs of PCC price movement

Question one: l (b) – – Please use gsl. dat as the input of Question one: l (b) – – Please use gsl. dat as the input of your Matlab program. (i) Modify the program "candle_test. m" to detect "The Three Knights" and "The Three Crows". List the date detected these signal. (Note: Since the close price is available after market open, the detection date should be one day after "The Three Knights" or "The Three Crows". Please define your candle's body. ) (ii) Please state your trading strategy such as assumption, consideration and trading rules. (iii) Please submit the amended program.

Question one: l (b) – (iv) Please list your buy date and sell date. Question one: l (b) – (iv) Please list your buy date and sell date.

Question one: l (b) – – – (iv) Please provide the (position or negative) Question one: l (b) – – – (iv) Please provide the (position or negative) return. (v) Please plot the buy/sell point and the stock price at the same figure. (vi) Please explain your result, if applicable, and state its potential use.

Question two (a) – – – i. Generate a set of random number (dataset Question two (a) – – – i. Generate a set of random number (dataset A). ii. For model M 1, construct an AR(2) model based on dataset A, obtain the output of the AR(2) model, name the output dataset as dataset Ao. iii Generate another set of random number (dataset B).

– – – iv. For model M 2, construct and AR(4) model based on – – – iv. For model M 2, construct and AR(4) model based on dataset B, obtain the output of the AR(4) model, name the output dataset as dataset Bo. v. Repeat i to iv to generate another dataset Ao and Bo and call them as Ao 1 and Bo 1 respectively. vi. Construct a dataset with the sequence [M 1|M 2|M 1|M 2].

Recursive Least Squares l Matlab Function: – l rarx(z, nn, adm, adg) - Refer Recursive Least Squares l Matlab Function: – l rarx(z, nn, adm, adg) - Refer to Page 4 -80 of System Identification Toolbox Manual Matlab program: – Cheungkong_rtest. m l l l l Load data Obtain the return series using the loaded data Estimate the four order ot AR for dly Plot the parameter estimates Plot the predicted differential-log output and actual differential-log output with time Recover the actual output Plot the predicted output, the actual output and the prediction error

Question three l (i) Please submit the amended program for (2 -20) MA rule, Question three l (i) Please submit the amended program for (2 -20) MA rule, and (20 -50) MA rule. l (ii) Please use the following equation to calculate the percentage of return. ( y_typ(buy_date) - y_typ(sell_date) ) / y_typ(buy_date) where y_typ is gsl_typ or cheungkong_typ –

Question three l Please find the mean of the percentage of return and compare Question three l Please find the mean of the percentage of return and compare the mean of the percentage of return for the two stocks. l If the first signal is sell, you can ignore the first signal. If the last signal is buy, you also need to ignore the last signal. l You need to submit the list for buy date, sell date and the return for the two stocks.

Question three l For GSL Question three l For GSL

Question three l For Cheung Kong Question three l For Cheung Kong

Question three l (iii) Please submit the graph which indicates the buy prices, sell Question three l (iii) Please submit the graph which indicates the buy prices, sell prices and the gsl_typ/cheung_typ. You can use the following Matlab function to plot the graph. – plot(1: 333, gsl_typ, gsl_sell, gsl_typ(gsl_sell), 'o', gsl_buy, gsl_t yp(gsl_buy), 'x') where gsl_typ is 0. 25*(gsl_open+ gsl_close+ gsl_high + gsl_low), gsl_sell is the row of gsl_typ where you sell the stock at that date, and gsl_buy is the row of gsl_typ where you buy the stock at that date.

Question three l (iv) Please state which stock is more profitable. Question three l (iv) Please state which stock is more profitable.