SlideShare a Scribd company logo
Flash Crash SimulatorFlash Crash Simulator
Analyzing HFT's Impact on Market QualityAnalyzing HFT's Impact on Market Quality
Yoshiharu SatoYoshiharu Sato
University of Warsaw, 2015University of Warsaw, 2015
https://sites.google.com/site/yoshi2233/https://sites.google.com/site/yoshi2233/
About MeAbout Me
BackgroundBackground
・・ 3D Graphics Programming (C/C++)3D Graphics Programming (C/C++)
・・ Derivatives Trading (CFDs, Vanilla Options)Derivatives Trading (CFDs, Vanilla Options)
・・ BSc in Quantitative Analysis & InformaticsBSc in Quantitative Analysis & Informatics
ExpertiseExpertise
・・ Real-Time, High-Performance Systems in C++Real-Time, High-Performance Systems in C++
My Previous Work:My Previous Work: 3D Engine in C/C++3D Engine in C/C++
(Geometry, Quaternion, Optics, SIMD)(Geometry, Quaternion, Optics, SIMD)
My Previous Work:My Previous Work: Algorithm Backtester in C++Algorithm Backtester in C++
(Statistics, Econometrics, Time-Series Analysis, Multithreading)(Statistics, Econometrics, Time-Series Analysis, Multithreading)
Current Research (MSc in Quantitative Finance):Current Research (MSc in Quantitative Finance):
High Frequency TradingHigh Frequency Trading
HFT has been criticized for:HFT has been criticized for:
・・ unfair speed advantageunfair speed advantage (direct feed, colocation)(direct feed, colocation)
・・ predatory trading practicespredatory trading practices (front-running)(front-running)
・・ allegedly causing flash crashesallegedly causing flash crashes
Empirical studies show that HFT has:Empirical studies show that HFT has:
・・ narrowed bid-ask spreadsnarrowed bid-ask spreads
・・ reduced transaction costsreduced transaction costs
・・ made price formations more efficientmade price formations more efficient
Two Types of HFTTwo Types of HFT
・・ OpportunisticOpportunistic
- statistical arbitrage- statistical arbitrage
- news feed arbitrage- news feed arbitrage
- latency arbitrage- latency arbitrage
- momentum detection- momentum detection
- order flow prediction, etc- order flow prediction, etc
・・ Market MakingMarket Making
- rebate arbitrage (ELP)- rebate arbitrage (ELP)
- ETF market making- ETF market making
- option market making, etc- option market making, etc
Rebate Arbitrage (ELP)Rebate Arbitrage (ELP)
・・ A market-making HFT strategy that seeks to earn bothA market-making HFT strategy that seeks to earn both
the bid-ask spreads and the rebates paid by exchangesthe bid-ask spreads and the rebates paid by exchanges
as incentives for providing liquidityas incentives for providing liquidity
・・ TheThe Maker-TakerMaker-Taker pricing model gives rebates topricing model gives rebates to
liquidity providers (passive flowliquidity providers (passive flow with limit orderswith limit orders) while) while
charging liquidity takers (active flow with marketcharging liquidity takers (active flow with market
orders)orders)
・・ These ELP-HFTs can afford to breakeven or even loseThese ELP-HFTs can afford to breakeven or even lose
money on each trade as long as the rebates they receivemoney on each trade as long as the rebates they receive
covers their costscovers their costs
Market-Making HFT:Market-Making HFT: Virtu FinancialVirtu Financial
Virtu made money on 1,484 out of 1,485 trading days (only one losingVirtu made money on 1,484 out of 1,485 trading days (only one losing
trading day =trading day = 99.93% winning rate99.93% winning rate) from Jan 2009 to Dec 2014, and) from Jan 2009 to Dec 2014, and
made money EVERY trading day in 2014, generating profit of $190made money EVERY trading day in 2014, generating profit of $190
million from revenue of $723 millionmillion from revenue of $723 million
Virtu Financial (cont.)Virtu Financial (cont.)
Case Study:Case Study: Tokyo Stock ExchangeTokyo Stock Exchange
HFT @ TSEHFT @ TSE
・・ TSE introduced a new exchange systemTSE introduced a new exchange system 'Arrowhead''Arrowhead'
in 2010, offeringin 2010, offering ULLDMAULLDMA (Ultra-Low Latency Direct(Ultra-Low Latency Direct
Market Access)Market Access) to HFTsto HFTs
・・ System development started in 2007 by 500 staffs fromSystem development started in 2007 by 500 staffs from
Fujitsu, based on “V-model with feedback”Fujitsu, based on “V-model with feedback”
((4,000+4,000+ pages of system requirement)pages of system requirement)
・・ 200+ exchange servers are connected via high-speed200+ exchange servers are connected via high-speed
networks, each usingnetworks, each using IMDB (In-Memory Database)IMDB (In-Memory Database)
HFT @ TSE (cont.)HFT @ TSE (cont.)
・・ Trade volume shares of HFTs increased from 10% inTrade volume shares of HFTs increased from 10% in
2010 to2010 to 72%72% (270 trillion yen or $2.3 trillion) in 2014(270 trillion yen or $2.3 trillion) in 2014
・・ 8,000+8,000+ human dealers lost their job over the past 5 yearshuman dealers lost their job over the past 5 years
due to the rise of HFTdue to the rise of HFT ((Japan Securities Dealers Association)Japan Securities Dealers Association)
・・ Arrowhead v2.0 started operation in September 2015,Arrowhead v2.0 started operation in September 2015,
reducing transaction latency toreducing transaction latency to 0.5 millisecond0.5 millisecond andand
increasing transaction capacity toincreasing transaction capacity to 270 million orders/day270 million orders/day
・・ New safety mechanisms: Cancel On Disconnect, KillNew safety mechanisms: Cancel On Disconnect, Kill
Switch, User-Set Hard Limits, Dummy SymbolSwitch, User-Set Hard Limits, Dummy Symbol
Did HFT really cause the Flash CrashDid HFT really cause the Flash Crash
on May 6, 2010?on May 6, 2010?
The Answer Is No,The Answer Is No, ButBut
・・ CFTC official report concludes that HFTs didCFTC official report concludes that HFTs did
not cause the Flash Crash but they amplified itnot cause the Flash Crash but they amplified it
by reducing liquidity andby reducing liquidity and inducing downwardinducing downward
price spiralprice spiral
→→ How?How?
Order Book ImbalanceOrder Book Imbalance
・・ Large sell orders (totalLarge sell orders (total $4.1 billion$4.1 billion)) byby WaddellWaddell
& Reed& Reed andand large 'spoofing' sell orderslarge 'spoofing' sell orders byby NavNav
SaraoSarao caused an order book imbalance in S&Pcaused an order book imbalance in S&P
500 E-Mini futures, starting the price drop500 E-Mini futures, starting the price drop
・・ As HFTs detected the drop in E-Mini, many ofAs HFTs detected the drop in E-Mini, many of
them paused trading in equities market due tothem paused trading in equities market due to
high volatility and high risk of adverse selection,high volatility and high risk of adverse selection,
making liquidity evaporated from the marketmaking liquidity evaporated from the market
CFTC Official ExplanationCFTC Official Explanation
・・ When prices are moving directionally due toWhen prices are moving directionally due to
order book imbalance, ELP-HFT can exacerbateorder book imbalance, ELP-HFT can exacerbate
a price move and contribute to high volatilitya price move and contribute to high volatility
・・ Higher volatility further increases the speed atHigher volatility further increases the speed at
which the best bid and offer queues get depletedwhich the best bid and offer queues get depleted
by ELP-HFT, leading to a spike in trade volumeby ELP-HFT, leading to a spike in trade volume
(“(“hot-potato effect”hot-potato effect”)) and induce a flash crashand induce a flash crash
Research GoalResearch Goal
・・ If the CFTC's explanation is true, then I shouldIf the CFTC's explanation is true, then I should
be able to induce a flash crash by implementingbe able to induce a flash crash by implementing
the ELP strategy in an order book simulatorthe ELP strategy in an order book simulator
→→ Analyze the impact of ELP-HFT on core marketAnalyze the impact of ELP-HFT on core market
quality in order book simulationsquality in order book simulations
IssuesIssues
Car Crash SimulationCar Crash Simulation
・・ Car/engine structuresCar/engine structures
→→ KnownKnown
・・ Material propertiesMaterial properties
→→ KnownKnown
・・ Deformation modelDeformation model
→→ KnownKnown
・・ Simulation Real≒Simulation Real≒
Flash Crash SimulationFlash Crash Simulation
・・ Market structureMarket structure
→→ UnknownUnknown (lack of comprehensive audit trail)(lack of comprehensive audit trail)
・・ Strategies mechanicsStrategies mechanics
→→ UnknownUnknown (undisclosed intellectual properties)(undisclosed intellectual properties)
・・ Interaction modelInteraction model
→→ UnknownUnknown (too much interactive complexity)(too much interactive complexity)
・・ Simulation ≠ Real (simulation has to be simplified)Simulation ≠ Real (simulation has to be simplified)
Limit Order Book (LOB) SimulationLimit Order Book (LOB) Simulation
・・ ELP market-making strategy can NOT beELP market-making strategy can NOT be
simulated using static historical data due to itssimulated using static historical data due to its
interactions with the LOB (interactions with the LOB (== no backtestingno backtesting))
・・ Requires a full LOB matching engine insteadRequires a full LOB matching engine instead
→→ Implement it in multithreaded C++Implement it in multithreaded C++
Zero-Intelligence LOB SimulationZero-Intelligence LOB Simulation
・・ Numerical models (developed mainly byNumerical models (developed mainly by
econophysicists) in which random orders areeconophysicists) in which random orders are
submitted at random prices to the LOB withoutsubmitted at random prices to the LOB without
any AI / trading strategiesany AI / trading strategies
・・ Particles of 2 types (bids and asks) in 1-D gridParticles of 2 types (bids and asks) in 1-D grid
are subject to 3 types of eventsare subject to 3 types of events (Challet et al., 2001)(Challet et al., 2001)
(1)(1) depositiondeposition (limit orders)(limit orders)
(2)(2) annihilationannihilation (market orders)(market orders)
(3)(3) evaporationevaporation (cancellation)(cancellation)
Limit & Market OrdersLimit & Market Orders
・・ New order arrival follows aNew order arrival follows a Poisson distributionPoisson distribution
・・ Trade volume at the best bid or ask (marketTrade volume at the best bid or ask (market
orders & marketable limit orders) follows aorders & marketable limit orders) follows a
Gamma distributionGamma distribution (Bouchaud et al., 2002)(Bouchaud et al., 2002)
Cancellation OrdersCancellation Orders
・・ Probability of cancellation depends:Probability of cancellation depends:
- exponentially on the position in the LOB (- exponentially on the position in the LOB (yy))
- linearly on the order book imbalance (- linearly on the order book imbalance (NNimbimb))
- decreases by the total number of orders (- decreases by the total number of orders (NN))
(Mike et al., 2008)(Mike et al., 2008)
Einstein-Smoluchowski Relation (FDR)Einstein-Smoluchowski Relation (FDR)
・・ LOB seen as a colloidal Brownian particleLOB seen as a colloidal Brownian particle
embedded in smaller fluid moleculesembedded in smaller fluid molecules (Yura et al., 2014)(Yura et al., 2014)
My LOB Simulator (C++) ArchitectureMy LOB Simulator (C++) Architecture
・・ Asynchronous Function Parallel ModelAsynchronous Function Parallel Model
Demo Available for Download:Demo Available for Download:
https://sites.google.com/site/yoshi2233/hft-flashcrashhttps://sites.google.com/site/yoshi2233/hft-flashcrash
Simulation ResultsSimulation Results
・・ ConsistentConsistent with empirical studieswith empirical studies
・・ HFT reduces bid-ask spreadsHFT reduces bid-ask spreads
(Hendershott et al., 2011 / Hasbrouck et al., 2013 /(Hendershott et al., 2011 / Hasbrouck et al., 2013 /
Moriyasu et al., 2013 / Nanex Research, 2014 / Hruska et al., 2015)Moriyasu et al., 2013 / Nanex Research, 2014 / Hruska et al., 2015)
・・ HFT mitigates short-term price volatilityHFT mitigates short-term price volatility
(Hagstromer et al., 2013 / ASIC, 2015)(Hagstromer et al., 2013 / ASIC, 2015)
Simulation Results (cont.)Simulation Results (cont.)
・・ InconsistentInconsistent with the CFTC official explanationwith the CFTC official explanation
・・ ELP-HFT causes hot-potato effects,ELP-HFT causes hot-potato effects, but does notbut does not
amplify directional price movesamplify directional price moves
→→ Some other HFT strategies amplified the drop?Some other HFT strategies amplified the drop?
(e.g. Momentum Ignition, Order Flow Detection)(e.g. Momentum Ignition, Order Flow Detection)
ConclusionConclusion
・・ It's important to distinguish betweenIt's important to distinguish between
opportunistic HFT and market-making HFTopportunistic HFT and market-making HFT
・・ To test HFT strategies, you need a limit orderTo test HFT strategies, you need a limit order
book (LOB) matching engine and simulatorbook (LOB) matching engine and simulator
・・ ELP market-making strategy by itself does notELP market-making strategy by itself does not
induce flash crashes, yet it can be used to initiateinduce flash crashes, yet it can be used to initiate
other opportunistic, volatility-inducing strategiesother opportunistic, volatility-inducing strategies
(e.g. Order Flow Detection)(e.g. Order Flow Detection)
ThanksThanks

