88
Financial Modelling using the Fractal Market Hypothesis J M Blackledge Stokes Professor Dublin Institute of Technology http://eleceng.dit.ie/blackledge Distinguished Professor Warsaw University of Technology Lectures co-financed by the European Union in scope of the European Social Fund Friday 5 th March, 2010: 11:00-13:00

Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Embed Size (px)

Citation preview

Page 1: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Financial Modelling using the Fractal Market Hypothesis

J M BlackledgeStokes Professor

Dublin Institute of Technologyhttp://eleceng.dit.ie/blackledge

Distinguished ProfessorWarsaw University of Technology

Lectures co-financed by the European Union in scope of the European Social Fund

Friday 5th March, 2010: 11:00-13:00

Page 2: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

What is the Problem?• Financial indices are digital signals

composed of tick data corresponding to different measures of an economy over a range of scales

• Is it possible to analyse these signals in such a way that a prediction can be made on their likely future behaviour or trend ?- Time Series Forecasting- Systemic Risk Assessment

Page 3: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Financial Risk Management ?

Page 4: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

What is Capitalism?

FearGreed

Balance

Page 5: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

The Price of Greed

Greed Fear

Balance

Page 6: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

FMH Approach to a Solution

The FMH operator:

q(t)=1.1q(t)=1.8

q(t)=1.1q(t)

Hypothesis: A change in q(t) precedes a change in a financial signal

Page 7: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Principal Papers

Application of the Fractal Market Hypothesis for ModellingMacroeconomic Time SeriesBlackledge J M, ISAST Transactions on Electronics andSignal Processing, No.1, Vol. 2, 89-110, 2008 ISSN:1797-2329 http://eleceng.dit.ie/papers/106.pdf

Systemic Risk Assessment using a Non-stationary Fractional Dynamic Stochastic Model for the Analysis of Economic Times Series, Blackledge J M, ISAST Transactions on Electronics and Signal Processing, 2010 (Submitted) http://eleceng.dit.ie/papers/148.pdf

Page 8: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Contents of Presentation IPart I:

• What are Fractals?

• Random Walks and Hurst Processes

• Random Walks and the Fractional Diffusion Equation

• Fractional Calculus

• Basic Model for a Stationary Process

• Levy statistics and the Fractional Diffusion Equation

• Questions

• Interval (10 Minutes)

Page 9: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Contents of Presentation IIPart II:

• The Efficient Market Hypothesis

• Properties of Financial Signals

• The Fractal Market Hypothesis

• Numerical Algorithms

• Example Results

• Case Study: ABX index analysis for the Bank of England

• Summary and Research Project Proposals

• Questions

Page 10: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Part 1: What are Fractals ?

“The term fractal is derived from the Latin adjectivefractus. The corresponding Latin verb frangeremeans ‘to break’, to create irregular fragments. In addition to ‘fragmaneted’ fractus should also mean ‘irregular’, both meanings being preserved in fragment”.

B Mandelbrot

Page 11: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Euclidean & Fractal Dimensions

copyright

Page 12: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fundamental Definition of the Fractal Dimension

Page 13: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Types

Page 14: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Underlying Philosophy

copyright

In every way one can see the shape of the sea

Page 15: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Self-AffineStructures

Page 16: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractals and Texture

copyright

“Much of Fractal Geometry can be considered to be an intrinsic study of texture” B Mandelbrot

Page 17: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Clouds: D=2.1

Page 18: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Clouds: D=2.2

Page 19: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Clouds: D=2.3

Page 20: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Clouds: D=2.4

Page 21: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Clouds: D=2.5

Page 22: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Clouds: D=2.6

Page 23: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Clouds: D=2.7

Page 24: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Clouds: D=2.8

Page 25: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractal Clouds: D=2.9

Page 26: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Random Walks & Hurst Processes

Brownian Motion

Page 27: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Random Fractal Walks with a Variable Hurst Exponent

H=0.6 H=0.7

H=0.8 H=0.9

Page 28: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Random Walks and theFractional Diffusion Equation

• q=1: Diffusion Equation• q=2: Wave Equation• 1<q<2: Fractional (Fractal) Diffusion Equation

Hurst exponent H: Fourier dimension: 0<H<1, D=2-H 0<q<2; D=(5-2q)/2 (0.5<q<1.5)

H>0.5 (q>1): random walk with persistenceand directional bias

Page 29: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractional Calculus

• L’hospital to Leibnitz (1695):‘Given that dnf/dtn exists for all integer n, what if n be 1/2'.

