28
High Frequency Trading + Stochastic Latency and Regulation 2.0 Andrei Kirilenko MIT Sloan

HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

High  Frequency  Trading  +  Stochastic  Latency  and  Regulation  2.0  

 Andrei  Kirilenko    

MIT  Sloan      

Page 2: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

High  Frequency  Trading:  Good  or  Evil?  

Good  Bryan  Durkin,  Chief  Operating  Officer,  CME  Group:    "There  is  considerable  evidence  that  high-­‐frequency  traders  increase  liquidity,  narrow  spreads  and  enhance  the  efficiency  of  markets.”    Evil  Charlie  Munger,  Vice  Chairman,  Berkshire  Hathaway:  “It's  legalized  front-­‐running.  I  think  it  is  basically  evil  and  I  don't  think  it  should  have  ever  been  allowed  to  reach  the  size  that  it  did.  Why  should  all  of  us  pay  a  little  group  of  people  to  engage  in  legalized  front-­‐running  of  our  orders?”              

Page 3: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

High  Frequency  Trading:  An  Asset  Manager’s  Perspective  

From  an  e-­‐mal  to  me:      “I  manage  a  ‘40  Act  fund  inside  a  major  insurance  company  and  see  nothing  but  peril  in  HFT.  The  narrowing  of  spreads  that  the  HFT  apologists  claim  to  provide  for  the  rest  of  us  redounds  to  their  bank  accounts,  not  ours.  The  other  side—increased  volatility,  false  signaling  of  volume  and  investor  preference,  market  dislocations,  exchanges’  divided  loyalties,  and  market  stresses  are  not  worth  the  risk.  We  are  definitely  paying  for  something  we  do  not  want.“            

Page 4: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

HFTs  and  Market  Dislocations:  The  Flash  Crash  

   How  did  High  Frequency  Traders  trade  on  May  6,  2010?  

What  may  have  triggered  the  Flash  Crash?  

What  role  did  HFTs  play  in  the  Flash  Crash?    “…increased  volatility,  false  signaling  of  volume  and  investor  preference,  market  dislocations,…”                  

Page 5: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Classifying  Traders  

�  HFTs:  �  High  volume,    low  inventory,  end  the  day  flat  

�  Non-­‐HFT  Market  Maker:  �  Provide  liquidity    

�  Fundamental  (Institutional):  �  Take  directional  positions  

 �  Small  (Retail):  

�  Trade  very  few  contracts  

�  Opportunistic:  �  Trade  across  multiple  markets,  against  a  model,  during  “events”  

Page 6: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Trading  Categories  

 

             

0

100000

200000

300000

400000

500000

600000

700000

-0.00736 -0.00536 -0.00336 -0.00136 0.00064 0.00264 0.00464 0.00664

Trad

er V

olum

e

May 3

High Frequency Traders

Opportunistic Traders and Intermediaries

Fundamental Sellers Fundamental Buyers 0

100000

200000

300000

400000

500000

600000

700000

-0.00736 -0.00536 -0.00336 -0.00136 0.00064 0.00264 0.00464 0.00664

Trad

er V

olum

e

May 4

High Frequency Traders

Opportunistic Traders and Intermediaries

Fundamental Sellers Fundamental Buyers

0

100000

200000

300000

400000

500000

600000

700000

-0.00736 -0.00536 -0.00336 -0.00136 0.00064 0.00264 0.00464 0.00664

Trad

er V

olum

e

May 5

High Frequency Traders

Opportunistic Traders and Intermediaries

Fundamental Sellers Fundamental Buyers 0

100000

200000

300000

400000

500000

600000

700000

-0.00736 -0.00536 -0.00336 -0.00136 0.00064 0.00264 0.00464 0.00664

Trad

er V

olum

e

Net Position Scaled by Market Trading Volume

May 6

High Frequency Traders

Opportunistic Traders and Intermediaries

Fundamental Sellers Fundamental Buyers

Page 7: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

HFTs  and  Market  Dislocations:  Net  Holdings  

 

             

1180  

1185  

1190  

1195  

1200  

1205  

-­‐3000  -­‐2500  -­‐2000  -­‐1500  -­‐1000  -­‐500  