More Related Content

What's hot

Forex Trading - How to Create a Trading Strategy
Forex Trading - How to Create a Trading StrategyForex Trading - How to Create a Trading Strategy
Forex Trading - How to Create a Trading Strategy
BlueMax Capital
 
Candlesticks, fibonacci, and chart pattern trading forex factory ( pdf drive )
Candlesticks, fibonacci, and chart pattern trading   forex factory ( pdf drive )Candlesticks, fibonacci, and chart pattern trading   forex factory ( pdf drive )
Candlesticks, fibonacci, and chart pattern trading forex factory ( pdf drive )
wijitha gayan
 
Forex trendline break ea for mt4
Forex trendline break ea for mt4Forex trendline break ea for mt4
Forex trendline break ea for mt4
Chai Lin Ng
 
Reading The Tape 101 - Learn How To Read The Tape For Day Trading
Reading The Tape 101 - Learn How To Read The Tape For Day TradingReading The Tape 101 - Learn How To Read The Tape For Day Trading
Reading The Tape 101 - Learn How To Read The Tape For Day Trading
Jose Casanova
 
Neo4j Training Introduction
Neo4j Training IntroductionNeo4j Training Introduction
Neo4j Training Introduction
Max De Marzi
 
Best IQ Option Strategy- IQ Option Tips For Winning Trades
Best IQ Option Strategy- IQ Option Tips For Winning TradesBest IQ Option Strategy- IQ Option Tips For Winning Trades
Best IQ Option Strategy- IQ Option Tips For Winning Trades
Binoption
 
