Научная статья на тему 'Forecasting coherent volatility breakouts'

Forecasting coherent volatility breakouts Текст научной статьи по специальности «Математика»

CC BY
229
75
i Надоели баннеры? Вы всегда можете отключить рекламу.
Журнал
Финансы: теория и практика
Scopus
ВАК
RSCI
Область наук
Ключевые слова
ФОНДОВЫЙ РЫНОК / ЦЕНОВОЙ РИСК / ФРАКТАЛЬНАЯ РАЗМЕРНОСТЬ / КРАХИ РЫНКА / ARCH-GARCH МО- ДЕЛЬ / МОДЕЛИ ВОЛАТИЛЬНОСТИ КАК АМПЛИТУДЫ / МНОГОМАСШТАБНАЯ ВОЛАТИЛЬНОСТЬ / РАЗВОРОТЫ ВОЛАТИЛЬНОСТИ / ТЕХНИЧЕСКИЙ АНАЛИЗ / STOCK MARKET / PRICE RISK / FRACTAL DIMENSION / MARKET CRASH / ARCH-GARCH / RANGE-BASED VOLATILITY MODELS / MULTI-SCALE VOLATILITY / VOLATILITY REVERSALS / TECHNICAL ANALYSIS

Аннотация научной статьи по математике, автор научной работы — Didenko Alexander, Dubovikov Mikhail, Poutko Boris

The paper develops an algorithm for making long-term (up to three months ahead) predictions of volatility reversals based on long memory properties of financial time series. The approach for computing fractal dimension using sequence of the minimal covers with decreasing scale (proposed in [1]) is used to decompose volatility into two0dynamic components: specific A (t ) and structural Hµ(t ). We introduce two separate models forA (t ) and Hµ(t ), based on different principles and capable of catching long uptrends in volatility. To test statistical significanceof its abilities we introduce several estimators of conditional and unconditional probabilities of reversals in observed and predicted dynamic components of volatility. Our results could be used for forecasting points of market transition to an unstable state.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Forecasting coherent volatility breakouts»

УДК 336.76 (045) =111

ПРОГНОЗИРОВАНИЕ КОГЕРЕНТНЫХ РАЗРЫВОВ ВОЛАТИЛЬНОСТИ

ДИДЕНКО АЛЕКСАНДР СЕРГЕЕВИЧ

директор по планированию и организации НИР, Финансовый университет, Москва, Россия E-mail: [email protected]

дубовиков Михаил Михайлович

заместитель генерального директора, ОАО «Индекс-ХХ», Москва, Россия ПуТКО БОРИС АЛЕКСАНДРОВИЧ

преподаватель кафедры «Математика-1», Финансовый университет, Москва, Россия АННОТАЦИЯ

Разработана методика долгосрочного (до нескольких месяцев) прогнозирования разворотной динамики во-латильности с использованием свойств длинной памяти финансовых временных рядов. Предложенный в [1] алгоритм вычисления фрактальной размерности через покрытие предфракталами используется для декомпозиции волатильности на удельную A (t) и структурную HПредложены модели динамических компонент волатильности, способные предсказывать длинные восходящие в ней тренды. Для проверки статистической значимости прогнозов введены функции оценки условных и безусловных вероятностей для наблюдаемых и прогнозируемых компонент. Наши результаты могут быть использованы для предсказания точек перехода рынка в нестабильное состояние.

Ключевые слова: фондовый рынок; ценовой риск; фрактальная размерность; крахи рынка; ARCH-GARCH модель; модели волатильности как амплитуды; многомасштабная волатильность; развороты волатильности; технический анализ.

FORECASTING COHERENT vOLATILITY BREAKOUTS

alexander s. didenko

Financial University under the Government of Russian Federation Email: [email protected]

mikhail m. dubovikov

Deputy CEO, «lndex-ХХ» Company BORIS A. POUTKO

Lecturer, Department of Mathematics, Financial University under the Government of Russian Federation

ABSTRACT

The paper develops an algorithm for making long-term (up to three months ahead) predictions of volatility reversals based on long memory properties of financial time series. The approach for computing fractal dimension using sequence of the minimal covers with decreasing scale (proposed in [1]) is used to decompose volatility into two dynamic components: specific A (t) and structural H^t).We introduce two separate models for A (t) and H) , based on different principles and capable of catching long uptrends in volatility. To test statistical s ignificance of its abilities we introduce several estimators of conditional and unconditional probabilities of reversals in observed and predicted dynamic components of volatility. Our results could be used for forecasting points of market transition to an unstable state.