• Leibnitz to L’hospital:‘It will lead to a paradox ... From this paradox, one day useful consequences will be drawn'.

Page 30: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractional Integration

Page 31: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fundamental Property:Statistical self-affinity

Page 32: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractional Integral Transforms

• Riemann-Liouville transform

• Erdelyi-Kober transform (a generalised fractional integral)

Page 33: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Basic Model for aStationary Process

Let n(t) be a ‘white noise’ source and

Page 34: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Transformation Equation

Page 35: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Green’s Function Solution

Page 36: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Power Spectrum Characteristics

log(Power Spectral Density Function)

= log(constant) + q log(frequency)

Page 37: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fundamental Solution (ignoring scaling constants)

Solution is statisticallyself-affine

Page 38: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Characteristic Noise

Page 39: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Levy Statistics and the Fractional Diffusion Equation

Levy’s question:Under what circumstances does thedistribution associated with a random walk of a few steps look the same asthe distribution after many steps (except for scaling)?

Under what circumstances do we obtain a random walk that is statistically self-affine?

Page 40: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Characteristic Function and theProbability Density Function

• Levy’s characteristic function:

• PDF:

Page 41: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Evolution Equation for a Brownian Process

• Describes the concentration of particles that move over a distance x with probability p(x).

• In Fourier space this equation is

Page 42: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Fractional Diffusion Equation

• Consider the characteristic function

• We can then write

Page 43: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Relationship between the Levy Index and the Fourier Dimension

• Green’s function is given by

• Implies the following relationship:

Page 44: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Summary

• Random walks with a directional bias are Hurst process – fractional Brownian motion

• Hurst processes are a generalisation of Brownian motion and classical diffusion

Page 45: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Summary (continued)

• We have considered a model for a financial signal compounded in the fractional PDE

• The solution to this equation is, for

which is a random fractal signal with property

Page 46: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

In the Following Lecture…• We shall investigate the properties of

financial signals

• Consider a non-stationary model based on the operator

• Develop a moving window based algorithm to compute q(t) for a financial signal

Page 47: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Questions+

Interval (10 Minutes)

Page 48: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Part II: Contents• The Efficient Market Hypothesis

• Properties of Financial Signals

• The Fractal Market Hypothesis

• Numerical Algorithms

• Example Results

• Case Study: ABX indices

• Questions

Page 49: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

The Efficient Market Hypothesis

The Theory of Speculation

Louis Bachelier, PhD Thesis, 1900

• Used Brownian motion to evaluate stock options

• Basis for the EMF

Efficient Market Hypothesis

Page 50: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Example of an EMH Model:The Black-Scholes Equation

Assumes market is astationary Gaussian process!

Page 51: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

EMH .v. FMH:Principal Differences

Page 52: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Is an Economy Based on Stationary Gaussian Processes?

FTSE: 1984-2007

Log price difference

White Gaussian noise

Page 53: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Does an Economy have Memory?

Absolute Log price difference

Autocorrelation function

Page 54: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Memory and Fractional Differentiation

• Differentiation of a function is a localised operation; it ‘measures’ the gradient of a function at a point

• Fractional differentiation depends on the history of the function – its memory

Page 55: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Does an Economy Have Repeating Patterns? (Elliot Waves)

0 2 0 0 4 0 0 6 0 0 8 0 0 1 0 0 0 1 2 0 00 . 4 5

0 . 5

0 . 5 5

0 . 6

0 . 6 5

0 . 7

0 . 7 5

0 . 8

0 . 8 5

0 . 9

0 . 9 5

2004-08 (April)

1984-88 (April)1994-98 (April)

Normalised FTSE (COD) Macrotrends

Page 56: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Is an Economy Continuously Stable at all Scales?

0 200 400 600 800 1000 12001700

1800

1900

2000

2100

2200

2300

2400

2500

2600

2700

Hilbert Transform

Page 57: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Does the FMH work?FMH Simulation

Dow Jones Reality

EMH

Pr[q(t)]=Gauss(x)

Page 58: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Non-stationary Signal Processing

• Requires application of ‘moving windows’ to compute q(t): Time-frequency methods in DSP

• Hypothesis:A change in q(t) precedes a change in a macroeconomic index (e.g. FTSE)

Page 59: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Computing q(t)

• Applying a moving window to the signal(user defined)

• For each window, assume a stationary process where the signal is given by

Page 60: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Power Spectrum Method