Cómo Operar Índices Sintéticos Deriv.com by Vince Stanzione (Spanish Edition )
Cómo Operar Índices Sintéticos Deriv.com by Vince Stanzione (Spanish Edition )Cómo Operar Índices Sintéticos Deriv.com by Vince Stanzione (Spanish Edition )
Cómo Operar Índices Sintéticos Deriv.com by Vince Stanzione (Spanish Edition )
Vince Stanzione
 
Managing the Role Hierarchy at Enterprise Scale
Managing the Role Hierarchy at Enterprise ScaleManaging the Role Hierarchy at Enterprise Scale
Managing the Role Hierarchy at Enterprise ScaleSalesforce Developers
 
Bbma oa 3 s (second editing ) terbaru
Bbma oa 3 s (second editing ) terbaruBbma oa 3 s (second editing ) terbaru
Bbma oa 3 s (second editing ) terbaru
Nur As-Syifa
 
40 pip parabolic sar forex strategy (1)
40 pip parabolic sar forex strategy (1)40 pip parabolic sar forex strategy (1)
40 pip parabolic sar forex strategy (1)
pipsumo traderfx
 
Word2Vec model to generate synonyms on the fly in Apache Lucene.pdf
Word2Vec model to generate synonyms on the fly in Apache Lucene.pdfWord2Vec model to generate synonyms on the fly in Apache Lucene.pdf
Word2Vec model to generate synonyms on the fly in Apache Lucene.pdf
Sease
 
Algorithmic Trading
Algorithmic TradingAlgorithmic Trading
Algorithmic Trading
Thanakrit Lersmethasakul
 
Magic Breakout Forex Trading Strategy PDF eBook
Magic Breakout Forex Trading Strategy PDF eBookMagic Breakout Forex Trading Strategy PDF eBook
Magic Breakout Forex Trading Strategy PDF eBook
eforexcourse web
 
Cómo Operar Índices Sintéticos Deriv.com (Espanol) Vince Stanzione
Cómo Operar Índices Sintéticos Deriv.com (Espanol) Vince StanzioneCómo Operar Índices Sintéticos Deriv.com (Espanol) Vince Stanzione
Cómo Operar Índices Sintéticos Deriv.com (Espanol) Vince Stanzione
Vince Stanzione
 
Fibonacci retracement level
Fibonacci retracement levelFibonacci retracement level
Fibonacci retracement level
pipsumo traderfx
 
Secrets to Smart trading with Binary.com
Secrets to Smart trading with Binary.comSecrets to Smart trading with Binary.com
Secrets to Smart trading with Binary.com
Vince Stanzione
 
Local Secondary Indexes in Apache Phoenix
Local Secondary Indexes in Apache PhoenixLocal Secondary Indexes in Apache Phoenix
Local Secondary Indexes in Apache Phoenix
Rajeshbabu Chintaguntla
 
High Probability Trading Setups
High Probability Trading SetupsHigh Probability Trading Setups
High Probability Trading Setupsbtrader
 
Handout Seminar Charttechnik und Ttrading Philipp Kahler 2007
Handout Seminar Charttechnik und Ttrading Philipp Kahler 2007Handout Seminar Charttechnik und Ttrading Philipp Kahler 2007
Handout Seminar Charttechnik und Ttrading Philipp Kahler 2007
Philipp Kahler
 
