SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
FAKULT ¨AT F ¨UR PHYSIK
Econophysics II:
Detailed Look at Stock Markets and Trading
Thomas Guhr
Let’s Face Complexity, Como, 2017
Como, September 2017
Outline
• stock markets and trading in reality
• two extreme model scenarios: Efficient Market Hypothesis,
Zero Intelligence Trading
• large scale data analysis reveals non–Markovian features
• artifical stock market to encircle mechanisms
• trading strategies and temporal correlations
Como, September 2017
Stock Market Trading in Reality
Como, September 2017
Clearing House and Orders
trading via clearing house, buy and sell offers/orders (bids and
asks)
limit order: bid or ask for a specific volume at a specific price
within a certain time window,
best ask a(t), best bid b(t), always a(t) ≥ b(t)
if equal −→ trade, price S(t) = a(t) = b(t) immediately thereafter
market order: buy or sell immediately what is offered,
S(t) = b(t) or S(t) = a(t)
Como, September 2017
Order Book
make public to provide all traders with same information
limit orders appear in the order book, market orders do not
Como, September 2017
Midpoint, Bid–ask Spread, Trade Sign
in between trades, there is no price !
bid–ask spread s(t) = b(t) − a(t) < 0
the higher the trading frequency, the smaller is s(t)
midpoint m(t) =
a(t) + b(t)
2
immediately after a trade, define trade sign
ϑ(t) =
+1 if S(t) is higher than the last m(t)
−1 if S(t) is lower than the last m(t)
positive, if trade was triggered by a market order to buy
negative, if trade was triggered by a market order to sell
Como, September 2017
Traders and Liquidity
market is liquid, if there are always enough shares at a
“reasonable” price to ensure that every planned trade can be
carried out and if the trading happens continuously
small bid–ask spread s(t) = b(t) − a(t) is indicator
limit orders make a market liquid ←→ liquidity providers
market orders absorb liquidity ←→ liquidity takers (“informed”)
liquidity providers and takers are not static populations, these
rôles change constantly
Como, September 2017
Model Scenarios
Como, September 2017
First Extreme Model Scenario — EMH
Efficient Market Hypothesis
Traders always act fully rationally. Market price results from
consensus between the traders about the “fair” price. It always
exists and reflects quantifiable economic value of asset.
Deviation of market price from “fair” price −→ arbitrage −→
disappears. Consensus comes about, because group of traders
processed all available information. Price can only change if new
information arrives. The new information is totally random.
Como, September 2017
Second Extreme Model Scenario — ZIT
Zero Intelligence Trading
Individual trader is irrational and acts fully randomly. The other
traders do not know that and interpret the buy and sell decisions
made by others as potentially information driven. Price change is
not attributed to new information, it automatically follows from the
fact that trading takes place −→ demand and supply. There is no
fair price, midpoint m(t) moves as well. Traders immediately
accept the new midpoint as the new reference point about which
they send out their random buy and sell orders.
Como, September 2017
Where is the Truth ?
both scenarios lead to a Markovian random walk model for price !
both partly compatible with reality, but there are objections:
EMH: “fair” price deeply obscure −→ what is then rational ? —
high volatilities incompatible with rational pricing — time scales of
trading not consistent with those of information flow
ZIT: irrationality not realistic either, traders use information
truth is somewhere in between −→ need detailed data analysis
Como, September 2017
Collecting Emiprical Information
Como, September 2017
Data Analysis
Bouchaud, Gefen, Potters and Wyart, Quantitative Finance 4
(2004) 176
• fully electronically traded French stocks 2001–2002
• intraday
• high frequency, up to 10000 trades/day
• volumes between a few and 80000 shares
• trade time instead of real time
Como, September 2017
Volatility and Diffusion
substract drift from S(t) −→ detrended price Z(t)
diffusion function D(τ) = (Z(t + τ) − Z(t))2
largely constant
volatility function
D(τ)/τ
for France–Telecom
diffusive motion !
Como, September 2017
Average Response to Trading
response function R(τ) = (Z(t + τ) − Z(t)) ϑ(t)
average impact of trading at t on subsequent price changes
non–zero empirical
result proves
non–Markovian
behavior !
Como, September 2017
Distribution of Sign Supplemented Price Changes
sign supplemented price changes u(t, τ) = (Z(t + τ) − Z(t)) ϑ(t)
response R(τ) = u(t, τ) , diffusion function D(τ) = u2
(t, τ)
distribution p(u(t, τ))
for τ = 128
moment R(128) > 0
small arbitrage
truly informed traders
Como, September 2017
Power Law Autocorrelations in Trade Signs
trade sign autocorrelation Θ(τ) = ϑ(t + τ)ϑ(t) − ϑ(t) 2
power law
Θ(τ) ∼
1
τγ
with γ < 0
non–Markovian,
outrules ZIT idea !
Como, September 2017
Modeling the Price Dynamics
Como, September 2017
Non–Markovian Model
Z(t) =
t
t′=1
G0(t − t′
)ϑ(t′
) ln V (t′
) +
t
t′=1
ε(t′
)
first term non–Markovian, second Markovian
ansatz for bare impact function G0(τ) ∼
1
(1 + τ/τ0)β
−→ D(τ) ∼ τ2−2β−γ
, critical exponent βc =
1 − γ
2
β = βc diffusive, β > βc sub–diffusive, β < βc super–diffusive
possible to reproduce empirical R(τ) for β ≈ βc and τ0 ≈ 20
Bouchaud, Gefen, Potters, Wyart (2004)
Como, September 2017
Liquidity Takers versus Liquidity Providers
Reality is non–Markovian, interpreted as a competition: Consider
trader who is “informed” that price of a company will go up. He
wants to buy shares, likely by market orders −→ liquidity taker.
Not be wise to place big offer, because this would alert liquidity
providers who emit the limit orders to sell (“knows something”).
They would place their limit orders at higher price. Liquidity taker
is aware −→ divides his market order into smaller chunks which
he places one after the other −→ introduces temporal
autocorrelations Θ(τ). Liquidity providers want to mean revert
price −→ R(τ) → 0 for large τ. They do that slowly, because they
do not know whether liquidity taker’s information becomes true
−→ maximum of R(τ). −→ Persistence: liquidity providers do not
sufficiently mean revert the price −→ super–diffusive.
Antipersistence: they mean revert too strongly −→ sub–diffusive.
−→ Subtle balance between sub– and super–diffusive −→
effectively diffusive. Compares to balancing a stick on the palm.
Como, September 2017
Artifical Stock Market
Como, September 2017
Agent Based Modeling
financial markets are complex systems: many degrees of
freedom, non–linear effects, basic processes and time evolution
governed by probabilistic rules, not by deterministic equations
top–down approach: schematic models, stochastic processes
−→ successes and limitations
bottom–up approach: artificial stock market on computer with
virtual traders −→ agent based modeling
• set up system microscopically and let evolve
• price dynamics and all other macroscopic observables result
• identify crucial mechanisms by encircling them
various examples in biology, social sciences, economics,
one of the first is Conway’s Game of Life (1970)
Como, September 2017
Wigner’s Caveat
“It is nice to know that the computer
understands the problem. But I would
like to understand it too.”
Eugene Paul Wigner, 1902–1995
Como, September 2017
Impact of Trading Strategies
introduce different types of traders traders −→ top–down element
in an otherwise bottom–up approach, not adaptive, simple
• ZeroIntelligenceTrader
• RandomTrader
• EagerTrader
• LiquidityProvider
• RandomInformedTrader
• SerialTrader
• ExpectingTrader
let evolve and see what happens !
Berseus, Schäfer, Guhr (2007)
Como, September 2017
Zero Intelligence Trading
population of 300 ZeroIntelligenceTraders
return distribution after 10000 trades
-0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
non–Gaussian,
heavy tails !
Como, September 2017
Heavy Tails and Order Book
population of 300 traders, distributions of price differences
EagerTraders and three versions of RandomTraders
non–Gaussian
when order book
becomes
more important
-2 0 2
0
0.1
0.2
0.3
0.4
-2 -1 0 1 2
0
0.1
0.2
0.3
0.4
0.5
0.6
-1 -0.5 0 0.5 1
0
0.5
1
1.5
-0.5 0 0.5
0
1
2
3
4
5
6
Como, September 2017
Mixed Populations — Volatility Function
LiquidityProvider and three versions of RandomInformedTraders
10
0
10
1
10
2
10
3
10
4
0
0.02
0.04
0.06
0.08
0.1
0.12
l (trade time)
standarddeviationalconstantD(l)
λ = 0.1
λ = 0.01
λ = 0.001
largely diffusive
depends sensitively on likeliness to emit market orders
Como, September 2017
Mixed Populations — Trade Sign Autocorrelations
0 5 10 15 20 25 30
0
0.2
0.4
0.6
0.8
1
l (trade time)
C
0
(l)=<ε
n+l
ε
n
>
200 400 600 800 1000 1200 1400
-0.05
0
0.05
0.1
l (trade time)
C
0
(l)=<ε
n+l
ε
n
>
LiquidityProviders,
SerialTraders
0 5 10 15 20 25 30
0
0.2
0.4
0.6
0.8
1
l (trade time)
C
0
(l)=<ε
n+l
ε
n
>
200 400 600 800 1000 1200 1400
-0.05
0
0.05
0.1
l (trade time)
C
0
(l)=<ε
n+l
ε
n
>
LiquidityProviders,
ExpectingTraders
ExpectingTrader waits for gap between m(t) and “fair” price,
Serial Trader does not −→ trade sign autocorrelations
Como, September 2017
More Advanced Program — Heavy Tails
keep the setting simple, but optimize algorithms and
speed up numerics
one–minute return distributions
µlt = 1200s µlt = 300s µlt = 120s
chosen average lifetime of orders µlt competes with the
average waiting time µwt
Schmitt, Schäfer, Münnix, Guhr (2012)
Como, September 2017
More Advanced Program — Realistic Scenario
measure for tails: kurtosis excess volatility distribution
model versus empirical data
µlt = 120s
no strategies, but still realistic results !
Schmitt, Schäfer, Münnix, Guhr (2012)
Como, September 2017
Summary and Conclusions
• stock markets and trading in reality
• two extreme model scenarios: Efficient Market Hypothesis,
Zero Intelligence Trading
• large scale data analysis reveals non–Markovian features
• schematic top–down stochastic model
• artifical stock market as bottom–down approach
• heavy tails are order book effect
• trading strategies sensitively determine temporal correlations
Como, September 2017