0  500  1000  1500  2000  2500  

8:31   9:21   10:11   11:01   11:51   12:41   13:31   14:21   15:11  

Net  Position  

Time  

May 3

HFT  NP  

Price  1155  

1160  

1165  

1170  

1175  

1180  

1185  

-­‐4000  

-­‐3000  

-­‐2000  

-­‐1000  

0  

1000  

2000  

3000  

4000  

8:31   9:21   10:11   11:01   11:51   12:41   13:31   14:21   15:11  

May 4

1145  

1150  

1155  

1160  

1165  

1170  

1175  

-­‐5000  -­‐4000  -­‐3000  -­‐2000  -­‐1000  

0  1000  2000  3000  4000  5000  

8:31   9:21   10:11   11:01   11:51   12:41   13:31   14:21   15:11  

May 5

1040  

1060  

1080  

1100  

1120  

1140  

1160  

1180  

-­‐5000  

-­‐4000  

-­‐3000  

-­‐2000  

-­‐1000  

0  

1000  

2000  

3000  

4000  

mtime   9:20   10:10   11:00   11:50   12:40   13:30   14:20   15:10  

May 6

Page 8: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

The  Flash  Crash  

Large  Fundamental  Seller  –  hedges  exposure  in  equities  

Sell  Algorithm  –  sell  75,000  E-­‐mini’s  with  9%  volume  participation  target  

Size  –  Largest  net  position  of  the  year  executed  in  about  20  minutes  

Price  Decline  –  sells  35,000  ($1.9  billion)  contracts  in  13  minutes    

Cross-­‐Market  Arbitrage  –  buy  E-­‐mini/sell  SPY  or  basket  of  equities    

Across  the  Board  Price  Declines  –  trigger  automated  pauses  

Lack  of  Liquidity  in  Individual  Equities  –  systems  reset  to  reflect  higher  risk  

Broken  Trades  in  Equities  –  retail  stop  loss  orders  executed  against  stub  quotes    

 Source:  CFTC-­‐SEC  Report  on  the  Events  of  May  6,  2010  

 

 

 

 

 

 

 

Page 9: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

HFTs  and  Market  Dislocations:  The  Flash  Crash  

 �  On  May  6,  2010,  HFTs  traded  the  same  way  as  they  did  on  May  3-­‐5:  Small  inventory,  high  trading  volume,  take  more  liquidity  than  provide.  

�  High  Frequency  Traders  did  not  cause  the  Flash  Crash.  

�  A  large,  but  short  lived  imbalance  between  Fundamental  Sellers  and  Fundamental  Buyers  appeared.  

�  Opportunistic  Traders  held  it,  but  for  a  massive  price  concession.    

 Source:  CFTC-­‐SEC  Report  on  the  Events  of  May  6,  2010    

             

Page 10: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

BIDS

ASKS

600 400 200 0 200 400 600

999.00

999.25

999.50

999.75

1000.00

1000.25

1000.50

1000.75

1001.00

1001.25

Number of Contracts

Pric

e

600 400 200 0 200 400 600

999.00

999.25

999.50

999.75

1000.00

1000.25

1000.50

1000.75

1001.00

1001.25

Number of Contracts

Pric

e

600 400 200 0 200 400 600

999.00

999.25

999.50

999.75

1000.00

1000.25

1000.50

1000.75

1001.00

1001.25

Number of Contracts

Pric

e

600 400 200 0 200 400 600

999.00

999.25

999.50

999.75

1000.00

1000.25

1000.50

1000.75

1001.00

1001.25

Number of Contracts Pr

ice

Selling  Pressure  Continues:  Execute  Passively  

Selling  Pressure  Stops:  Scratch  Trade  

 

“…paying  for  something  we  do  not  want.“        

Page 11: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

HFTs  under  regular  market  conditions    

   (1)  Are  HFTs  profitable?      (2)  Do  HFTs  provide  liquidity?    

(3)  Do  HFTs  bear  commensurate  risk?  

“The  narrowing  of  spreads  that  the  HFT  apologists  claim  to  provide  for  the  rest  of  us  redounds  to  their  bank  accounts,  not  ours.”  

     