Keywords: stock market; price risk; fractal dimension; market crash; ARCH-GARCH; range-based volatility models; multi-scale volatility; volatility reversals; technical analysis.

1. INTRODUCTION

At least from early 1950-s volatility, taken as a proxy for price risk, is being at the core of financial theory and practice. There is still significant gap between the latter and the former in defining the very notion of volatility: while most practitioners admit that volatility is the range between maximum and minimum price, theoretical finance holds volatility merely as the variance (or standard deviation) of returns. This approach is rooted in the seminal paper authored by Bachelier [2], the father of random walks theory (RWT). His findings were independently re-discovered and justified by Osborne [3]. General RWT line of thoughts was adopted by Markowitz, who suggested to use variance [4] and later — semivariance [5] of returns as a proxy for risk. Soon ideas of Bachelier and Osborne became central to capital asset [6], and option pricing theories (e.g. Black-Sholes model, [7]). Currently there is vast amount of literature which undermines random walks approach from empirical side, and another, of comparable size, which supports it, predominantly from theoretical positions.

One of the earliest works to raise the question of the adequacy of Bachelier' model assumptions, became Fama's empirical study [8] of whether stock returns follow normal or stable Paretian distribution (the latter suggested by Fama's supervisor Mandelbrot in [9] and [10]). Author describes the following stylized fact: although the changes in prices (yields) show no autocorrelation (as prescribed by RWT), there is still very significant autocorrelation of squared and absolute price changes. Paper by Fama had generated significant interest to empirical facts about observed time series and its deviations from what was predicted by RWT, including volatility clustering. This eventually led to Engle's propositions of a new class of stochastic processes — autoregressive conditional heteroscedasticity (ARCH) — which accounted for mentioned stylized fact about variance [11]. Engle's contribution has spawned a whole new area in finance, whithin which many ARCH-type models were proposed, and above all — dozens of modifications of the conditional variance equation. The most significant contribution in this area belongs to Bollerslev, who generalized ARCH to GARCH in [12], and Nelson, who developed exponential GARCH — EGARCH [13].

After stylized facts about the variable structure of volatility on different time scales was documented [14], another subclass of ARCH-type processes — HARCH — was proposed in [15], in which volatility-variance was modeled simultaneously for multiple time scales. The authors justified their approach by stating that as market participants differ by their preferred investment horizon, volatility parameters at different time scales can and should differ too.

In parallel with the school of thoughts which regarded volatility as variance, another view on the financial markets has evolved, based on the so-called «Dow theory». Initially this approach took into account only closing prices (comp. Bachelier, for which a financial time series were the sequence of returns). However, very soon practitioners who followed tradition to capture price data in the «open-high-low-close» format have discovered a number of analytical heuristics based solely upon the use of highs and lows data. These heuristics (connected with «Dow theory") were called «technical analysis». It is believed that the first collection of these heuristics in some semblance of the theory were implemented by Edwards and Magee ({Edwards: 1948ve}). Subsequently, their work has been reprinted many times, and the «theory» has acquired a number of offshoots and apocrypha. Despite the widespread use of it in market practice, it has long history of being criticized by academicians.

In Edwards and Magee version of technical analysis volatility was understood as the range between extreme highs and lows for the period. Apparently, the first attempts to draw the attention of the academic community on the importance of the ranges have been made in 1980 by Parkinson ({Parkinson: 1980uy}) and Garman ({Garman: 1980wn}). Parkinson shows that even under random walk assumption, price ranges (called «extreme values") should be more effective as estimators of volatility than squared or absolute returns. These conclusions were supported by the following stylized facts: autocorrelation of price ranges is significantly higher than autocorrelation of squared and absolute returns.

Originally Parkinson and Garman-Klass volatility estimators received relatively limited attention of academic environment (among few papers developing their ideas before 2006 ([19],

[20] and could be named). In recent years there has been a surge of interest to modeling volatility as a range, see e.g. A brief overview of models of this type is shown in; more detailed introduction is given in. It is noteworthy that almost all proposed models of this kind are also of GARCH type. In all mentioned papers volatility is modeled and predicted only on one, more or less arbitrary selected scale; the possibility of a complex structure of volatility across time scales is ignored. More to it, ARCH/GARCH-type model would be predominately «predicting the past», i.e. forecasting low volatility when observed volatility is low and high volatility, when the opposite is observed.

The rest of the paper is organized as follows. Next session introduces an algorithm to unbundle structural (scale-specific) dynamic component of multiscale volatility from time-specific dynamic component using fractal measure introduced by Dubovikov in [1]. Sections 3 introduces two separate models for these dynamic components, addressing mentioned issues (i.e. ability to predict volatility reversals on many scales simultaneously). Several estimators of conditional and unconditional probabilities of reversals in observed and predicted dynamic components of volatility are also introduced in Section 3 and subsequently used to backtest suggested algorithm on several major assets. Section 4 concludes.

2. DYNAMIC VOLATILITY COMPONENTS

Our research builds upon and further extends results reported in [16], [17], [18]. We use the following notation, adopted in previous works. Let P(t) denote a price time-series, considered on the inter-

5

val [t -dc, t], where Sc is called characteristic scale of P(t). Let Sk be aliquot divisor of Sc, i.e. 5k .

k

Let Al,..,Ak be the partition of [t-Sc,t] to k segments [t-Sc,t] . Then

AP(A.) = max(P,A.) - min(P,A.) would be the amplitude of the function P(t) on interval i and

k

Vp{Sk)=X AP(A.) would be variation of P(t) on the interval [t -Sc, t].

i=1

Important to note, that withSk ^ 0 (hence k ^to ) VP (8k) becomes directly related to the fractal dimension of P(t), namely:

VP (S )~sr (1)

Moreover,

\i = D -1 (2)

where D is fractal dimension of P(t). If S0 = 0 • then parameter \x could be estimated using regression of the form

logV (5k) = a-^log(Sk) (3)

wherein the estimate of \x would not depend upon log base in (3) (unlike a estimate). To make \x interpretation more intuitive it is advisable to subtract it from unity

H* = 1 (3.1)

and let

a = A ) (3.2)

According to results previously reported in [16], [18], regression (3) have extremely high determination coefficient (almost equal to 1), which makes estimates of H V) and A °(t) virtually independent of the choice of divisors forSc .Interpretation of H V) and A °(t) is as follows. H V )shows expected