Contenu connexe

Similaire à Econophysics II: Detailed Look at Stock Markets and Trading - Thomas Guhr

Volatility and Microstructure [Autosaved]
Volatility and Microstructure [Autosaved]Volatility and Microstructure [Autosaved]
Volatility and Microstructure [Autosaved]
Amit Mittal
 
Market ultimate profitability - ENEC 2010 proceedings
Market ultimate profitability - ENEC 2010 proceedingsMarket ultimate profitability - ENEC 2010 proceedings
Market ultimate profitability - ENEC 2010 proceedings
Alexei Kazakov
 
Hidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency DynamicsHidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency Dynamics
Olsen
 
Presentation Etalon12 12 Last
Presentation Etalon12 12 LastPresentation Etalon12 12 Last
Presentation Etalon12 12 Last
Victor Romanov
 
An introduction to Static and Quasi-Static PricingPolicies c.docx
An introduction to Static and Quasi-Static PricingPolicies c.docxAn introduction to Static and Quasi-Static PricingPolicies c.docx
An introduction to Static and Quasi-Static PricingPolicies c.docx
galerussel59292
 
Entry and Competition in local Newspaper Retail Markets - Swiss IO Day - 13 J...
Entry and Competition in local Newspaper Retail Markets - Swiss IO Day - 13 J...Entry and Competition in local Newspaper Retail Markets - Swiss IO Day - 13 J...
Entry and Competition in local Newspaper Retail Markets - Swiss IO Day - 13 J...
Roberto Balmer
 