Page 12: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Classifying  HFTs  

HFTs:  a.  high  volume    b.  low  inventory    c.  end  the  day  with  near  zero  positions    

Not  all  HFTs  are  the  same:  a.  Aggressive  –  HFT  +  mostly  take  liquidity    b.  Mixed  –  HFT  +  both  take  and  provide  liquidity    c.  Passive  –  HFT  +  provide  liquidity    

Page 13: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Sharpe  ratios  

-­‐10  -­‐5  0  5  10  15  20  25   HFT-­‐Aggressive  Sharpe  ra1os  

-­‐10  -­‐5  0  5  10  15  20  25   HFT-­‐Passive  Sharpe  ra1os  

90%  75%  50%  25%  10%  

90%  75%  50%  25%  10%  

252*][][252*

][][

i

i

i

fi

SDE

rSDrrE

ππ

≈−

=

[Assuming  constant  capitaliza6on  over  6me  and  rf  =  0]  

Sharpe  Ra6o  

Page 14: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Profit  consistency  

-­‐$50,000  $0  

$50,000  $100,000  $150,000  $200,000  $250,000  Avg  Daily  Profits  

HFT-­‐Aggressive  profit  consistency  

-­‐$20,000  

$0  

$20,000  

$40,000  

$60,000   HFT-­‐Passive  profit  consistency  

Top  3rd   All   BoFom  3rd  

Page 15: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Providing  or  Taking  Liquidity?  

-­‐$400,000  

-­‐$200,000  

$0  

$200,000  

$400,000  

$600,000  

$800,000  

0   0.1   0.2   0.3   0.4   0.5   0.6   0.7   0.8   0.9   1  

p10  p25  p50  p75  p90  

Page 16: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

HFTs  under  regular  market  conditions    

 (1)  HFT  Profitability:        -­‐  High  profitability,  very  persistent.  

   -­‐  Very  high  Sharpe  ratios  and  very  low  inventory.      -­‐  Large  variations  in  profitability  across  firms.  

   (2)  Sources  of  HFT  Profits:  

   -­‐  Over  short  time  horizons.      -­‐  Aggressive  HFTs  make  money  on  momentum.      -­‐  Mixed  and  Passive  HFTs  make  money  on  the  bid-­‐ask    

       spread.    

(3)  HFT  Liquidity  Provision:        -­‐  Large  heterogeneity  in  liquidity  provision.  

 -­‐  Most  profitable  HFTs  are  liquidity  takers.  

Page 17: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

HFTs  at  times  of  market  stress  

1.  HFTs  earn  large,  persistent  profits,  take  little  risk.  2.  HFTs  exhibit  wide  heterogeneity  in  liquidity  provision.  3.  HFT  profits  increase  in  aggressiveness.      

1.  HFTs  trade  the  same  as  under  regular  market  conditions.    2.  HFTs  “hot  potato  trading”  leads  to  a  spike  in  trading  volume.    3.  HFTs  exacerbate  volatility  by  aggressively  unwinding  inventory.      

HFTs  under  regular  market  conditions  

Charlie  Munger:  “I  think  the  long  term  investor  is  not  too  much  affected  by  things  like  the  flash  crash.  That  said,  I  think  it  is  very  stupid  to  allow  a  system  to  evolve  where  half  of  the  trading  is  a  bunch  of  short  term  people  trying  to  get  information  one  millionth  of  a  nanosecond  ahead  of  somebody  else.”  

Page 18: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

What  about  price  discovery?  

“…people  trying  to  get  information  one  millionth  of  a  nanosecond  ahead  of  somebody  else”  …  can  make  prices  more  informative  one  millionth  of  a  nanosecond  sooner.    What  does  it  mean  sooner?    How  do  we  measure  the  speed  of  information  transmission?    What  role  do  HFTs  play  in  price  discovery?                  

Page 19: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Latency  

Latency  is  the  delay  between  the  occurrence  of  an  event  and  its  manifestation  or  recording.    A  standard  way  to  measure  latency  is  by  determining  the  time  it  takes  a  given  data  packet  to  travel  from  source  to  destination  and  back,  the  so-­‐called  round-­‐trip  time  or  RTT.    The  data  packet  we  will  use  is  the  so-­‐called  message.    A  message  is  a  standardized  packet  of  data  that  enables  a  trader  and  a  trading  venue  to  communicate  with  each  other.                  

Page 20: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Latency  of  Automated  Trading  System  

Three  different  types  of  latency.    

Communication  latency  is  the  time  it  takes  for  a  message  to  travel  between  an  individual  trader’s  computer  and  an  automated  trading  venue.      

Market  feed  latency  is  the  time  it  takes  for  an  automated  trading  venue  to  disseminate  market  data  out  to  all  market  participants.      

Trading  system  latency  is  the  time  it  takes  for  a  message  to  travel  within  an  automated  trading  venue  from  the  initial  entry  to  the  eventual  confirmation  going  back  to  the  trader.                  

Page 21: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Measuring  Trading  System  Latency  

Page 22: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Trading  System  Latency:  It’s  Random  Variable!  

Page 23: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Stochastic  Latency:  Power  Law  

alpha = 4.28 (0.028) X_min = 1,588 N Tail = 16,803 (18%)

Page 24: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Stochastic  Latency:  Power  Law  

Page 25: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Stochastic  Latency:  Lognormal  

Mean: 1220.06 Variance: 129.7

Page 26: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Stochastic  Latency:  A  Risk  Factor  in  Automated  Markets  

Suppose  that  there  is  a  true  price  process  with  constant  or  stochastic  volatility.  

Suppose  also  that  the  true  price  process  is  observed  with  a  stochastic  delay  (latency).  

 Stochastic  latency  (i.e.,  it’s  a  random  variable)  increases  the  volatility  of  volatility.    

Page 27: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Financial  Regulation  1.0  

clearing

commission

swaps

dco

customer

cleared

risk

margindcosmembers

derivatives

sec

member

proposed

collateral

requirement

organization

financial

futuresaccount

swap

data

reporting

sdrmarket time

part

block

counterparty

cl

counterpartiesnotional

public

asset

section

required

requirements

compliance

foreign

msps

rules

sds

rule

management

affiliate

believesmsp

order

final

ceaact

transactions

information

dodd

frank

commodity

relief

entities

entityexemptletter

form fund

advisers

funds

privateinvestment

pfcpos

exemption

hedgeassets

sefcomment

trading

trade

dcmexecutioncore

participants

contract

positionlimits

contracts

notesupra

positions

month

referenced

price

spotcash physical

bonafide

basedsecurity

index

exchange

commissionssecurities

cftc

titlevii

insuranceinterpretation

regulation

retail

person

merchant

regulations

registration

dealer

majordealers

participant

commentersspecial

definition

optionsagricultural

electricoption

consumer

coveredidentitynotice

actionwhistleblower

theftopt

institution

bankingactivities

transaction

minimumregistered rate

classsize

subpartresources proceduresii

facilityboard

designated

agreement

fcmcustomerscapital

segregationmodel

fcms

Topic from Final RulesTopic from Proposed Rules

Page 28: HighFrequencyTrading% +StochasticLatencyandRegulation2.0% · 2014-02-26 · TradingCategories% % % % % % % % % 0 100000 200000 300000 400000 500000 600000 700000 -0.00736 -0.00536

Financial  Regulation  2.0  

Systems-­‐Engineered.    Regulate  automated  markets  as  complex  systems  composed  of  software,  hardware,  and  human  personnel;  promote  best  practices  in  systems  design  and  complexity  management.      Safeguards-­‐Heavy.  Make  risk  safeguards  consistent  with  the  machine-­‐readable  communication  protocols  and  operational  speeds.      Transparency-­‐Rich.  Mandate  that  versions  and  modifications  of  the  source  code  that  implement  each  rule  are  made  available  to  the  regulators  and  potentially  the  public.      Cyber-­‐centric.  Change  regulatory  surveillance  and  enforcement  practices  to  be  more  cyber-­‐centric  rather  than  human-­‐centric.    Platform-­‐Neutral.  Make  regulations  neutral  with  respect  to  computing  technologies.