change in the average range across scales (i.e. how, for example, average volatility of the daily data would differ from the average volatility of the weekly data). In other words, it shows how the scale factor affects the average volatility. A °(t) in turn, according to the standard interpretation of the regression would show expected volatility (average range) of the series, when the scale factor is zero, that is, the volatility of the «unit» scale. We propose to call A °(t) specific and H V) — structural volatility.

In this research we use weekly time series, with Sc = 32. Regression (3) could be continiously estimated on [t -8c, t], which would result in series of dynamic variables H V) and A °(t). In [16] it was shown that the dynamics of these variables is determined by the behavior of the price series P(t).

Namely, the following types of price behavior could be defined:

1. Trend (both upward and downward), when there is a significant price change on the scale of characteristic order. Volatility rises sharply on intervals with trend. It is shown that as a rule the beginning

of the trend is accompanied by a fall in H V), and maintaining trend condition requires relatively

small values of this function.

2. Flat, or sideways move, when the price varies little on scales comparable to the characteristic one.

Empirically, entry into flat is often accompanied by an increase of H V), and maintaining flat condition requires relatively high values of this function.

3. Walks, an intermediate state between the trend and flat. Further, the following relation holds:

log8e[V(Sc)] (4)

From (4) it follows that the most pronounced pattern of the market entering the unsteady state period

should be when the function a(t) rises, and n(t) drops sharply (i.e. H (t) and A (t) rise simultaneously).

We propose to call such period of financial time the coherent breaks. As the coherent break corresponds

to the most significant price changes, if some model for H ^t) and A °(t) would be capable of forecasting

these parameters, it would to a certain extent allow to predict periods of market unsteady states.

3. FORECASTING COHERENT BREAKOUTS

To model H V) we use regression analysis. The form of the regression is based on the fact that this function has a fairly pronounced quasi-cyclic structure, i.e. its evaluation function can be obtained using the Fourier harmonics. Fitting the model is done as follows: first, regression of the form

H V) = c1 + c2 sin(rot) + c3 cos(rot) (5)

is fitted for all frequencies co, taken with step

A = 0.0001 on the [0, 0.1]. Second, local maximas of the function R2 (ro) are considered. Empirically,

for any given t there would also be 2-3 local extremes, which are clearly distinguishable (typical chart is given on the Fig.)