Similaire à Econophysics II: Detailed Look at Stock Markets and Trading - Thomas Guhr (20)

Econophysics I: Basic Concepts - Thomas Guhr
Econophysics I: Basic Concepts - Thomas GuhrEconophysics I: Basic Concepts - Thomas Guhr
Econophysics I: Basic Concepts - Thomas Guhr
 
A Quantitative Case Study on the Impact of Transaction Cost in High-Frequency...
A Quantitative Case Study on the Impact of Transaction Cost in High-Frequency...A Quantitative Case Study on the Impact of Transaction Cost in High-Frequency...
A Quantitative Case Study on the Impact of Transaction Cost in High-Frequency...
 
Volatility and Microstructure [Autosaved]
Volatility and Microstructure [Autosaved]Volatility and Microstructure [Autosaved]
Volatility and Microstructure [Autosaved]
 
Market ultimate profitability - ENEC 2010 proceedings
Market ultimate profitability - ENEC 2010 proceedingsMarket ultimate profitability - ENEC 2010 proceedings
Market ultimate profitability - ENEC 2010 proceedings
 
Financial market crises predictor
Financial market crises predictorFinancial market crises predictor
Financial market crises predictor
 
Sener salci 2018 04-24
Sener salci 2018 04-24Sener salci 2018 04-24
Sener salci 2018 04-24
 
Hidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency DynamicsHidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency Dynamics
 
HTHFD
HTHFDHTHFD
HTHFD
 
4 things maybe you don't know about nasdaq-100 (posted 23th June 2017)
4 things maybe you don't know about nasdaq-100 (posted 23th June 2017)4 things maybe you don't know about nasdaq-100 (posted 23th June 2017)
4 things maybe you don't know about nasdaq-100 (posted 23th June 2017)
 
Presentation Etalon12 12 Last
Presentation Etalon12 12 LastPresentation Etalon12 12 Last
Presentation Etalon12 12 Last
 
Liverpool Complexity Presentation
Liverpool Complexity PresentationLiverpool Complexity Presentation
Liverpool Complexity Presentation
 
An introduction to Static and Quasi-Static PricingPolicies c.docx
An introduction to Static and Quasi-Static PricingPolicies c.docxAn introduction to Static and Quasi-Static PricingPolicies c.docx
An introduction to Static and Quasi-Static PricingPolicies c.docx
 
Introduction to Algorithmic aspect of Market Equlibra
Introduction to Algorithmic aspect of Market EqulibraIntroduction to Algorithmic aspect of Market Equlibra
Introduction to Algorithmic aspect of Market Equlibra
 
Presentation final _FINANCE MARKET CRASH PREDICTIONN
Presentation final _FINANCE MARKET CRASH PREDICTIONNPresentation final _FINANCE MARKET CRASH PREDICTIONN
Presentation final _FINANCE MARKET CRASH PREDICTIONN
 
FINANCIAL MARKET CRASH PREDICTION
FINANCIAL MARKET CRASH PREDICTIONFINANCIAL MARKET CRASH PREDICTION
FINANCIAL MARKET CRASH PREDICTION
 
Presentation final
Presentation finalPresentation final
Presentation final
 
Competitive Markets: Beauty or Beast?
Competitive Markets: Beauty or Beast?Competitive Markets: Beauty or Beast?
Competitive Markets: Beauty or Beast?
 
Entry and Competition in local Newspaper Retail Markets - Swiss IO Day - 13 J...
Entry and Competition in local Newspaper Retail Markets - Swiss IO Day - 13 J...Entry and Competition in local Newspaper Retail Markets - Swiss IO Day - 13 J...
Entry and Competition in local Newspaper Retail Markets - Swiss IO Day - 13 J...
 
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
 
Aescs2013
Aescs2013Aescs2013
Aescs2013
 

Plus de Lake Como School of Advanced Studies

Plus de Lake Como School of Advanced Studies (20)

Electromagnetic counterparts of Gravitational Waves - Elena Pian
Electromagnetic counterparts of Gravitational Waves - Elena PianElectromagnetic counterparts of Gravitational Waves - Elena Pian
Electromagnetic counterparts of Gravitational Waves - Elena Pian
 