Master binary options trading ebook
Master binary options trading ebookMaster binary options trading ebook
Master binary options trading ebook
MasterBinary
 

What's hot (20)

Forex Trading - How to Create a Trading Strategy
Forex Trading - How to Create a Trading StrategyForex Trading - How to Create a Trading Strategy
Forex Trading - How to Create a Trading Strategy
 
Candlesticks, fibonacci, and chart pattern trading forex factory ( pdf drive )
Candlesticks, fibonacci, and chart pattern trading   forex factory ( pdf drive )Candlesticks, fibonacci, and chart pattern trading   forex factory ( pdf drive )
Candlesticks, fibonacci, and chart pattern trading forex factory ( pdf drive )
 
Forex trendline break ea for mt4
Forex trendline break ea for mt4Forex trendline break ea for mt4
Forex trendline break ea for mt4
 
Reading The Tape 101 - Learn How To Read The Tape For Day Trading
Reading The Tape 101 - Learn How To Read The Tape For Day TradingReading The Tape 101 - Learn How To Read The Tape For Day Trading
Reading The Tape 101 - Learn How To Read The Tape For Day Trading
 
Neo4j Training Introduction
Neo4j Training IntroductionNeo4j Training Introduction
Neo4j Training Introduction
 
Best IQ Option Strategy- IQ Option Tips For Winning Trades
Best IQ Option Strategy- IQ Option Tips For Winning TradesBest IQ Option Strategy- IQ Option Tips For Winning Trades
Best IQ Option Strategy- IQ Option Tips For Winning Trades
 
Cómo Operar Índices Sintéticos Deriv.com by Vince Stanzione (Spanish Edition )
Cómo Operar Índices Sintéticos Deriv.com by Vince Stanzione (Spanish Edition )Cómo Operar Índices Sintéticos Deriv.com by Vince Stanzione (Spanish Edition )
Cómo Operar Índices Sintéticos Deriv.com by Vince Stanzione (Spanish Edition )
 
Managing the Role Hierarchy at Enterprise Scale
Managing the Role Hierarchy at Enterprise ScaleManaging the Role Hierarchy at Enterprise Scale
Managing the Role Hierarchy at Enterprise Scale
 
Bbma oa 3 s (second editing ) terbaru
Bbma oa 3 s (second editing ) terbaruBbma oa 3 s (second editing ) terbaru
Bbma oa 3 s (second editing ) terbaru
 
40 pip parabolic sar forex strategy (1)
40 pip parabolic sar forex strategy (1)40 pip parabolic sar forex strategy (1)
40 pip parabolic sar forex strategy (1)
 
Word2Vec model to generate synonyms on the fly in Apache Lucene.pdf
Word2Vec model to generate synonyms on the fly in Apache Lucene.pdfWord2Vec model to generate synonyms on the fly in Apache Lucene.pdf
Word2Vec model to generate synonyms on the fly in Apache Lucene.pdf
 
Algorithmic Trading
Algorithmic TradingAlgorithmic Trading
Algorithmic Trading
 
Magic Breakout Forex Trading Strategy PDF eBook
Magic Breakout Forex Trading Strategy PDF eBookMagic Breakout Forex Trading Strategy PDF eBook
Magic Breakout Forex Trading Strategy PDF eBook
 
Cómo Operar Índices Sintéticos Deriv.com (Espanol) Vince Stanzione
Cómo Operar Índices Sintéticos Deriv.com (Espanol) Vince StanzioneCómo Operar Índices Sintéticos Deriv.com (Espanol) Vince Stanzione
Cómo Operar Índices Sintéticos Deriv.com (Espanol) Vince Stanzione
 
Fibonacci retracement level
Fibonacci retracement levelFibonacci retracement level
Fibonacci retracement level
 
Secrets to Smart trading with Binary.com
Secrets to Smart trading with Binary.comSecrets to Smart trading with Binary.com
Secrets to Smart trading with Binary.com
 
Local Secondary Indexes in Apache Phoenix
Local Secondary Indexes in Apache PhoenixLocal Secondary Indexes in Apache Phoenix
Local Secondary Indexes in Apache Phoenix
 
High Probability Trading Setups
High Probability Trading SetupsHigh Probability Trading Setups
High Probability Trading Setups
 
Handout Seminar Charttechnik und Ttrading Philipp Kahler 2007
Handout Seminar Charttechnik und Ttrading Philipp Kahler 2007Handout Seminar Charttechnik und Ttrading Philipp Kahler 2007
Handout Seminar Charttechnik und Ttrading Philipp Kahler 2007
 
Master binary options trading ebook
Master binary options trading ebookMaster binary options trading ebook
Master binary options trading ebook
 

Viewers also liked

Automated Trading
Automated TradingAutomated Trading
Automated Trading
Gaurav Chakravorty
 
High-Frequency Trading and 2010 Flash Crash
High-Frequency Trading and 2010 Flash CrashHigh-Frequency Trading and 2010 Flash Crash
High-Frequency Trading and 2010 Flash Crash
Yoshi S.
 
Fix protocol an introduction (r motie)
Fix protocol   an introduction (r motie)Fix protocol   an introduction (r motie)
Fix protocol an introduction (r motie)Dr Richard Motie
 
FIX Protocol Overview.
FIX Protocol Overview.FIX Protocol Overview.
FIX Protocol Overview.aiQUANT
 
How to place orders through FIX Message
How to place orders through FIX MessageHow to place orders through FIX Message
How to place orders through FIX Message
Neeraj Kaushik
 
Research aspects in high frequency trading
Research aspects in high frequency tradingResearch aspects in high frequency trading
Research aspects in high frequency trading
Gaurav Chakravorty
 
Quick Fix Sample
Quick Fix SampleQuick Fix Sample
Quick Fix Sample
Neeraj Kaushik
 
The Foreign Exchange (Forex) Market Explained: Dynamics, Participants and Tra...
The Foreign Exchange (Forex) Market Explained: Dynamics, Participants and Tra...The Foreign Exchange (Forex) Market Explained: Dynamics, Participants and Tra...
The Foreign Exchange (Forex) Market Explained: Dynamics, Participants and Tra...
Steve W
 
