1 / 45

The Microscopic Structure of Financial Markets: a brief introduction for physicists

The Microscopic Structure of Financial Markets: a brief introduction for physicists. a Research Group, Boronia Capital, Sydney, Australia b Special Research Centre for the Subatomic Structure of Matter (CSSM), University of Adelaide, Adelaide, Australia . M. Bartolozzi a,b.

Anita
Download Presentation

The Microscopic Structure of Financial Markets: a brief introduction for physicists

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Microscopic Structure of Financial Markets: a brief introduction for physicists • a Research Group, Boronia Capital, Sydney, Australia • b Special Research Centre for the Subatomic Structure of Matter (CSSM), University of Adelaide, Adelaide, Australia M. Bartolozzia,b Achievements & New Directions in Subatomic Physics, Adelaide 15 – 19 Feb 2010

  2. Outline • (Econo)Physics and finance • A brief introduction to high-frequency finance and market microstructure • Signal detection, persistency and Anti-persistency at short time scales • Empirical features of market microstructure and relaxation times in the imbalance between demand and supply • Conclusions

  3. What is Econophysics? “ Econophysics is the application of typical methods from physics to the study of the financial markets, seen as a complex system.” H. E. Stanley, Boston University, Boltzmann Medal 2004: “For his influential contribution to several areas of statistical physics…” Physica A, Vol. 285, p. 1 (2000) Exotic statistical physics with applications to biology, medicine and economics. However…it is nothing really that new! E. Majorana, Scientia, Vol. 36, 58 (1942) “On the value of the statistical laws in physics and in social sciences.”

  4. Physics and Finance: a very short history (I) • R. Brown (1827) -> Introduction of the concept of Brownian motion. • L. Bachelier (1900) -> The concept of Brownian walk is applied to the Paris Bourse. • A. Einstein (1905), P. Langevin (1908), N. Wiener (1923), K. Ito (1944) -> Development of stochastic calculus. • B.B. Mandelbrot (1963) -> Levy or other “fat-tailed” distributions seems to closer to empirical data that Gaussian distributions. • The ’80s -> The availability of electronic data start increasing exponentially thanks to new technologies. • 1997 -> “…the financial industry employs about the 48% of the new Ph.D. in mathematics and physics…”, Nature, Vol. 393, 496 (1998). • 1997 -> M. Scholes and R. Merton win the Nobel prize for the Black&Scholes – Merton model for Option pricing (F. Black has passed away in the meantime).

  5. Physics and Finance: a very short history (II) • 1990 – Today -> Econophysics articles are published on different prestigious journals such as Nature, Physical Review Letters, Physical Review E, Physica A, European Physical Journal B etc… • 1999 -> The European Physical Society recognizes Econophysics as a new area of research. • 2000 – Today -> Different textbooks are published. • 2000 – Today -> University courses are set up. Australia: ANU Canberra. • 2000 – Today -> Different Symposia and Conferences are held around the world.

  6. Textbooks in Econophysics J.P. Bouchaud and M. Potters – Theory of Financial Risk and Derivative Pricing: from Statistical Physics to Risk Management, Cambridge University Press (2003) J. Voit – The Statistical Mechanics of Financial Markets, Springer (2005) R.N. Mantegna and H.E. Stanley – An Introduction to Econophysics: Correlations and Complexity in Finance, Cambridge University Press (2000)

  7. High-Frequency Finance: the state of art in automated trading • High-frequency trading (HFT) broadly defines all the strategies which holding period is less than one day • In 2009 HFT accounted for about 60% of the total traded volume around the world (and it’s growing!). • HFT is suitable for all the liquid financial instruments (exchange rates, equities, futures, options, fixed income) • Why is HFT attractive? • Relative low risk and constant steady profit. • Low correlation with long term strategies and, therefore, allowing for diversification.

  8. Challenges in High-Frequency Finance • Dealing with very large data bases (order of Tb) for backtesting IT • Speed of execution Research • Identify a profitable strategy! • Possible Frameworks: • - Regime Recognition • - Event Trading • - Statistical arbitrage • - Market Making • - Microstructure Trading • - Cointegration • - Machine Learning

  9. Measuring Long Memory: Hurst and his dam The concept of Hurst exponent has been originally developed in the context of reservoir control on the Nile river dam project: Hurst’s algorithm is known as R/S (or rescaled range) analysis. H. Hurst, Trans. Amer. Soc. Civil Eng.116, 770 (1951)

  10. Hold on! Financial time series are non-stationary and “fat”-tailed: they are “not well behaved”. What is the consequence of this? Persistency and anti-persistency in non-stationary time series Following the spirit of Hurst, H has been used in different contest as a benchmark for persistency, anti-persistency or randomness in time series analysis. See E.E. Peters “Chaos and Order in Capital Markets”, Wiley finance edition (1991), for example. • H=0.5 random process • 0.5<H<1 persistency • 0<H<0.5 anti-persistency

  11. Hurst exponent in finance • During the years there has been a proliferation of methods to estimate the Hurst exponent (mostly outside the financial contest): • Rescaled Range (R/S) • Periodgram Regression • (m,k)-Zipf method • Average Wavelet Coefficient Method • ARFIMA estimation by exact maximum likelihood • Whittle estimation • Detrended Fluctuation Analysis • Detrended Moving Average However, no much attention has been dedicated to their “efficiency” when used on non-stationaryand fat-tailed data sets For a general review: T. Di Matteo, Quant. Finan.7(1), 21 (2007)

  12. How do they look like?

  13. Hurst exponent in futures markets: is it stationary? The local Hurst exponent is local either in time and scale Local Hurst exponent for S&P500 and DJ. L=8192 (~ 16 days). In orange a confidence interval based on Gaussian fluctuations.

  14. Hurst exponent in futures markets: possible exploitation?

  15. Time Dependent Dynamics: how to predict the next Hurst? Different distributions of the local Hurst exponent in three different periods (BP): the market can be hardly stationary!

  16. Expectation values for local Hurst exponents Indices Exchange rates Commodities Fixed income As the scale gets shorter we can move from H>0.5 to H<0.5. Moreover, the various financial instrument seem to cluster in separate classes.

  17. Indices Exchange rates Commodities Fixed income The EOD (and large deviations) issue End of day (EOD) gaps can represent an important issue for the calculation of high frequency quantities in finance: H is particulary sensitive to these large fluctuations (most of the algorithm are!!) M. Bartolozzi, C. Mellen, T. Di Matteo and T. Aste, Eur. Phys. J. B.58 (2007) p.207-220

  18. Volume -- Market Order -- -- Market Order (or limit) -- -- Limit Order -- Modern Double Auction Markets: the Limit Order Book -- Cancellation-- -- Slippage-- gap gap gap gap Best Ask Best Bid Price Mid Point Price Tick Size: Granularity Bid Ask

  19. Volume -- Market Order -- -- Market Order (or limit) -- -- Limit Order -- Limit Order Book -- Cancellation-- -- Slippage-- gap gap gap gap Best Ask Best Bid Price Mid Point Price Tick Size: Granularity Bid Ask

  20. Ultra high-frequency features of modern double auction markets

  21. LOB Dynamics on Large Scale (II) Eurex Bunds Futures: Note the Periodicity due to the expiration of the contract.

  22. LOB Dynamics on Large Scale (III) SPIFutures

  23. LOB Asymptotic Distribution Average distribution of the LOB for QQQ and SPY. Exchange traded founds that track Nasdaq and S&P500 Cumulative distribution of incoming orders. The dashed line is a power law with exponent 1. M. Potters and J.-P. Bouchaud, Physica A, Vol. 324, p. 133 (2003)

  24. Relaxation in the limit order book imbalance How long it takes for the limit order book to get back from an “out-of-equilibrium” position to a new “meta-stable” equilibrium? Is the time required for a volume imbalance to “relax” back to the “meta-equilibrium” position. For the analysis we used tick-by-tick snapshots of the order book from 13/07/2004 to 08/12/2006 for the DAX (~5*107 and N=10) and the SPI (~6*106 and N=5).

  25. Empirical PDFs of relaxation times The distribution seem to be well fitted by the stretched exponential: this is actually similar to what happens in many physical systems (k=0.4 in the inset)! F. Alvarez, A. Alegria and J. Colmenero, Phys. Rev. B44, 7306 (1991)

  26. Possible explanations Kohlrausch-Williams-Watts equation (KWW) • Dielectric polarization decay • Quasi-elastic neutron scattering • Kinetic relaxations...etc Debye distribution Theoretical justification :: The Levy stable distribution is a solution of the previous equation for some parameter values. Moreover, the KWW equation can be solved numerically once the value of α as been fixed.

  27. Summary and conclusion (I) • Implementation of HFT systems requires a lot of care in terms of signal detection. High-frequency data are not usually “user-friendly”. • Application of Hurst analysis for high-frequency (1 min) futures contracts: emergence of different dynamics related to the scale of observation and the particular financial instrument. • Practical Issues: - Non-stationarity – Spikes (EOD) M. Bartolozzi, C. Mellen, T. Di Matteo and T. Aste, Eur. Phys. J. B.58 (2007) p.207-220

  28. Discussion and conclusion (II) • Introduction to the “quark structure of finance”: the limit order book • Relaxation times in demand and supply are characterized by stretched exponential distributions, analogously to those of many physical systems… M. Bartolozzi et. al., Proc. of SPIE, vol. 6802,680203, (2008) http://aps.arxiv.org/abs/0712.2910,

  29. The Microscopic Structure of Financial Markets: a brief introduction for physicists • a Research Group, Boronia Capital, Sydney, Australia • b Special Research Centre for the Subatomic Structure of Matter (CSSM), University of Adelaide, Adelaide, Australia M. Bartolozzia,b Achievements & New Directions in Subatomic Physics, Adelaide 15 – 19 Feb 2010

  30. Financial Data Price Index Logarithmic Price Returns Volatility Standard & Poor 500 (S&P500) data set from 3/1/1950 to 18/7/2003. N=13468.

  31. DFA and Gaussian increments (I) How accurate the DFA estimator really is? First we test it against well behaved data, that is with fractional Gaussian increments generated via a wavelet construction method proposed by Mayer and Sellan (Appl. And Comp. Harmonic Anal., Vol. 3(4), p. 377 (1996)). Ensemble average fractional Brownian motion DFA-1 DFA-2 L=1024

  32. DFA and Gaussian increments (II) In this case we have bias just for strong correlations and the errors are power law distributed with exp ~ 0.36. L=1024

  33. The Levy distributions can be RESCALED to collapse in a single distribution L* -> Levy distributions are self-affine (fractal) distributions A self-affine process (statistically): DFA and Levy increments…a legend of “fat tails” The distribution of i.i.d. variable DOES NOT converge only to Gaussian distribution: there exist another important family of stable distributions with “fat”-tails: they are called Levy distributions α=2 Gaussian Mantegna & Stanley, Nature376, p.46 (1995)

  34. For λ=τ Fractal and Levy processes are statistically self-affine and they scale in the same way with Self-affine processes and Levy distributions A mono-fractal self-affine process is defined as (fractional Brownian motion, for example) The distribution of these processes at a certain scale t can be rescaled

  35. DFA and Levy… (II) For Levy i.i.d. data α > 1 (H>0.5) The “fat”-tails matter! For the algorithm: Samorodnitzky and Taqqu, Stable non-Gaussian Random Process (2004) An Hurst exponent different from 0.5 does not mean necessary prsistency or anti-persistency. Large, self-similar, increments enhance the “diffusion” of the time seires and the scaling of the variance goes “as if” there exist serial correlations. In practice, “fat tails” can enhance the value of H!

  36. “Tails” in Futures Data We test the relevance of the large fluctuations in data sets of futures data. In particular we report an example on a small window with Bunds data. In this case we cannot make ensamble average: concept of local Hurst exponent -> HL(t) 1 min Bunds futures (Jan 2003/Dec 2004) L=1024, slide 10 min (~ 2 days) The large fluctuations enhance the value of H.

  37. Limit orders and Levy distributions Possible drawback with the previous interpretation: why a stable Debye distribution should exist after all? The framework of stochastic processes comes to help in this case. In fact the KWW is satisfied for Levy distribution with parameters: NOTE: Levy distributions are fixed points for the addition of i.i.d. random variables, xi, whose individual distributions are asymptotically a power law, Pi(xi) ≈ |xi|-1-μwith 0<μ<2, that is, with infinite variance. Herding effects? Moreover, the distribution of relaxation times depends on the initial imbalance Decrease of heterogeneity?

  38. Average relaxation time as a function of the imbalance For 0.1< k <0.6 the relation is basically linear.

  39. Some Credits • Boronia Capital Research Group. In particular, the Order Book group which includes: C. Mellen, F. Chan, D. Fussell, M. Fender and D. Oliver. • http://www.boroniacapital.com.au • The econophysics group at ANU and, in particular, T. Di Matteo and T. Aste. http://wwwrsphysse.anu.edu.au/~tdm110/econophysics.html

  40. Hold on! Financial time series are non-stationary and “fat”-tailed: they are “not well behaved”. What is the consequence of this? Persistency and anti-persistency in non-stationary time series Following the spirit of Hurst, H has been used in different contest as a benchmark for persistency, anti-persistency or randomness in time series analysis. See E.E. Peters “Chaos and Order in Capital Markets”, Wiley finance edition (1991), for example. • H=0.5 random process • 0.5<H<1 persistency • 0<H<0.5 anti-persistency First we check the performance of the algorithm against Gaussian and Levy increments, afterwards we apply our results to the analysis of different futures indices

  41. The Detrended Fluctuation Analysis: an algorithm for non-stationary time series • The time series is divided in M=N/ non-overlapping boxes of equal length • For each box we calculate the local polynomial trend and then the fluctuations around this trend are calculated. The DFA is usually denoted asDFA-p according to the polynomial used for the detrending Scale Time (t) • As the final step we average the fluctuations at each scale. Then the Hurst exponent, H, is calculated via the following scaling relation

  42. Some average estimates of the errors

  43. Hurst exponent in futures markets (III)

  44. Distribution of local Hurst exponents: emerging patterns (I)

  45. Distribution of local Hurst exponents: emerging patterns (II)

More Related