LOW FREQUENCY GW SOURCES: Chapter III: Probing massive black hole binary with...
LOW FREQUENCY GW SOURCES: Chapter III: Probing massive black hole binary with...LOW FREQUENCY GW SOURCES: Chapter III: Probing massive black hole binary with...
LOW FREQUENCY GW SOURCES: Chapter III: Probing massive black hole binary with...
 
LOW FREQUENCY GW SOURCES: Chapter II: Massive black hole binary cosmic evolut...
LOW FREQUENCY GW SOURCES: Chapter II: Massive black hole binary cosmic evolut...LOW FREQUENCY GW SOURCES: Chapter II: Massive black hole binary cosmic evolut...
LOW FREQUENCY GW SOURCES: Chapter II: Massive black hole binary cosmic evolut...
 
LOW FREQUENCY GW SOURCES: Chapter I: Overview of LISA sources - Alberto Sesana
LOW FREQUENCY GW SOURCES: Chapter I: Overview of LISA sources - Alberto SesanaLOW FREQUENCY GW SOURCES: Chapter I: Overview of LISA sources - Alberto Sesana
LOW FREQUENCY GW SOURCES: Chapter I: Overview of LISA sources - Alberto Sesana
 
Gravitational waves data analysis - Walter Del Pozzo
Gravitational waves data analysis - Walter Del PozzoGravitational waves data analysis - Walter Del Pozzo
Gravitational waves data analysis - Walter Del Pozzo
 
Space based Gravitational Wave Observations I – M Hewitson from Lake Como Sch...
Space based Gravitational Wave Observations I – M Hewitson from Lake Como Sch...Space based Gravitational Wave Observations I – M Hewitson from Lake Como Sch...
Space based Gravitational Wave Observations I – M Hewitson from Lake Como Sch...
 
Space based Gravitational Wave Observations II - M Hewitson
Space based Gravitational Wave Observations II  - M HewitsonSpace based Gravitational Wave Observations II  - M Hewitson
Space based Gravitational Wave Observations II - M Hewitson
 
Space based Gravitational Wave Observations III - M Hewitson
Space based Gravitational Wave Observations III - M HewitsonSpace based Gravitational Wave Observations III - M Hewitson
Space based Gravitational Wave Observations III - M Hewitson
 
The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...
The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...
The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...
 
The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...
The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...
The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...
 
The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...
The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...
The Analytical/Numerical Relativity Interface behind Gravitational Waves: Lec...
 
Binary Black Holes & Tests of GR - Luis Lehner
Binary Black Holes & Tests of GR - Luis LehnerBinary Black Holes & Tests of GR - Luis Lehner
Binary Black Holes & Tests of GR - Luis Lehner
 
Ground based GW dedetctors - Giovanni Losurdo
Ground based GW dedetctors - Giovanni LosurdoGround based GW dedetctors - Giovanni Losurdo
Ground based GW dedetctors - Giovanni Losurdo
 
Gravitational Waves and Binary Systems (4) - Thibault Damour
Gravitational Waves and Binary Systems (4) - Thibault DamourGravitational Waves and Binary Systems (4) - Thibault Damour
Gravitational Waves and Binary Systems (4) - Thibault Damour
 
Gravitational Waves and Binary Systems (3) - Thibault Damour
Gravitational Waves and Binary Systems (3) - Thibault DamourGravitational Waves and Binary Systems (3) - Thibault Damour
Gravitational Waves and Binary Systems (3) - Thibault Damour
 
Gravitational Waves and Binary Systems (2) - Thibault Damour
Gravitational Waves and Binary Systems (2) - Thibault DamourGravitational Waves and Binary Systems (2) - Thibault Damour
Gravitational Waves and Binary Systems (2) - Thibault Damour
 
Gravitational Waves and Binary Systems (1) - Thibault Damour
Gravitational Waves and Binary Systems (1) - Thibault DamourGravitational Waves and Binary Systems (1) - Thibault Damour
Gravitational Waves and Binary Systems (1) - Thibault Damour
 