Page 61: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Data Fitting Methods

• Least Squares Method: Minimise

• Orthogonal Linear Regression (OLR)

• Note: DC level is omitted from input as it measures the scale of the signal and not its fractal dimension

Page 62: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Principal Algorithm

Page 63: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Principal Algorithm (continued)

Page 64: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

The Wavelet Transform

Page 65: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

FMH Wavelet

Page 66: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Example Result

Dow Jones Close-of-Day data from 02-11-1932 to 25-03-2009.

Dow Jones data (blue – after normalization) and q(t) (red) computed using a window of size 1024.

Page 67: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

FTSE . V . DJ

DJ Close-of-Day data from 25-04-1988 to 20-03-2009.

FTSE Close-of-Day data from 25-04-1988 to 20-03-2009.

100 bin Histogram of q

100 bin Histogram of q

Page 68: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Statistical Properties of q(t)

Page 69: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Post-processing: Filtering q(t)

• By low pass filtering q(t) macrotrends can be detected.

• Imperative that a filter is used that:- guarantees smoothness- shape preserving- locally data consistent

• Requires application of a Variation Diminishing Smoothing Kernel (VDSK)

Page 70: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Gaussian VDSK

• Gaussian low-pass filter given by

• β determines the detail observed in q(t)

• Filtering must be based on end-point-extension method in order to preserve consistency of the filtered data, i.e. eliminate wrapping

Page 71: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Example: FTSE (Close-of-Day)19 March 2004 – 26 November 2008

q(t)

FTSE (Normalised)

Min on 10 May ‘07

Max on 19 June ‘07

Macrotrends

NormalisedGradients

Page 72: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Case Study: ABX Index Analysis

Grades for the ABX Indices from 19 January 2006to 2 April 2009 based on Close-of-Day prices.

Page 73: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

What is an ABX Index ?• The index is based on a basket of Credit Default Swap

(CDS) contracts for the sub-prime housing equity sector.

• Credit Default Swaps operate as a type of insurance policy for banks or other holders of bad mortgages.

• If the mortgage goes bad, then the seller of the CDS must pay the bank for the lost mortgage payments.

• Alternatively, if the mortgage stays good then the seller makes a lot of money.

• The riskier the bundle of mortgages the lower the rating.

Page 74: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

AAA: 24-07-2006 - 02-04-2009

Page 75: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

AA: 24-07-2006 - 02-04-2009

Page 76: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

A: 24-07-2006 - 02-04-2009

Page 77: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

BBB: 24-07-2006 - 02-04-2009

Page 78: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

BBB-: 24-07-2006 - 02-04-2009

Page 79: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Statistical Characteristics of q(t) for ABX Indices

Page 80: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Demonstration Softwarehttp://eleceng.dit.ie/arg/downloads/FMH.zip

Page 81: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

What Went Wrong?The Human Factor

“I am in blood,stepp’d in so far that, should I wade no more,returning were as tedious as go o’er.”

Replace the word ‘blood’ for ‘debt’ and thetrend was set irrespective of the Hypothesis

Page 82: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Summary

• Market dynamics are fractional dynamics

• Many economic signals are non-stationary random scaling fractals

• FMH operator:

• FMH Hypothesis:A change in q(t) precedes a change in a macroeconomic index

Page 83: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Summary (Continued)• q(t) is computed using the OLR method

and a moving window

• q(t) is filtered using a Gaussian VDSK to reveal macrotrends

• q(t) provides a measure of

Bear .v. Bull

Page 84: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Open Problems• What is the best way to interpret q(t), i.e. how

should q(t) be post-processed to best ‘reflect’ the FMH: - statistical interpretation of Pr[q(t)] ?- Bayesian analysis?

• What other fractal measures could be used ?

• What is the effect of considering a multi-dimensional model with FMH operator:

Page 85: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Research Project Proposal 1:Multi-Fractal Analysis

Fuzzy logic

Knowledge Data Base

DSP

Decision

Feature vector to include multi-fractal parameters q=1,2,…

Featurevector

Economic signal

http://www.tradingsolutions.com

Page 86: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Research Project Proposal 2:Currency Exchange Rate Analysis

http://www.augustus.co.uk/

Page 87: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic

Q & A

Page 88: Financial Modelling using the Fractal Market Hypothesiskonwersatorium.pw.edu.pl/wyklady/2010_VLZ7_01_wyklad.pdf · Research Project Proposal 1: Multi-Fractal Analysis Fuzzy logic