Intro To The FIX Protocol presented at BarCampNYC3
Intro To The FIX Protocol presented at BarCampNYC3 Intro To The FIX Protocol presented at BarCampNYC3
Intro To The FIX Protocol presented at BarCampNYC3
Brian Driscoll
 
Algorithmic Trading and FIX Protocol
Algorithmic Trading and FIX ProtocolAlgorithmic Trading and FIX Protocol
Algorithmic Trading and FIX Protocol
EXANTE
 
Foreign exchange market-final ppt(my)
Foreign exchange market-final ppt(my)Foreign exchange market-final ppt(my)
Foreign exchange market-final ppt(my)
J Prateek Kundu
 
Foreign Exchange Market
Foreign Exchange MarketForeign Exchange Market
Foreign Exchange Marketrajeevj
 
Forex ppt
Forex pptForex ppt
Forex ppt
pujachaudhary
 
Chapter 13_The Foreign Exchange Market
Chapter 13_The Foreign Exchange MarketChapter 13_The Foreign Exchange Market
Chapter 13_The Foreign Exchange MarketRusman Mukhlis
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
Leslie Samuel
 

Viewers also liked (15)

Automated Trading
Automated TradingAutomated Trading
Automated Trading
 
High-Frequency Trading and 2010 Flash Crash
High-Frequency Trading and 2010 Flash CrashHigh-Frequency Trading and 2010 Flash Crash
High-Frequency Trading and 2010 Flash Crash
 
Fix protocol an introduction (r motie)
Fix protocol   an introduction (r motie)Fix protocol   an introduction (r motie)
Fix protocol an introduction (r motie)
 
FIX Protocol Overview.
FIX Protocol Overview.FIX Protocol Overview.
FIX Protocol Overview.
 
How to place orders through FIX Message
How to place orders through FIX MessageHow to place orders through FIX Message
How to place orders through FIX Message
 
Research aspects in high frequency trading
Research aspects in high frequency tradingResearch aspects in high frequency trading
Research aspects in high frequency trading
 
Quick Fix Sample
Quick Fix SampleQuick Fix Sample
Quick Fix Sample
 
The Foreign Exchange (Forex) Market Explained: Dynamics, Participants and Tra...
The Foreign Exchange (Forex) Market Explained: Dynamics, Participants and Tra...The Foreign Exchange (Forex) Market Explained: Dynamics, Participants and Tra...
The Foreign Exchange (Forex) Market Explained: Dynamics, Participants and Tra...
 
Intro To The FIX Protocol presented at BarCampNYC3
Intro To The FIX Protocol presented at BarCampNYC3 Intro To The FIX Protocol presented at BarCampNYC3
Intro To The FIX Protocol presented at BarCampNYC3
 
Algorithmic Trading and FIX Protocol
Algorithmic Trading and FIX ProtocolAlgorithmic Trading and FIX Protocol
Algorithmic Trading and FIX Protocol
 
Foreign exchange market-final ppt(my)
Foreign exchange market-final ppt(my)Foreign exchange market-final ppt(my)
Foreign exchange market-final ppt(my)
 
Foreign Exchange Market
Foreign Exchange MarketForeign Exchange Market
Foreign Exchange Market
 
Forex ppt
Forex pptForex ppt
Forex ppt
 
Chapter 13_The Foreign Exchange Market
Chapter 13_The Foreign Exchange MarketChapter 13_The Foreign Exchange Market
Chapter 13_The Foreign Exchange Market
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 

Similar to A Flash Crash Simulator: Analyzing HFT's Impact on Market Quality

About Nextware
About NextwareAbout Nextware
About NextwareSmith Kim
 
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
Takanobu Mizuta
 
This Help you for Earning
This Help you for EarningThis Help you for Earning
This Help you for Earning
Laxmikant Jagtap
 
Cifer2017
Cifer2017Cifer2017
Cifer2017
Takanobu Mizuta
 
Generative Hyperloop Design: Managing Massively Scaled Simulations Focused on...
Generative Hyperloop Design: Managing Massively Scaled Simulations Focused on...Generative Hyperloop Design: Managing Massively Scaled Simulations Focused on...
Generative Hyperloop Design: Managing Massively Scaled Simulations Focused on...
Databricks
 
Japan adtech industry report 2014
Japan adtech industry report 2014Japan adtech industry report 2014
Japan adtech industry report 2014
Satoshi Noda
 
Digital Disruptors Conference - an investment framework for online stock inve...
Digital Disruptors Conference - an investment framework for online stock inve...Digital Disruptors Conference - an investment framework for online stock inve...
Digital Disruptors Conference - an investment framework for online stock inve...
George Gabriel
 
Q-Trade Bootcamp 2015: Quantitative, Algorithmic Trading & HFT
 Q-Trade Bootcamp 2015: Quantitative, Algorithmic Trading & HFT Q-Trade Bootcamp 2015: Quantitative, Algorithmic Trading & HFT
Q-Trade Bootcamp 2015: Quantitative, Algorithmic Trading & HFT
QTrade Bootcamp
 
Investment presentation powerpoint
Investment presentation powerpointInvestment presentation powerpoint
Investment presentation powerpoint
Cole McDowell
 
Light paper
Light paper Light paper
Light paper
wijitha gayan
 
Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!
QuantInsti
 
TradeZilla - Trading system Design
TradeZilla - Trading system DesignTradeZilla - Trading system Design
TradeZilla - Trading system Design
Marketcalls
 
Quant in Crypto Land
Quant in Crypto LandQuant in Crypto Land
Quant in Crypto Land
Jesus Rodriguez
 
RSDeltabookforthecloud
RSDeltabookforthecloudRSDeltabookforthecloud
RSDeltabookforthecloudBrian Crone
 
Childrens Personalised Writing Paper Set Alphabet By Hone
Childrens Personalised Writing Paper Set Alphabet By HoneChildrens Personalised Writing Paper Set Alphabet By Hone
Childrens Personalised Writing Paper Set Alphabet By Hone
Sara Perez
 
NFT EXCHANGE PLATFORM DEVELOPMENT PDF.pdf
NFT EXCHANGE PLATFORM DEVELOPMENT PDF.pdfNFT EXCHANGE PLATFORM DEVELOPMENT PDF.pdf
NFT EXCHANGE PLATFORM DEVELOPMENT PDF.pdf
NADCAB TECHNOLOGY
 