The model is built is as follows: regression (5) is constructed with a frequency corresponding to the maximum value of the determination coefficient. Then, the evaluation function is subtracted from the original. For the residual function regression (5) is considered again. The procedure continues as long as the adapted coefficient of determination increases.

/V H

As a result, the evaluation function JJ (t) is represented in the form:

k

JJ"(t) = c + YJ[ai sin(ro.t) + b cos(ro.t)] (6)

i=i

Usually, the coefficient of determination reached an average of about 0.7.

As for the A °(t) function, the most convenient way for its prediction is technical analysis indicator Zig-Zag, ([19], [20]), which is essentially a piecewise linear approximation of the function. Trend intervals of A°(t) are approximated with straight lines. The direction of the piecewise linear trend is

changing if the trend in the function being evaluated reverses at a value greater than a certain value, which is a parameter of the function Zig-Zag. As the angle of the left segment of the function may change every time when new data appears on the left side of the chart, Zig-Zag is recalculated at each step of our backtest.

When backtesting the model described, we have focused on identifying capability of the model to forecast long spans of coherent breaks. Estimators of H ^t) and A °(t) were built continuously for window of 480 observations moving along P (t) with step of 4 observations (which accounts for approximately one month in case of weekly sampled data). The object of the test was to measure the relative

share of predicted dynamics for J ^t) and A °(t) matched to observed dynamics. We tested for ability

of the model to forecast areas of coherent breaks for horizon of 8, 12, 16 weeks. To do that we considered following functions:

Index

Function R2 (co) for S&P-500 Index (daily data)

K(4, 8) = ant{(sign[a(t + 4) - a(t)] + sign[a(t + 8) - a(t + 4)] + 2) / 4} x ant{sign[^(t) - n(t + 4)] +

+ sign[^(t + 4) - n(t + 8)] + 2) / 4}

K (4,12) = ant {(sign[a(t + 4) - a(t)] + sign[a(t + 8) - a(t + 4)] + sign[a(t +12) -a(t + 8)] + +3) / 6} * ant{sign[p(t) - n(t + 4)] + signet + 4) - n(t + 8)] + +sign[^(t + 8) - n(t +12)] + 3) / 6}

K (4,16) = ant {(sign[a(t + 4) - a(t)] + sign[a(t + 8) - a(t + 4)] + sign[a(t +12) - a(t + 8)] + +sign[a(t +16) - a(t +12)] + 4) / 8} * ant{sign[p(t) - n(t + 4)] + sign[^(t + 4) - n(t + 8)] + +sign[^(t + 8) - n(t +12)] + sign[^(t +12) - ^(t +16)] + 4) / 8}

For both observed and predicted H^t) and A °(t) functions K(4,8), K(4,12), K(4,16) would be

equal to 1, when coherent break of length 8,12,16 is observed or forecasted, respectively, and zero in all other cases.

Then we built functions £(4, i) = Kh (4, i)Kf (4, i) (i = 8,12,16) where Kh (4, i) and Kf (4, i) are defined for historicas and forecasted data, respectively. Then we compare unconditional statistic probability of coherent breaks

V " [Kh (4, i)]

P (4, i) = ^—yjjl N

where N is the total number of observations of historical K (4, i); with unconditional probability, i.e. probability of coherent break conditional on the fact, that the break (i.e. coherence in H (t) and A (t) change) was predicted:

2 NJL (4, i)]

P (4, i ) =

/ч ' ' N

2 nj k ' (4.1)1

Typical results are listed in Table.

Unconditional frequency of Unconditional frequency of coherent

Financial time series coherent breaks of length l breaks of length l

l =8 l =12 l =16 l =8 l =12 l =16

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

S&P500 0.063 0.024 0.004 0.103 0.038 0.000

MICROSOFT 0.049 0.016 0.000 0.090 0.000 0.000

AMAZON 0.131 0.066 0.016 0.150 0.111 0.000

Similar results hold for other financial assets.

4. CONCLUSIONS

As seen from Table 1, the prediction of the coherent break in most cases significantly increases the probability of its occurrence. This effect is most pronounced for a horizon of 8 and 12 weeks, while at the same time for 16 weeks horizon forecasting opportunities are vanishing. This is because the coherent breaks of such length are extremely rare. At the same time, it should be noted that in almost all cases, when

