(c) 2007 - 2008 Complex Dynamics Ltd Modelling Foreign Exchange Using coupled nonlinear oscillators to predict the financial markets. This page describes the nature of chaos in the markets. Prof. Still has a PhD in Crowd Dynamics (click here for further information).
|
Modelling the Market
Herding, going with the flow, jumping on the next wave, keeping in the pack, playing safe, betting on trends are all features of crowd dynamics and can be, in fact often are, contrary to conventional trading signals. To examine the crowd dynamics in a financial market we first consider a model of collective decision making. Why might a person, or group, base a decision on one reason rather than on a combination of reasons? Combining information in different cues requires converting them into a common framework, a conversion that may be expensive (in time or mental effort) if not actually impossible. For instance, taking a decision on the basis of several cues combined into one assessment of each option. For example a choice of stocks/bonds/options - one may have to evaluate Value at Risk, investment, fundamentals, global economies etc. To solve these kind of problems one typically adopts an heuristic optimization process. Standard models of optimization, whether constrained or unbounded, assume that there is a common framework for all beliefs and desires, namely, quantitative probabilities and utilities. Although this is a mathematically convenient assumption, the way we look at the world does not always conform to it. The mind has little choice but to rely on a fast and frugal strategy it bases its decision on just one good reason for many real-life decisions. Take driving a car as an example, the mind processes a vast array of different types of information but only acts on perception of relative potential threat (or danger). The phenomena of cars speeding up in thick fog is a result of this balance of the perception of threat. "I don't know what is ahead, but I do know that IF I slow down then the car behind me will collide with me." We weigh risk - we don't mentally measure it and we do so using a simple heuristic approach. So how does this relate to the crowd dynamic in the financial markets? We first examine the nature of the financial dynamic. The following is paraphrased from "International Money and Foreign Exchange Markets" by Julian Walmsley (Wiley) Consider a simple non-linear model of exchange rate determination. Changes in the price of foreign currency, which we can denote by St for time t. We can make the assumption that St has a long-run equilibrium level, which we can denote by S' determined by such factors as relative money supply, output capacity etc. and can be assumed, for the purposes of this outline to be constant. The change in the log price of foreign currency is proportional to the gap between the level in the last period and the long-run equilibrium level. That is expressed as
The parameter Ɵ, which measures the speed with which the system returns to equilibrium, is related to St such that
The higher the St - that is the more expensive the foreign currency becomes and the more our domestic currency is devalued - the more quickly the system returns to equilibrium. This model is NOT an explanation of foreign exchange dynamics, but it highlights the non-linear behaviour of the Forex system in general terms. We can rewrite the above equations in the form
By our stated assumption (above) we have said that S' is constant. It is convenient, therefore, to specify a simplifying value for it. We can now write
then we can rewrite our equation for the change in the price of foreign currency as
which we can recognise as the logistic equation.
Relating this to the FX market this represents the end of a trend where the resources (counter parties) in the trading pool are satisfied with their position and trading activities change. Of course this can be immediately followed by trending to another attractor. The key element in the XenoFractal analysis is to identify which phase (point, strange or chaotic) the market is in NOW. We do this by using a phase diagram - however the XenoFractal mapping isn't a simple phase plot - we're plotting the non-linear coupled output against an agonic product of a noise filtered input. This produces a unique type of phase diagram.
Phase diagrams of the FX data By using a nonlinear coupled oscillator I discovered that the Forex data could be manipulated to show the internal dynamics. This uses the XenoFractal algorithm and the phase diagrams are shown below.
Above are a consecutive series of attractors in the Dollar/Yen data from 1994 showing the internal dynamics of the market. Note: The nature of the strange attractor changes indicating a change in the internal dynamics of the time series.
It illustrates that under reasonable assumptions the way that speculators processes information, chaotic behaviour in the market is possible. QED. Therefore if the analysis of exchange rate dynamics focuses on seeking to detect whether chaotic patterns exist NOW, namely - at this time, and until the system changes, the market is unpredictable. This is the fundamental principal of the exit signal in the system. Furthermore any trading system will NOT produced a reliable trading signal IF the underlying dynamic is chaotic. Putting this simply - don't trade in a chaotic dynamic. Applying this to the development and testing of a trading system - we go through our data set classifying it into chaotic and non-chaotic. Remove the chaotic data and train a system on the non-chaotic data. The system switches off trading when chaos is detected and only trades in the non-chaotic market dynamics. Thus the chaotic detector can be coupled to any existing trading system. A further analysis technique acts as a predictor exploring the attractors and projecting a cumulative trend using a superposition technique that emulates the crowd dynamics. Click here for the projected graphs of Dollar/Yen data. There are several potential applications to this research:
If you want further information - click here to send email Visitors |