NFT EXCHANGE PLATFORM DEVELOPMENT PPT.pptx
NFT EXCHANGE PLATFORM DEVELOPMENT PPT.pptxNFT EXCHANGE PLATFORM DEVELOPMENT PPT.pptx
NFT EXCHANGE PLATFORM DEVELOPMENT PPT.pptx
NADCAB TECHNOLOGY
 
SIFMA 2010 June 23 - Real Time Risk Management with Microsoft’s StreamInsight
SIFMA 2010 June 23 - Real Time Risk Management with Microsoft’s StreamInsightSIFMA 2010 June 23 - Real Time Risk Management with Microsoft’s StreamInsight
SIFMA 2010 June 23 - Real Time Risk Management with Microsoft’s StreamInsight
Matt Davey
 

Similar to A Flash Crash Simulator: Analyzing HFT's Impact on Market Quality (20)

About Nextware
About NextwareAbout Nextware
About Nextware
 
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
 
This Help you for Earning
This Help you for EarningThis Help you for Earning
This Help you for Earning
 
Cifer2017
Cifer2017Cifer2017
Cifer2017
 
Generative Hyperloop Design: Managing Massively Scaled Simulations Focused on...
Generative Hyperloop Design: Managing Massively Scaled Simulations Focused on...Generative Hyperloop Design: Managing Massively Scaled Simulations Focused on...
Generative Hyperloop Design: Managing Massively Scaled Simulations Focused on...
 
Japan adtech industry report 2014
Japan adtech industry report 2014Japan adtech industry report 2014
Japan adtech industry report 2014
 
Digital Disruptors Conference - an investment framework for online stock inve...
Digital Disruptors Conference - an investment framework for online stock inve...Digital Disruptors Conference - an investment framework for online stock inve...
Digital Disruptors Conference - an investment framework for online stock inve...
 
Just dial Ltd
Just dial LtdJust dial Ltd
Just dial Ltd
 
Q-Trade Bootcamp 2015: Quantitative, Algorithmic Trading & HFT
 Q-Trade Bootcamp 2015: Quantitative, Algorithmic Trading & HFT Q-Trade Bootcamp 2015: Quantitative, Algorithmic Trading & HFT
Q-Trade Bootcamp 2015: Quantitative, Algorithmic Trading & HFT
 
Investment presentation powerpoint
Investment presentation powerpointInvestment presentation powerpoint
Investment presentation powerpoint
 
Athens_MiniForum
Athens_MiniForumAthens_MiniForum
Athens_MiniForum
 
Light paper
Light paper Light paper
Light paper
 
Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!Quant insti webinar on algorithmic trading for technocrats!
Quant insti webinar on algorithmic trading for technocrats!
 
TradeZilla - Trading system Design
TradeZilla - Trading system DesignTradeZilla - Trading system Design
TradeZilla - Trading system Design
 
Quant in Crypto Land
Quant in Crypto LandQuant in Crypto Land
Quant in Crypto Land
 
RSDeltabookforthecloud
RSDeltabookforthecloudRSDeltabookforthecloud
RSDeltabookforthecloud
 
Childrens Personalised Writing Paper Set Alphabet By Hone
Childrens Personalised Writing Paper Set Alphabet By HoneChildrens Personalised Writing Paper Set Alphabet By Hone
Childrens Personalised Writing Paper Set Alphabet By Hone
 
NFT EXCHANGE PLATFORM DEVELOPMENT PDF.pdf
NFT EXCHANGE PLATFORM DEVELOPMENT PDF.pdfNFT EXCHANGE PLATFORM DEVELOPMENT PDF.pdf
NFT EXCHANGE PLATFORM DEVELOPMENT PDF.pdf
 
NFT EXCHANGE PLATFORM DEVELOPMENT PPT.pptx
NFT EXCHANGE PLATFORM DEVELOPMENT PPT.pptxNFT EXCHANGE PLATFORM DEVELOPMENT PPT.pptx
NFT EXCHANGE PLATFORM DEVELOPMENT PPT.pptx
 
SIFMA 2010 June 23 - Real Time Risk Management with Microsoft’s StreamInsight
SIFMA 2010 June 23 - Real Time Risk Management with Microsoft’s StreamInsightSIFMA 2010 June 23 - Real Time Risk Management with Microsoft’s StreamInsight
SIFMA 2010 June 23 - Real Time Risk Management with Microsoft’s StreamInsight
 

Recently uploaded

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
UiPathCommunity
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 

Recently uploaded (20)

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 