Econophysics VII: Credits and the Instability of the Financial System - Thoma...
Econophysics VII: Credits and the Instability of the Financial System - Thoma...Econophysics VII: Credits and the Instability of the Financial System - Thoma...
Econophysics VII: Credits and the Instability of the Financial System - Thoma...
 
Econophysics VI: Price Cross-Responses in Correlated Financial Markets - Thom...
Econophysics VI: Price Cross-Responses in Correlated Financial Markets - Thom...Econophysics VI: Price Cross-Responses in Correlated Financial Markets - Thom...
Econophysics VI: Price Cross-Responses in Correlated Financial Markets - Thom...
 
Econophysics V: Market States and Subtleties of Correlations - Thomas Guhr
Econophysics V: Market  States and Subtleties of Correlations - Thomas GuhrEconophysics V: Market  States and Subtleties of Correlations - Thomas Guhr
Econophysics V: Market States and Subtleties of Correlations - Thomas Guhr
 

Dernier

Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
PirithiRaju
 
Seismic Method Estimate velocity from seismic data.pptx
Seismic Method Estimate velocity from seismic  data.pptxSeismic Method Estimate velocity from seismic  data.pptx
Seismic Method Estimate velocity from seismic data.pptx
AlMamun560346
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Sérgio Sacani
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Sérgio Sacani
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
gindu3009
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
Sérgio Sacani
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
PirithiRaju
 
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxSCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
RizalinePalanog2
 

Dernier (20)

PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
 
Seismic Method Estimate velocity from seismic data.pptx
Seismic Method Estimate velocity from seismic  data.pptxSeismic Method Estimate velocity from seismic  data.pptx
Seismic Method Estimate velocity from seismic data.pptx
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxSCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
 