there was a coherent break of the length more than 12 weeks, the model predicted the break of up to 12 weeks length. Thus, the presence of the prediction of coherent break could be accounted for observed risk factor of the market transition into an unsteady state.

This article was prepared as a result of research carried out under funding received for State Assignment of Russian Federation for Financial University in 2014.

Authors are grateful to V.B. Gisin and V.Yu. Popov for their valuable comments made while preparing the manuscript; and to E. Tkachev and V. Surin - assistant programmers of International Financial Laboratory (Financial University), for their effort in managing project code and database.

REFERENCES

1. Dubovikov M.M., Starchenko N.V., Dubo-vikovM.S. Dimension of the minimal cover and fractal analysis of time series. Physica A: Statistical Mechanics and its Applications. 2004, vol. 339, no 3-4, pp. 591-608.

2. Bachelier L. Théorie de la spéculation. 1900.

3. Osborne M. F. Brownian motion in the stock market. Operations Research. INFORMS, 1959, vol. 7, no 2, pp. 145-173.

4. Markowitz H. Portfolio selection. The Journal of Finance. Wiley Online Library, 1952. vol. 7, no 1, pp. 77-91.

5. Markowitz H. Portfolio Selection: Efficient Diversification of Investments. John Wiley & Sons, Inc., 1959.

6. Sharpe W.F. JSTOR: The Journal of Business, vol. 39, no. 1 (Jan., 1966), pp. 119-138 // Journal of Business. 1966.

7. Black F., Scholes M. The Pricing of Options and Corporate Liabilities. The Journal of Political Economy. 1973. vol. 81, no 3, pp. 637-654.

8. Fama E.F. The behavior of stock-market prices. Journal of Business. JSTOR, 1965, pp. 34-105.

9. Mandelbrot B.B. Stable Paretian random functions and the multiplicative variation of income. Econometrics. JSTOR, 1961. pp. 517-543.

10. Mandelbrot B.B. The Stable Paretian Income Distribution when the Apparent Exponent is

Near Two. International Economic Review. 1963, vol. 4, no 1, pp. 111-115.

11. Engle R.F. Autoregressive conditional hetero-scedasticity with estimates of the variance of United Kingdom inflation. Econometrica. JSTOR, 1982. pp. 987-1007.

12. Bollerslev T. Generalized autoregressive conditional heteroskedasticity // Journal of Econometrics. Elsevier, 1986, vol. 31, no 3. pp. 307-327.

13. Nelson D.B. Conditional heteroskedasticity in asset returns: A new approach. Econometrica. JSTOR, 1991, pp. 347-370.

14. Guillaume D.M. et al. From the bird's eye to the microscope: A survey of new stylized facts of the intra-daily foreign exchange markets. Finance and stochastics. Springer, 1997. vol. 1, no 2, pp.95-129.

15. Müller U.A. et al. Volatilities of different time resolutions — Analyzing the dynamics of market components. Journal of Empirical Finance. 1997, no 4, pp. 213-239.

16. Dubovikov M.M., Starchenko N. V., Dubovikov M.S. Dimension of the minimal cover and fractal analysis of time series. Physica A: Statistical Mechanics and its Applications. 2004, vol. 339, no 3-4, pp. 591-608.

17. Dubovikov M.M., Starchenko N. V. Ekonofizika i fraktal'nyi analiz finansovykh vremennykh riadov [Econophysics and fractal analysis of financial time series]. Uspekhi Fizicheskikh Nauk — Advances in Physical Sciences, 2011, vol. 181, no. 7, p. 779. (In Russ.)

18. Putko B.A., Didenko A.S., Dubovikov M.M. Model' volatil'nosti obmennogo kursa va-liut (RUR/USD), postroennaia na osnove fraktal'nykh kharakteristik finansovogo riada [Model of volatility in exchange rate (RUR / USD) built on the basis of fractal characteristics of the financial series]. PRIKLADNAIA EKONOMETRIKA — Applied Econometrics, 2014, vol. 36, no. 4. pp. 79-87. (In Russ.)

19. Achelis S.B. Technical Analysis from A to Z. Irwin Professional Publishing, 1995.

20. Raftopoulos S. Zigzag Validity.TECHNICAL ANALYSIS OF STOCKS AND COMMODITIES-MAGAZINE EDITION. TECHNICAL ANALYSIS, INC, 2002, vol. 20, no 8. pp. 28-33.

i Надоели баннеры? Вы всегда можете отключить рекламу.