

SPY: the trend ain't your friend any more 
Written by Forex Automaton  
Thursday, 12 February 2009 14:58  
Having made so many references to bipolar disorder in the behavior of currencies, it seems appropriate, despite the forex focus of this research blog, to visit the market where the image of manicdepressive Mr Market was first conceived (by B.Graham): the stock market. I apply correlation analysis of logarithmic returns to the day data on the popular SPDR S&P 500 ETF, the SPY. This working paper on SPY autocorrelations begins a new series where currencies and other markets, such as interest rates, commodities, and stocks will be observed and studied together within a uniform framework of correlation analysis. Executive summary: 16 years of daily SPY data invalidate the behavioral pattern of waiting for and following Mr Market's "nod of approval"  by showing the market, everything else being equal, to "selfcontradict" and reward contrarians. This is particularly true in the extreme volatility environment of today. Momentum investing, a strategy that aims to capitalize on the continuation of existing trends, requires positive autocorrelation at nonzero time lags to be justified statistically. Contrarian investing, a strategy that aims to capitalize on the trend reversals, is justifiable by negative autocorrelation at nonzero time lags. Any nonzero correlation at nonzero time lags make the market look akin to predictable correlated phenomena in our everyday experience (such as seasonal variations of temperature). Predictive correlations (those at nonzero lags) make "easy" arbitrage income possible in principle. The efficient market hypothesis (EMH) postulates that the "easy" money is perpetually "already made"  without specifying the time scale. Therefore predictive correlations, when distinguishable from random noise, contradict the market efficiency hypothesis by quantifying both the magnitude and time scale of market inefficency. Random noise for the EMH falsification can be obtained by martingale simulations on the basis of measured (usually not so trivial) return distributions. In a nutshell for the new reader, this is the essence of the programme of market observation and analysis which complements, both intellectually and as a business project, our development of own forex forecasting engine.
Fig.2 shows the evolution of the correlation structure in the vicinity of zero time lag, representing the correlation structure as a triplet of correlation values: those at zero, one and two day lags. The increased volatility shows up as the increase in the magnitude of all these values, with variance (a measure of volatility) being fairly well represented by the magnitude of the zero time lag value.
In Fig.3, the correlation pattern in the vicinity of the zero time lag bin is investigated with the focus on the rest of the time lags (in addition to the three shown in Fig.2) and on the issue of statistical significance. The latter issue is addressed by MonteCarlo simulating independent time series with the SPY volatility of the period (A,B,C, or D), from which the expectation value and the RMS of the correlation value asifthemarketwereefficient are inferred. Significant (several RMS) deviations of the measured values from the Monte Carlo reference form the basis for interpretation, the goal being to find the betterthancasino aspects of the markets on the time scale of observation, days in our case.
The top three panels in Fig.3, repeated on the same plot in Fig.4, make any kind of jumping on the bandwagon (and these studies make no difference between bullish and bearish bandwagon) hard to justify: in the range of day lags up to fifteen days, the bias towards negative correlation values is hard to deny, even though negative signals at individual bins rarely exceed 2 RMS. A negative autocorrelation value associated with a particular time lag indicates that the product of oppositesign returns separated by this time lag outweighs that of samesign in averaging  either because the opposite sign returns are too large or because they are too frequent. In the periods of high volatility, labeled B and D, nextday autocorrelation deserves a special mention as it stands out of the red noise background. The magnitude by which it does so is a lot larger in case D. Same conclusion could be reached by looking at Fig.2, top panel. It is tempting to conclude that the nextday "bipolar disorder" is the characteristic feature of high volatility periods. Being a human psychology factor, it possibly plays a considerable role in driving the dynamics of these historic periods. The data used are from the period 19930201 to 20090201. 

Last Updated ( Monday, 04 January 2010 12:40 ) 