Econophysics II: Detailed Look at Stock Markets and Trading - Thomas Guhr

  • 1. FAKULT ¨AT F ¨UR PHYSIK Econophysics II: Detailed Look at Stock Markets and Trading Thomas Guhr Let’s Face Complexity, Como, 2017 Como, September 2017
  • 2. Outline • stock markets and trading in reality • two extreme model scenarios: Efficient Market Hypothesis, Zero Intelligence Trading • large scale data analysis reveals non–Markovian features • artifical stock market to encircle mechanisms • trading strategies and temporal correlations Como, September 2017
  • 3. Stock Market Trading in Reality Como, September 2017
  • 4. Clearing House and Orders trading via clearing house, buy and sell offers/orders (bids and asks) limit order: bid or ask for a specific volume at a specific price within a certain time window, best ask a(t), best bid b(t), always a(t) ≥ b(t) if equal −→ trade, price S(t) = a(t) = b(t) immediately thereafter market order: buy or sell immediately what is offered, S(t) = b(t) or S(t) = a(t) Como, September 2017
  • 5. Order Book make public to provide all traders with same information limit orders appear in the order book, market orders do not Como, September 2017
  • 6. Midpoint, Bid–ask Spread, Trade Sign in between trades, there is no price ! bid–ask spread s(t) = b(t) − a(t) < 0 the higher the trading frequency, the smaller is s(t) midpoint m(t) = a(t) + b(t) 2 immediately after a trade, define trade sign ϑ(t) = +1 if S(t) is higher than the last m(t) −1 if S(t) is lower than the last m(t) positive, if trade was triggered by a market order to buy negative, if trade was triggered by a market order to sell Como, September 2017
  • 7. Traders and Liquidity market is liquid, if there are always enough shares at a “reasonable” price to ensure that every planned trade can be carried out and if the trading happens continuously small bid–ask spread s(t) = b(t) − a(t) is indicator limit orders make a market liquid ←→ liquidity providers market orders absorb liquidity ←→ liquidity takers (“informed”) liquidity providers and takers are not static populations, these rôles change constantly Como, September 2017
  • 9. First Extreme Model Scenario — EMH Efficient Market Hypothesis Traders always act fully rationally. Market price results from consensus between the traders about the “fair” price. It always exists and reflects quantifiable economic value of asset. Deviation of market price from “fair” price −→ arbitrage −→ disappears. Consensus comes about, because group of traders processed all available information. Price can only change if new information arrives. The new information is totally random. Como, September 2017
  • 10. Second Extreme Model Scenario — ZIT Zero Intelligence Trading Individual trader is irrational and acts fully randomly. The other traders do not know that and interpret the buy and sell decisions made by others as potentially information driven. Price change is not attributed to new information, it automatically follows from the fact that trading takes place −→ demand and supply. There is no fair price, midpoint m(t) moves as well. Traders immediately accept the new midpoint as the new reference point about which they send out their random buy and sell orders. Como, September 2017
  • 11. Where is the Truth ? both scenarios lead to a Markovian random walk model for price ! both partly compatible with reality, but there are objections: EMH: “fair” price deeply obscure −→ what is then rational ? — high volatilities incompatible with rational pricing — time scales of trading not consistent with those of information flow ZIT: irrationality not realistic either, traders use information truth is somewhere in between −→ need detailed data analysis Como, September 2017
  • 13. Data Analysis Bouchaud, Gefen, Potters and Wyart, Quantitative Finance 4 (2004) 176 • fully electronically traded French stocks 2001–2002 • intraday • high frequency, up to 10000 trades/day • volumes between a few and 80000 shares • trade time instead of real time Como, September 2017
  • 14. Volatility and Diffusion substract drift from S(t) −→ detrended price Z(t) diffusion function D(τ) = (Z(t + τ) − Z(t))2 largely constant volatility function D(τ)/τ for France–Telecom diffusive motion ! Como, September 2017
  • 15. Average Response to Trading response function R(τ) = (Z(t + τ) − Z(t)) ϑ(t) average impact of trading at t on subsequent price changes non–zero empirical result proves non–Markovian behavior ! Como, September 2017
  • 16. Distribution of Sign Supplemented Price Changes sign supplemented price changes u(t, τ) = (Z(t + τ) − Z(t)) ϑ(t) response R(τ) = u(t, τ) , diffusion function D(τ) = u2 (t, τ) distribution p(u(t, τ)) for τ = 128 moment R(128) > 0 small arbitrage truly informed traders Como, September 2017
  • 17. Power Law Autocorrelations in Trade Signs trade sign autocorrelation Θ(τ) = ϑ(t + τ)ϑ(t) − ϑ(t) 2 power law Θ(τ) ∼ 1 τγ with γ < 0 non–Markovian, outrules ZIT idea ! Como, September 2017
  • 18. Modeling the Price Dynamics Como, September 2017
  • 19. Non–Markovian Model Z(t) = t t′=1 G0(t − t′ )ϑ(t′ ) ln V (t′ ) + t t′=1 ε(t′ ) first term non–Markovian, second Markovian ansatz for bare impact function G0(τ) ∼ 1 (1 + τ/τ0)β −→ D(τ) ∼ τ2−2β−γ , critical exponent βc = 1 − γ 2 β = βc diffusive, β > βc sub–diffusive, β < βc super–diffusive possible to reproduce empirical R(τ) for β ≈ βc and τ0 ≈ 20 Bouchaud, Gefen, Potters, Wyart (2004) Como, September 2017
  • 20. Liquidity Takers versus Liquidity Providers Reality is non–Markovian, interpreted as a competition: Consider trader who is “informed” that price of a company will go up. He wants to buy shares, likely by market orders −→ liquidity taker. Not be wise to place big offer, because this would alert liquidity providers who emit the limit orders to sell (“knows something”). They would place their limit orders at higher price. Liquidity taker is aware −→ divides his market order into smaller chunks which he places one after the other −→ introduces temporal autocorrelations Θ(τ). Liquidity providers want to mean revert price −→ R(τ) → 0 for large τ. They do that slowly, because they do not know whether liquidity taker’s information becomes true −→ maximum of R(τ). −→ Persistence: liquidity providers do not sufficiently mean revert the price −→ super–diffusive. Antipersistence: they mean revert too strongly −→ sub–diffusive. −→ Subtle balance between sub– and super–diffusive −→ effectively diffusive. Compares to balancing a stick on the palm. Como, September 2017
  • 22. Agent Based Modeling financial markets are complex systems: many degrees of freedom, non–linear effects, basic processes and time evolution governed by probabilistic rules, not by deterministic equations top–down approach: schematic models, stochastic processes −→ successes and limitations bottom–up approach: artificial stock market on computer with virtual traders −→ agent based modeling • set up system microscopically and let evolve • price dynamics and all other macroscopic observables result • identify crucial mechanisms by encircling them various examples in biology, social sciences, economics, one of the first is Conway’s Game of Life (1970) Como, September 2017
  • 23. Wigner’s Caveat “It is nice to know that the computer understands the problem. But I would like to understand it too.” Eugene Paul Wigner, 1902–1995 Como, September 2017
  • 24. Impact of Trading Strategies introduce different types of traders traders −→ top–down element in an otherwise bottom–up approach, not adaptive, simple • ZeroIntelligenceTrader • RandomTrader • EagerTrader • LiquidityProvider • RandomInformedTrader • SerialTrader • ExpectingTrader let evolve and see what happens ! Berseus, Schäfer, Guhr (2007) Como, September 2017
  • 25. Zero Intelligence Trading population of 300 ZeroIntelligenceTraders return distribution after 10000 trades -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 non–Gaussian, heavy tails ! Como, September 2017
  • 26. Heavy Tails and Order Book population of 300 traders, distributions of price differences EagerTraders and three versions of RandomTraders non–Gaussian when order book becomes more important -2 0 2 0 0.1 0.2 0.3 0.4 -2 -1 0 1 2 0 0.1 0.2 0.3 0.4 0.5 0.6 -1 -0.5 0 0.5 1 0 0.5 1 1.5 -0.5 0 0.5 0 1 2 3 4 5 6 Como, September 2017
  • 27. Mixed Populations — Volatility Function LiquidityProvider and three versions of RandomInformedTraders 10 0 10 1 10 2 10 3 10 4 0 0.02 0.04 0.06 0.08 0.1 0.12 l (trade time) standarddeviationalconstantD(l) λ = 0.1 λ = 0.01 λ = 0.001 largely diffusive depends sensitively on likeliness to emit market orders Como, September 2017
  • 28. Mixed Populations — Trade Sign Autocorrelations 0 5 10 15 20 25 30 0 0.2 0.4 0.6 0.8 1 l (trade time) C 0 (l)=<ε n+l ε n > 200 400 600 800 1000 1200 1400 -0.05 0 0.05 0.1 l (trade time) C 0 (l)=<ε n+l ε n > LiquidityProviders, SerialTraders 0 5 10 15 20 25 30 0 0.2 0.4 0.6 0.8 1 l (trade time) C 0 (l)=<ε n+l ε n > 200 400 600 800 1000 1200 1400 -0.05 0 0.05 0.1 l (trade time) C 0 (l)=<ε n+l ε n > LiquidityProviders, ExpectingTraders ExpectingTrader waits for gap between m(t) and “fair” price, Serial Trader does not −→ trade sign autocorrelations Como, September 2017
  • 29. More Advanced Program — Heavy Tails keep the setting simple, but optimize algorithms and speed up numerics one–minute return distributions µlt = 1200s µlt = 300s µlt = 120s chosen average lifetime of orders µlt competes with the average waiting time µwt Schmitt, Schäfer, Münnix, Guhr (2012) Como, September 2017
  • 30. More Advanced Program — Realistic Scenario measure for tails: kurtosis excess volatility distribution model versus empirical data µlt = 120s no strategies, but still realistic results ! Schmitt, Schäfer, Münnix, Guhr (2012) Como, September 2017
  • 31. Summary and Conclusions • stock markets and trading in reality • two extreme model scenarios: Efficient Market Hypothesis, Zero Intelligence Trading • large scale data analysis reveals non–Markovian features • schematic top–down stochastic model • artifical stock market as bottom–down approach • heavy tails are order book effect • trading strategies sensitively determine temporal correlations Como, September 2017