A Flash Crash Simulator: Analyzing HFT's Impact on Market Quality

  • 1. Flash Crash SimulatorFlash Crash Simulator Analyzing HFT's Impact on Market QualityAnalyzing HFT's Impact on Market Quality Yoshiharu SatoYoshiharu Sato University of Warsaw, 2015University of Warsaw, 2015 https://sites.google.com/site/yoshi2233/https://sites.google.com/site/yoshi2233/
  • 2. About MeAbout Me BackgroundBackground ・・ 3D Graphics Programming (C/C++)3D Graphics Programming (C/C++) ・・ Derivatives Trading (CFDs, Vanilla Options)Derivatives Trading (CFDs, Vanilla Options) ・・ BSc in Quantitative Analysis & InformaticsBSc in Quantitative Analysis & Informatics ExpertiseExpertise ・・ Real-Time, High-Performance Systems in C++Real-Time, High-Performance Systems in C++
  • 3. My Previous Work:My Previous Work: 3D Engine in C/C++3D Engine in C/C++ (Geometry, Quaternion, Optics, SIMD)(Geometry, Quaternion, Optics, SIMD)
  • 4. My Previous Work:My Previous Work: Algorithm Backtester in C++Algorithm Backtester in C++ (Statistics, Econometrics, Time-Series Analysis, Multithreading)(Statistics, Econometrics, Time-Series Analysis, Multithreading)
  • 5. Current Research (MSc in Quantitative Finance):Current Research (MSc in Quantitative Finance): High Frequency TradingHigh Frequency Trading
  • 6. HFT has been criticized for:HFT has been criticized for: ・・ unfair speed advantageunfair speed advantage (direct feed, colocation)(direct feed, colocation) ・・ predatory trading practicespredatory trading practices (front-running)(front-running) ・・ allegedly causing flash crashesallegedly causing flash crashes
  • 7. Empirical studies show that HFT has:Empirical studies show that HFT has: ・・ narrowed bid-ask spreadsnarrowed bid-ask spreads ・・ reduced transaction costsreduced transaction costs ・・ made price formations more efficientmade price formations more efficient
  • 8. Two Types of HFTTwo Types of HFT ・・ OpportunisticOpportunistic - statistical arbitrage- statistical arbitrage - news feed arbitrage- news feed arbitrage - latency arbitrage- latency arbitrage - momentum detection- momentum detection - order flow prediction, etc- order flow prediction, etc ・・ Market MakingMarket Making - rebate arbitrage (ELP)- rebate arbitrage (ELP) - ETF market making- ETF market making - option market making, etc- option market making, etc
  • 9. Rebate Arbitrage (ELP)Rebate Arbitrage (ELP) ・・ A market-making HFT strategy that seeks to earn bothA market-making HFT strategy that seeks to earn both the bid-ask spreads and the rebates paid by exchangesthe bid-ask spreads and the rebates paid by exchanges as incentives for providing liquidityas incentives for providing liquidity ・・ TheThe Maker-TakerMaker-Taker pricing model gives rebates topricing model gives rebates to liquidity providers (passive flowliquidity providers (passive flow with limit orderswith limit orders) while) while charging liquidity takers (active flow with marketcharging liquidity takers (active flow with market orders)orders) ・・ These ELP-HFTs can afford to breakeven or even loseThese ELP-HFTs can afford to breakeven or even lose money on each trade as long as the rebates they receivemoney on each trade as long as the rebates they receive covers their costscovers their costs
  • 10. Market-Making HFT:Market-Making HFT: Virtu FinancialVirtu Financial Virtu made money on 1,484 out of 1,485 trading days (only one losingVirtu made money on 1,484 out of 1,485 trading days (only one losing trading day =trading day = 99.93% winning rate99.93% winning rate) from Jan 2009 to Dec 2014, and) from Jan 2009 to Dec 2014, and made money EVERY trading day in 2014, generating profit of $190made money EVERY trading day in 2014, generating profit of $190 million from revenue of $723 millionmillion from revenue of $723 million
  • 11. Virtu Financial (cont.)Virtu Financial (cont.)
  • 12. Case Study:Case Study: Tokyo Stock ExchangeTokyo Stock Exchange
  • 13. HFT @ TSEHFT @ TSE ・・ TSE introduced a new exchange systemTSE introduced a new exchange system 'Arrowhead''Arrowhead' in 2010, offeringin 2010, offering ULLDMAULLDMA (Ultra-Low Latency Direct(Ultra-Low Latency Direct Market Access)Market Access) to HFTsto HFTs ・・ System development started in 2007 by 500 staffs fromSystem development started in 2007 by 500 staffs from Fujitsu, based on “V-model with feedback”Fujitsu, based on “V-model with feedback” ((4,000+4,000+ pages of system requirement)pages of system requirement) ・・ 200+ exchange servers are connected via high-speed200+ exchange servers are connected via high-speed networks, each usingnetworks, each using IMDB (In-Memory Database)IMDB (In-Memory Database)
  • 14. HFT @ TSE (cont.)HFT @ TSE (cont.) ・・ Trade volume shares of HFTs increased from 10% inTrade volume shares of HFTs increased from 10% in 2010 to2010 to 72%72% (270 trillion yen or $2.3 trillion) in 2014(270 trillion yen or $2.3 trillion) in 2014 ・・ 8,000+8,000+ human dealers lost their job over the past 5 yearshuman dealers lost their job over the past 5 years due to the rise of HFTdue to the rise of HFT ((Japan Securities Dealers Association)Japan Securities Dealers Association) ・・ Arrowhead v2.0 started operation in September 2015,Arrowhead v2.0 started operation in September 2015, reducing transaction latency toreducing transaction latency to 0.5 millisecond0.5 millisecond andand increasing transaction capacity toincreasing transaction capacity to 270 million orders/day270 million orders/day ・・ New safety mechanisms: Cancel On Disconnect, KillNew safety mechanisms: Cancel On Disconnect, Kill Switch, User-Set Hard Limits, Dummy SymbolSwitch, User-Set Hard Limits, Dummy Symbol
  • 15. Did HFT really cause the Flash CrashDid HFT really cause the Flash Crash on May 6, 2010?on May 6, 2010?
  • 16. The Answer Is No,The Answer Is No, ButBut ・・ CFTC official report concludes that HFTs didCFTC official report concludes that HFTs did not cause the Flash Crash but they amplified itnot cause the Flash Crash but they amplified it by reducing liquidity andby reducing liquidity and inducing downwardinducing downward price spiralprice spiral →→ How?How?
  • 17. Order Book ImbalanceOrder Book Imbalance ・・ Large sell orders (totalLarge sell orders (total $4.1 billion$4.1 billion)) byby WaddellWaddell & Reed& Reed andand large 'spoofing' sell orderslarge 'spoofing' sell orders byby NavNav SaraoSarao caused an order book imbalance in S&Pcaused an order book imbalance in S&P 500 E-Mini futures, starting the price drop500 E-Mini futures, starting the price drop ・・ As HFTs detected the drop in E-Mini, many ofAs HFTs detected the drop in E-Mini, many of them paused trading in equities market due tothem paused trading in equities market due to high volatility and high risk of adverse selection,high volatility and high risk of adverse selection, making liquidity evaporated from the marketmaking liquidity evaporated from the market
  • 18. CFTC Official ExplanationCFTC Official Explanation ・・ When prices are moving directionally due toWhen prices are moving directionally due to order book imbalance, ELP-HFT can exacerbateorder book imbalance, ELP-HFT can exacerbate a price move and contribute to high volatilitya price move and contribute to high volatility ・・ Higher volatility further increases the speed atHigher volatility further increases the speed at which the best bid and offer queues get depletedwhich the best bid and offer queues get depleted by ELP-HFT, leading to a spike in trade volumeby ELP-HFT, leading to a spike in trade volume (“(“hot-potato effect”hot-potato effect”)) and induce a flash crashand induce a flash crash
  • 19. Research GoalResearch Goal ・・ If the CFTC's explanation is true, then I shouldIf the CFTC's explanation is true, then I should be able to induce a flash crash by implementingbe able to induce a flash crash by implementing the ELP strategy in an order book simulatorthe ELP strategy in an order book simulator →→ Analyze the impact of ELP-HFT on core marketAnalyze the impact of ELP-HFT on core market quality in order book simulationsquality in order book simulations
  • 21. Car Crash SimulationCar Crash Simulation ・・ Car/engine structuresCar/engine structures →→ KnownKnown ・・ Material propertiesMaterial properties →→ KnownKnown ・・ Deformation modelDeformation model →→ KnownKnown ・・ Simulation Real≒Simulation Real≒
  • 22. Flash Crash SimulationFlash Crash Simulation ・・ Market structureMarket structure →→ UnknownUnknown (lack of comprehensive audit trail)(lack of comprehensive audit trail) ・・ Strategies mechanicsStrategies mechanics →→ UnknownUnknown (undisclosed intellectual properties)(undisclosed intellectual properties) ・・ Interaction modelInteraction model →→ UnknownUnknown (too much interactive complexity)(too much interactive complexity) ・・ Simulation ≠ Real (simulation has to be simplified)Simulation ≠ Real (simulation has to be simplified)
  • 23. Limit Order Book (LOB) SimulationLimit Order Book (LOB) Simulation ・・ ELP market-making strategy can NOT beELP market-making strategy can NOT be simulated using static historical data due to itssimulated using static historical data due to its interactions with the LOB (interactions with the LOB (== no backtestingno backtesting)) ・・ Requires a full LOB matching engine insteadRequires a full LOB matching engine instead →→ Implement it in multithreaded C++Implement it in multithreaded C++
  • 24. Zero-Intelligence LOB SimulationZero-Intelligence LOB Simulation ・・ Numerical models (developed mainly byNumerical models (developed mainly by econophysicists) in which random orders areeconophysicists) in which random orders are submitted at random prices to the LOB withoutsubmitted at random prices to the LOB without any AI / trading strategiesany AI / trading strategies ・・ Particles of 2 types (bids and asks) in 1-D gridParticles of 2 types (bids and asks) in 1-D grid are subject to 3 types of eventsare subject to 3 types of events (Challet et al., 2001)(Challet et al., 2001) (1)(1) depositiondeposition (limit orders)(limit orders) (2)(2) annihilationannihilation (market orders)(market orders) (3)(3) evaporationevaporation (cancellation)(cancellation)
  • 25. Limit & Market OrdersLimit & Market Orders ・・ New order arrival follows aNew order arrival follows a Poisson distributionPoisson distribution ・・ Trade volume at the best bid or ask (marketTrade volume at the best bid or ask (market orders & marketable limit orders) follows aorders & marketable limit orders) follows a Gamma distributionGamma distribution (Bouchaud et al., 2002)(Bouchaud et al., 2002)
  • 26. Cancellation OrdersCancellation Orders ・・ Probability of cancellation depends:Probability of cancellation depends: - exponentially on the position in the LOB (- exponentially on the position in the LOB (yy)) - linearly on the order book imbalance (- linearly on the order book imbalance (NNimbimb)) - decreases by the total number of orders (- decreases by the total number of orders (NN)) (Mike et al., 2008)(Mike et al., 2008)
  • 27. Einstein-Smoluchowski Relation (FDR)Einstein-Smoluchowski Relation (FDR) ・・ LOB seen as a colloidal Brownian particleLOB seen as a colloidal Brownian particle embedded in smaller fluid moleculesembedded in smaller fluid molecules (Yura et al., 2014)(Yura et al., 2014)
  • 28. My LOB Simulator (C++) ArchitectureMy LOB Simulator (C++) Architecture ・・ Asynchronous Function Parallel ModelAsynchronous Function Parallel Model
  • 29. Demo Available for Download:Demo Available for Download: https://sites.google.com/site/yoshi2233/hft-flashcrashhttps://sites.google.com/site/yoshi2233/hft-flashcrash
  • 30. Simulation ResultsSimulation Results ・・ ConsistentConsistent with empirical studieswith empirical studies ・・ HFT reduces bid-ask spreadsHFT reduces bid-ask spreads (Hendershott et al., 2011 / Hasbrouck et al., 2013 /(Hendershott et al., 2011 / Hasbrouck et al., 2013 / Moriyasu et al., 2013 / Nanex Research, 2014 / Hruska et al., 2015)Moriyasu et al., 2013 / Nanex Research, 2014 / Hruska et al., 2015) ・・ HFT mitigates short-term price volatilityHFT mitigates short-term price volatility (Hagstromer et al., 2013 / ASIC, 2015)(Hagstromer et al., 2013 / ASIC, 2015)
  • 31. Simulation Results (cont.)Simulation Results (cont.) ・・ InconsistentInconsistent with the CFTC official explanationwith the CFTC official explanation ・・ ELP-HFT causes hot-potato effects,ELP-HFT causes hot-potato effects, but does notbut does not amplify directional price movesamplify directional price moves →→ Some other HFT strategies amplified the drop?Some other HFT strategies amplified the drop? (e.g. Momentum Ignition, Order Flow Detection)(e.g. Momentum Ignition, Order Flow Detection)
  • 32. ConclusionConclusion ・・ It's important to distinguish betweenIt's important to distinguish between opportunistic HFT and market-making HFTopportunistic HFT and market-making HFT ・・ To test HFT strategies, you need a limit orderTo test HFT strategies, you need a limit order book (LOB) matching engine and simulatorbook (LOB) matching engine and simulator ・・ ELP market-making strategy by itself does notELP market-making strategy by itself does not induce flash crashes, yet it can be used to initiateinduce flash crashes, yet it can be used to initiate other opportunistic, volatility-inducing strategiesother opportunistic, volatility-inducing strategies (e.g. Order Flow Detection)(e.g. Order Flow Detection)