You are on page 1of 44

Content

High Frequency Trading


Mini Flash Crashes
References

High Frequency Trading

Anton Golub

Manchester Business School

April 19, 2011

Anton Golub High Frequency Trading


Content
High Frequency Trading
Mini Flash Crashes
References

High Frequency Trading


Characteristics
Market Microstructure
High Frequency Trading Strategies

Mini Flash Crashes


Introduction
Definition
Examples
Statistics

References

Anton Golub High Frequency Trading


Content
Characteristics
High Frequency Trading
Market Microstructure
Mini Flash Crashes
High Frequency Trading Strategies
References

Definition & Characteristics

High Frequency Trading (HFT):


I extremely fast, fully automated and computerized trading
I short trading time horizon
I benefits from market liquidity imbalances and short-term pricing
inefficiencies
I require real-time data analysis and trading decisions
I do not carry overnight positions
As HFT is sensitive to latency, high frequency trading firms:
I co-locate their computers next to exchanges
I buy raw data from exchanges and reconstruct the order book by
them self

Anton Golub High Frequency Trading


Content
Characteristics
High Frequency Trading
Market Microstructure
Mini Flash Crashes
High Frequency Trading Strategies
References

Volume & Who is trading & Annual Profits


HFT represents 70% of U.S equity volume (77% in UK) - done by only
2% of traders;

Biggest traders: Goldman Sachs, Credit Suisse, GETCO, Renaissance


Technologies, Citadel. Yearly profits in U.S. are estimated to $21 billion.
Anton Golub High Frequency Trading
Content
Characteristics
High Frequency Trading
Market Microstructure
Mini Flash Crashes
High Frequency Trading Strategies
References

Strategies

HFT can be broadly categorized into:


I liquidity detection strategies: Rebate Trading, Automated Market
Making
I pricing inefficiencies strategies: Scalping, Latency Arbitrage,
Statistical Arbitrage
I predatory strategies: Flash Trading, Quote Stuffing

Anton Golub High Frequency Trading


Content
Characteristics
High Frequency Trading
Market Microstructure
Mini Flash Crashes
High Frequency Trading Strategies
References

What is the essence of HFT strategies?

Customer: How much are those?


Merchant: A buck fifty.
Customer: I’ll take some.
Merchant: They’re a buck fifty-one.
Customer: Um, you said a buck fifty.
Merchant: That was before I knew you wanted some.
Customer: You can’t do that!
Merchant: It’s my shop.
Customer: But I need to buy a hundred!
Merchant: A hundred? Then it’s buck fifty-two.
Customer: You’re ripping me off.
Merchant: Supply and demand, pal. You want ’em or not?

Anton Golub High Frequency Trading


Content
Characteristics
High Frequency Trading
Market Microstructure
Mini Flash Crashes
High Frequency Trading Strategies
References

Rebate Trading

Exchanges pay HF traders that post best limit sell or best limit buy
orders - Liquidity Rebate: $0,003/share.
HF traders plan:
I place a limit buy order
I if his order is matched, he turns around and place a limit sell order
at the same price
I profit from trading will be $0,00, but he will collect rebates!

Anton Golub High Frequency Trading


Content
Characteristics
High Frequency Trading
Market Microstructure
Mini Flash Crashes
High Frequency Trading Strategies
References

Rebate Trading

Price Shares
best offer 10,02 600
best bid 10,01 100 ← HFT buy order
bid 10,00 100

Price Shares
offer 10,02 600
best offer 10,01 100 ← HFT sell order
best bid 10,00 100

Total profit = Profit from trading + Rebates =


$0, 00 × 200 + $0, 003 × 200 = $0, 60.

Anton Golub High Frequency Trading


Content
Characteristics
High Frequency Trading
Market Microstructure
Mini Flash Crashes
High Frequency Trading Strategies
References

Flash Trading

exchange A exchange B
Price Shares Price Shares
offer 10,02 600 10,02 400
best offer 10,01 500
best bid 10,00 100 10,00 200

I mutual fund sends an order to buy 500 shares to exchange A


I exchange A does not have the best offer, so the order must be
routed to exchange B
I instead exchange A ”flashes” the order to privileged group of HF
traders for 30 milliseconds
I if the order is matched it will be traded at $10,00 (superior to all sell
orders)

Anton Golub High Frequency Trading


Content
Characteristics
High Frequency Trading
Market Microstructure
Mini Flash Crashes
High Frequency Trading Strategies
References

Flash Trading

What is the problem with Flash Trading?


I creating a tiered market - some traders see the incoming order, other
do not
I ”gaming” the exchange fee structure - orders must be routed to the
venue with the best possible price
I allows front running - HF traders have the upper hand in knowing
mutual funds’ intentions

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Flash Crash

FLASH CRASH

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

May 6th Flash Crash


May 6th Flash Crash:
I second largest point swing of 1,010.14 points

I biggest one-day point decline of 998.5 points, on an intraday basis in


DJIA history
I markets crashed in less than 5 minutes, just to soon recover

Figure: Flash Crash

Flash Crash + scaling laws/fractal nature of price ⇒ mini Flash crash


Anton Golub High Frequency Trading
Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Definition of Mini Flash Crash

Nanex Llc. defined a up/down mini Flash Crash as:


I at least 10 up/down price moves before ticking down/up
I price change has to be greater than 0.8%,
I all within 1.5 seconds.
Down Crashes Up Crashes
2006 254 208
2007 2,557 2,456
2008 4,065 4,354
2009 1,462 1,253
2010 1,041 777
Total 9,379 9,048

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Figure: Daily occurrences between January 1, 2006 and November 3, 2010

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Example of Up Crash

Figure: Goldman Sachs (GS) Up Crash

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Example of Down Crash

Figure: Goldman Sachs (GS) Down Crash

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Important Research Questions

I How is getting hurt by mini Flash Crashes?


I How can we prevent mini Flash Crashes? Should we penalize the
parties involved?
I What is the most likely time for a mini Flash Crash to occur?
I Which companies are most likely to get hit?
I Can HFT be singled out as the main source?
I Does the behavior of price change before/after the mini Flash Crash?
I Can mini Flash Crashes be predicted?

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Distribution of Crashes during the day

Figure: Distribution of crashes during the day

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Average Price before the Crash

Figure: Average Price before the crash

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Average Price vs. Intensity of the Crash

Figure: Average Price of the down-crash vs. Intensity of the down-crash


Anton Golub High Frequency Trading
Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Average Price vs. Intensity of the Crash

Figure: Average Price of the down-crash vs. Intensity of the down-crash


Anton Golub High Frequency Trading
Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

Impact on Liquidity - bid/ask spread

No Impact on Bid-Ask Spread!

Figure: Average spread before vs. after the crash

Anton Golub High Frequency Trading


Content Introduction
High Frequency Trading Definition
Mini Flash Crashes Examples
References Statistics

How Can a mini Flash Crash Occur?

Crashes might be a result of ”top of the book” protection that is


intended to prevent ”trade-throughs”.

INET ARCA
bid/ask price size price size
ask 32.02 500 32.02 500
ask 32.01 500
best ask 32.00 500
best bid 31.99 100 31.99 100
Table: Order book of security XYZ

Market order to buy 1000 shares is sent to ARCA; 500 shares will be
routed to INET (32.00), but the remaining 500 shares will be filled on
ARCA (32.02).

Anton Golub High Frequency Trading


Content
High Frequency Trading
Mini Flash Crashes
References

References

High Frequency Trading and its Impact on Market Quality, Jonathan A.


Brogaard, November 2010
Low-Latency Trading, Joel Hasbrouck, Gideon Saar, November 2010
Does Algorithmic Trading Improve Liquidity, Terrence Hendershott,
Charles M. Jones, Albert J. Menkveld, Journal of Finance, Forthcoming
The Effect of High-Frequency Trading on Stock Volatility and Price
Discovery, X. Frank Zhang, August 2010
Market Efficiency and Microstructure Evolution in U.S. Equity Markets:
A High-Frequency Perspective, Jeff Castura, Robert Litzenberger,
Richard Gorelick, Yogesh Dwivedi, August 2010
Empirical Limitations on High Frequency Trading Profitability, Michael
Kerns, Alex Kulesza, Yuriy Nevmyvaka, June 2010
Nanex LLc, - nanex.net -

Anton Golub High Frequency Trading


1 Introduction
On May 6th 2010, the U.S stock market experienced one of the most severe price drops
in its history; the Dow Jones Industrial Average (DJIA) index dropped almost 9% from
the beginning of the day - the second largest point swing, 1,010.14 points, and the biggest
one-day point decline, 998.5 points, on an intra-day basis in the history of the DJIA
index. The crash was so rapid that the index tumbled 900 points in less than 5 minutes,
to later recover a bulk of its losses in the next 15 minutes of trading - this event has been
termed the ”May 6th Flash Crash” in the mainstream media. Such a large, rapid drop
and subsequent recovery has raised many concerns about the stability of capital markets,
resulting in a U.S. Securities and Exchange Commission investigation of the U.S. equity
markets[12].
In this paper we consider the structural phenomenon in the equity markets termed
mini flash crashes. Mini flash crashes are abrupt and severe price changes that occur in an
extremely short period. Figure 1 shows an example of a up flash crash that occurred on
16th April 2010 in the stock of Goldman Sachs Group, Inc. (NYSE ticker: GS) - a 1.9%
price change occurred in less than 50 milliseconds1 . The price rose $3.27 from its levels
before the crash and then immediately dropped to its previous levels. Flash crashes only
became known to the wider public in late 2010 when Nanex Llc., a data analytics company,
preformed a thorough analysis of the U.S. stock markets in the aftermath the of May 6th
Flash Crash [9]. This new phenomenon was attributed to the new breed of traders who
buy and sell stocks, analyze new information and execute trades in milliseconds - they
are referred to as high frequency traders [5], [6].

Figure 1: Example of an up crash

The aim of this paper is to study statistical properties of flash crashes using simple
data mining techniques GIVE LIST AND WHY AT SOME POINT on tick-by-tick trans-
action data. WE DON’T REALLY DISCUSS DATA MINING TECHNIQUES

1
1 millisecond is one thousand of a second

1
Previous work has suggested that one-sidedness of the market can be the cause for
flash crash; Easley et. al. [3] construct Volume-Synchronized Probability of Informed
Trading (VPIN)2 and show that this metrics had among the highest values in on May
6th. Chakravarty et. al. [13] use Intermarket Sweep Orders (ISO)3 as a proxy for
aggressive liquidity taking, and find that elevated use of ISO on May 6th. Kirilenko et.
al. [1] performed extensive analysis of May 6th Flash Crash and found that high frequency
traders did not trigger the crash, but their activities increased market volatility. Nanex
Llc., used order book data [9] of May 6th and found that quote stuffing 4 and delays in
NYSE Consolidated Quotation System caused the crash.
The aim of this paper is to study statistical properties of flash crashes on tick-by-tick
transaction data. We investigate a number of relationships that have not been reported
in the previous work: the price movement behaviour before crashes, the influence of flash
crashes on bid-ask spread, the average price before the crash compared with the crash
intensity and the effect of particular sectors and geographic region on the crash etc. Our
conclusions suggest... IN PARTICULAR, WHAT IS UNUSUAL OR UNEXPECTED?

The rest of the paper is structured as follows: in section 2 we present background


material on flash crashes, define up and down flash, describe the data used in the anal-
ysis and present statistical characteristics of the crashes; in section 3 relationship among
different aspects of flash crashes are presented - relationship of the stock price before the
crash and the severeness of the crash, trading dynamics of different geographical locations
during the crash, price movement bias prior to the crash, evolution of price changes dur-
ing the crash and impact of flash crash on liquidity. Findings in section 3 provide novel
insight into flash crashes. Chapter 4 discuss regulations that might be the catalyst foe
occurrences of flash crashes.

2 Background
2.1 May 6th Flash Crash
In this section we present some of the work on May 6th Flash Crash.

Kirilenko, Kyle, Samadi and Tuzun [1] describe the market structure of the E-mini
S&P 500 stock index futures market on the day of the Flash Crash. They use audit-
trail, transaction-level data for all regular transactions to classify over 15,000 ?CHECK?
trading accounts that traded on May 6 into six categories: High Frequency Traders, Inter-
mediaries, Fundamental Buyers, Fundamental Sellers, Opportunistic Traders, and Small
Traders. They asked the following: how did High Frequency Traders and other categories
trade on May 6? what may have triggered the Flash Crash? what role did High Frequency
Traders play in the Flash Crash?. They concluded that High Frequency Traders did not
trigger the Flash Crash, but their responses to the unusually large selling pressure on that
day exacerbated market volatility. The U.S. Securities and Exchange Commission report
2
VPIN is trademark of Tudor Investment
3
Intermarket sweep orders are limit orders that require they be executed in one specific market center
even if another market center is publishing a better quote
4
Quote-stuffing is a malicious technique of placing and then almost immediately cancelling large
numbers of rapid-fire orders to buy or sell stocks

2
on May 6th Market Events[12] was based on this paper.

Easley, Lopez de Prado and O’Hara [4] highlight the role played by order toxicity
in affecting liquidity provision, and show that a measure of this toxicity, the Volume-
Synchronized Probability of Informed Trading (VPIN) [3], captures the increasing toxicity
of order flow in the hours and days prior to collapse. As the ”flash crash” might have
been avoided had liquidity providers remained in the marketplace, a solution is proposed
in the form of a ”VPIN contract” which would allow them to dynamically monitor and
manage their risks. IS THEIR DETAIL ON THE LIQUIDITY?

Chakravarty, Upson and Wood [13] investigate the contribution of trading aggressive-
ness and liquidity supply to the flash crash. They find that trading aggressiveness was
significantly higher for the entire day of the flash crash, as proxied through the use of
Intermarket Sweep Orders (ISO). ISO have been found to be primarily used by informed
institutional traders and are allowed to trade through the best prices in the market. They
show that the information content of ISO trades on the day of the flash crash was highly
informed, as measured by the information shares method of Hasbrouck [8]. During the
flash crash, while the ISO volume was on 32% of total volume, ISO trades account for
over 50% of the contribution to the price variance. Faced with this large increase in in-
formed trading, liquidity suppliers withdrew from the market, decreasing overall liquidity.
They show that as liquidity decreases in the market, it leads to an increase in ISO use,
accelerating the market decline, but also speeding the market recovery - they recommend
considerations of an ISO halt during periods of high market wide volatility. HOW TYP-
ICAL IS THIS ISO BEHAVIOUR AROUND THE TIME OF THE FLASH CRASH

Lee, Cheng and Koh [2] produce 9 different simulations created by using a large-
scale computer model to reconstruct the critical elements of the market events of May 6,
2010. The resulting price distribution provides a reasonable resemblance to the descrip-
tive statistics of the second-by-second prices of S&P 500 E-mini futures from 14:30 to
15:00 on the day of the crash. Their results lead to a natural question for policy makers:
if certain prescriptive measures such as position limits have a low probability of meeting
this policy objectives on a day like May 6, will there be any other more effective counter
measures without unintended consequences?

Nanex Llc. [9] found that quote saturation and NYSE Consolidated Quotation Sys-
tem delays, combined with negative news from Greece and sale of E-mini S&P 500 fu-
tures ”...was the beginning of the freak sell-off which became known as the flash crash”.
They also disproved some of the theories about the cause of the crash: NYSE ”Slow
Quote” mode or LRP’s (Liquidity Replenishment Point); movements in price of Apple
Inc. (AAPL) and stub quotes5 . Nanex Llc. was the first to define and discover mini flash
crashes.

5
Stub orders are limit orders placed well off a stock’s market price, e.g. buy order for $0.01 or sell
order for $100,000.00. A stub quote also serves as a safety net in that if a market maker does notn’t have
enough liquidity available to trade a stock near its recent price range, then a stub quote is entered so
that the market maker complies with its requirements without extending its quotes beyond its available
liquidity.

3
2.2 Definitions and Data Characteristics
Nanex Llc., a data analytics company, was the first to identify and define mini flash
crashes and we present their definition [9]. To qualify as a down crash candidate, the
stock price change has to satisfy the following conditions:

1. it has to tick down at least 10 times before ticking up,

2. price changes have to occur within 1.5 seconds,

3. price change has to exceed -0.8%.

Down crashes are usually referred to as flash crashes, but in order to avoid confusion with
the May 6th Flash Crash, we will use the term down crashes here.

Likewise, to qualify as an up crash candidate, the stock price change has to satisfy
the following conditions:

1. it has to tick up at least 10 times before ticking down,

2. price changes have to occur within 1.5 seconds,

3. price change has to exceed 0.8%.

Up crashes are usually referred to as flash dashes, but we will use the term up crashes here.

Figure 2: Occurrences of up and down crashes from 2006 to November 2010

2.3 Data Characteristics


Figure 2 shows the number of daily occurrences of up and down crashes and Table 1
presents the number of occurrences in each year, from January 1st 2006 until November
11th 2010. This period includes both the Lehman Brothers collapse and the May 6th
Flash Crash, and it can be clearly seen that there is no bias towards up or down crashes.
Ironically, as 2008 can be characterized as the most devastating year for U.S. equities

4
Year Down Crashes Up Crashes
till November 2010 1041 777
2009 1462 1253
2008 4065 4354
2007 2576 2456
2006 254 208

Table 1: Yearly Occurrences of Crashes

markets, there are in fact more up crashes than down ones.

Data used to analyze the crashes has been downloaded from Wharton Research Data
Services (WRDS) [10]6 .
The data for each stock contains the following information:

• time stamp of trade - measured in seconds,

• price at which the trade occurred,

• volume of the trade,

• exchange from which the trade originated,

• type of order - relevant for Intermarket Sweep Orders (ISO).

The downloaded data for each crash contains 3 minutes of trading information sur-
rounding the crash WHY NOT GO FOR A FIXED PERIOD BEFORE AND AFTER? ;
for instance if the crash occurred at 12:45:11, we downloaded the trade data from 12:44:00
to 12:46:59. As given above, the definition of a flash crash requires that 10 trades, ex-
ceeding 0.8% change are executed within 1.5 seconds. As the obtained data is second
time-stamped, we modify the second condition to require the trades to be executed within
2 seconds, i.e. there has to be at least 10 consecutive price changes, greater than 0.8%,
occurring within 2 seconds.

Nanex Llc. provided the following information about the crashes [9]:

• date of the crash

• ticker of the stock in which the crash occurred

• hour and minute of the crash.

The exact second of the crash, as well as confirmation that the crash occurred has
been verified by our analysis. This has though revealed certain discrepancy discrepancies
in the number of confirmed crashes between our and Nanex’s analysis. We were able to
verify 5001 out of a suggested 9048 up crashes and 4765 out of a suggested 9389 down
crashes. Though in some cases it was obvious that trading characterized as a crash might
have occurred, the condition of a 10 consecutive price changes, in either direction, was
6
We thank the University of Manchester for providing access to WRDS Trade and Quote data

5
not satisfied. For our investigation, the candidates for flash crashes that did not satisfy
the strict definition, were removed from further analysis.

Figure 3 shows the occurrences of flash crashes during the trading day. It can be seen
that most (up or down) crashes occurred during the start and the end of the trading
day. This can easily be related to intra-day volatility; the most volatile periods are at the
beginning and end of trading day [7]. Furthermore, it is interesting to note that there
appears to be no difference between the up crashes and down crashes - both histograms
look the same.

Figure 3: Distribution of crashes during the trading day

We examined next how a crash relates to the sector of the targeted stock. High fre-
quency trading has been concentrated in a few very ”liquid” stock, with low-priced stock
from financial and IT sectors7 being the favorites in for high frequency traders [11]. Fig-
ure 4 represents the most targeted sectors in the (up and down) crashes; most crashes
originated from the Finance, Insurance and Real Estate sector and Manufacturing sectors,
accounting for 31% and 30% of the crashes, respectively.

Finally at this state, we note that 39% of trades in the crashes occurred on the New
York Stock Exchange, with both NASDAQ and ARCA each accounting for 28% of the
trades and American Stock Exchange, BATS, Boston stock Exchange, Chicago Board
Options Exchange, Chicago Stock Exchange, International Securities Exchange and Na-
tional Stock Exchange accounting for the remaining 5% of trades. This segmentation is
typical and as expected.

7
Citigroup (C), Bank of America (BAC), Fannie Mae (FNM) and Freddie Mac (FRE) represent close
to 20% of U.S. equity volume. Citigroup announced 1 for 10 reserve stock split in the near future, which
will most likely change its status among HFT.

6
Figure 4:

3 Analysis of Flash Crashes


3.1 Characteristics of Flash Crashes
In this section we begin to characterise some properties of the flash crashes, as well as the
relationships that appear to hold several different aspects of flash crashes. We concentrate
on the average price before the up or down crash, computed as the average of the price
before the occurrence of the crash. Next, we analyze the relationship between the average
price before the crash and the intensity of the crash, defined as the total percentage price
change of the crash. Finally, as trading occurs on at more than one exchange located
in the same geographical location, we analyze the geographical movement of trading in
crashes between different trading centers: New York and the greater New York area,
Chicago, Kansas and Boston.

Figure 5 shows the average price of the stock before the up and down crash. As a crash
is defined as involving at least 10 consecutive price changes, in computing the average
price before the crash we consider all of the prices leading up to the crash.
Formally, if {Pik : i ∈ 1, . . . , n} are prices considered for stock k = 1, . . . , m, and
{Pikj : j ≥ 10} are prices related to the crash, then the average price before the crash for
the stock k is computed as

1 X
hP k i = Pikl .
|{l : l < i1 }|
{l : l<i1 }

In layman terms, all of the prices before the first price that sparked the crash are taken
and their corresponding average is computed.

The bulk of stocks that were involved in the crashes were priced at less than $100,
with two notable peaks: the first one around $50 and the second around stocks priced

7
Figure 5: Average Price of the Stock before the Crash

between $10 and $25. Again, there appears to be no significant difference between the
histograms. newpage
We further explored the relationship between the average of the price before the crash
with the intensity of the crash. In Figure 5, the graph are plotted on a log-log scale,
and they are separated based on at which exchange the crash occurs. As each crash has
to have a sequence of at least 10 ticks before ticking in the other direction, we found
all exchanges from which the trades in the crash occurred. The exchange with the most
trades is defined as the dominant exchange and the crash is said to originate from the
dominant exchange. Three exchanges account for the bulk of crashes: New York Stock
Exchange, NASDAQ and ARCA. Figures 5 and 6 present the relationship between the
average price before the crash and the intensity of the crash.

Figure 6: Average Price vs. Intensity of the crash - DOWN crash

It is noticeable that there is negative correlation between the average price before the
crash and the intensity of the crash in the case when crashes originated from NYSE. This
implies that flash crashes originating from NYSE, in low-priced stocks occur with greater
intensity than on the highly-priced stocks. The crashes occurring on NASDAQ, ARCA
and other exchanges do not exhibit such a relationship to the same extent.

8
INTERESTING BUT SO WHAT? GOOD POINT

Figure 7: Average Price vs. Intensity of the crash - DOWN crash

The corresponding graphs for up crashes are given in the Appendix.

We have separated the crashes according to which sector the stocks belong, as well as
to time of the crash8 and found no relationship.

The next two graphs, Figures 7 and 8, show the movement of trading in the crashes
throughout different geographical regions. The New York and greater New York area
account for trading from BATS9 , NYSE, NASDAQ, ISE and AMEX; Chicago area cov-
ers ARCA, CBOE, CSX and NSX; Boston covers the Boston stock exchange. One can
think of the graphs as dynamical systems of trading during a crash, with the empirical
percentages representing transitional probabilities. For instance, if the current trade in
the down crash occurred in Chicago, with 95.182% probability that the next trade in the
down crash will occur in New York.

3.2 Price Movement Bias & Adverse Selection Hypothesis


We analyzed the number of consecutive movements before the crashes. In a simple theo-
retical 3-valued model the price can either stay at the same level or move up or down by
some fixed amount and each of these movements has an equal probability of 31 .
We computed the number of consecutive up or down price movements before the crash
and divided it by the total number of trades before the crashes and obtained an empirical
probability of consecutive price movements for one crash. Figure 9 shows the empirical
probabilities of one price up and down movement before the down crash and it shows that
the empirical probabilities of down movements are marked higher than the empirical up
movements. In layman terms, before the down crash there are more down price move-
8
We separated the crashes into the following time bins: 9:30-10:00, 10:00-11:00, 11:00-12:00, 12:00-
13:00, 13:00-14:00, 14:00-15:00 and 15:00-16:00
9
BATS is a Kansas based company, but its servers are located in New Jersey

9
Figure 8: Trading between geographical regions - DOWN crashes

ments than up price movements.

The corresponding figures for up crashes are given in the Appendix.

Down Crashes Up Crashes


consecutive movements down prob. up prob. down prob. up prob.
mean-median mean-median mean-median mean-median
1 -0.001 -0.006 -0.006 -0.002
2 0.024 0.017 0.016 0.021
3 0.016 0.007 0.008 0.015
4 0.007 0.002 0.002 0.009

Table 2: Consecutive Price Movements

Next, we determined whether a flash crash in either direction, up or down, is pre-


ceded by more consecutive movements in the same direction as the direction of the crash.
Working backwards from the occurrence of the crash, we determine the number of con-
secutive price changes (i.e. 2 consecutive up and down movements) from the beginning
of the downloaded data to the moment of the crash - recall that we have three minutes
of data surrounding the crash; if the crash occurred on 12:45:11, our time window will
be from 12:44:00 till 12:45:11. This total value is divided by the total number of 2 price
movements in the time window to give an empirical probability of two consecutive up or
down price changes. BETTER?

For each type of crash, up and down, we computed the difference between the sample
median and the sample mean of up and down empirical probabilities, i.e. we computed

\
median(X) − mean(X),
[

10
Figure 9: Trading between geographical regions - UP crashes

where X is either the sample of empirical down or up probabilities. If empirical up proba-


bilities are marked-up higher than empirical down probabilities then the difference should
be greater for empirical up probabilities. Indeed, the results in the table 2 confirm this.

This finding allows us to conjecture a hypothesis for relating to the cause and oc-
currence of flash crashes. High frequency traders in essence appear to act as market
makers, i.e. they provide liquidity by buying and selling the stocks rapidly, trying to
earn the difference between the bid (best buying price) and the ask (best selling price),
while maintaining a low exposure - usually a couple of thousand shares. When a stock
price has a distinct price movement, market makers receive an overabundance of orders
that work against them, for instance, if there is a distinct down trend in the stock price
movement, market makers will receive sell orders from other market participants - market
makers will then be the buyers. As the price moves further down, market makers will
have larger and larger inventory exposure obtained at less and less favourable prices. As
soon as the market maker’s risk management limits are breached - this limit, is comprised
of the size of the inventory and the (unrealized) profit & loss - , the market maker has to
stop providing liquidity and start to aggressively take liquidity, by selling back the shares
bought moments earlier. This way they push the price further down and thus exaggerate
the downward movement. As waiting for a price to revert to favourable levels is not a
feasible option due to the speed of trading, high frequency traders have to ”dump” their
accumulated inventory on the market as soon as possible -, i.e. they have to immediately
sell shares in their inventory. This action is, in turn, likely to cause a sharp downward
spike in the price movement. HOW OFTEN MIGHT ONE EXPECT THIS TO HAP-
PEN?

11
Figure 10: Empirical Probabilities of Up and Down Price Movements before the DOWN
Crash

3.3 A Look With through the Microscope


OF THE OBESRVATIONS YOU MAKE, HOW MANY ARE NOVEL (NOT BEEN
REPORTED PREVIOUSLY)?
In this section we report findings on the severeness severity of price changes in the
flash crashes and the pattern between the average price before the crash and the intensity.
We find that the first price change in the flash crash is, in fact, the strongest largest one.
This comes as a surprise as intuitively there should not be anybe no meaningful difference
between the price changes in the crashes.
We observe that the first price change in the crash is the largest of the at least 10
ones that are required by the definition. This observation holds regardless of whether
we examine down or up crashes. Figure 10 shows, on a log-log scale, the distribution of
percentage price changes of the first ten movements in the down crashes. The first price
change is coloured red.
THE ULTIMATE PAPER (ASSUMING WE SUBMIT) WILL LIKELY BE BLACK AND
WHITE HENCE YOU WILL NEED TO USE GRAY SCALES AND PATTERNS
This finding shows that the distribution of first price change in the crashes stochasti-
cally dominates10 , in the sense of first order, the other price changes. For random variables
X, Y with cumulative distribution functions FX , FY , we say that the random variable X
stochastically dominates in the sense of first order random variable Y , which we write as
X >2nd order Y
if for all x ∈ R
FX (x) ≤ FY (x)
10
Stochastic dominance is a form of stochastic ordering, where one outcome can be ranked superior to
another outcome..

12
Figure 11: Cumulative Distributions of the First 10 Price Changes - DOWN crash

and the strict inequality holds for at least one value x∗ ∈ R. As, for random variable Z
with cumulative distribution function FZ , the following holds
Z
E[Z] = (1 − FZ (z))dz,
{z : z=Z(ω), ω∈Ω}

and we immediately obtain that if X dominates Y in the sense of first order, then

E[X] > E[Y ].

Therefore, we also obtain that the expected size of the first price change in the flash crash
is the largest.

Finally, we report the pattern found in the average price and the intensity of the
crashes that occurred at NYSE. We separated the crashes that occurred before and after
the introduction of the Supplemental Liquidity Provider program on NYSE.

Supplemental Liquidity Providers (SLPs) are market participants that who use sophis-
ticated high-speed computers and algorithms to create high volume on exchanges in order
to add liquidity to the markets. As an incentive for providing liquidity, the exchange pays
the SLP a rebate or fee, which was 0.15 cents per share as of 2009. The SLP program
was introduced shortly after the collapse of Lehman Brothers.
At this moment we do not have an understanding why this pattern exists and whether
the disappearance of the pattern after introduction of the SLP program is merely a coin-
cidence.
Corresponding scatter plots for other type of crash are given in the appendix.

3.4 Impact on Liquidity


In this section we report influence of flash crashes on bid-ask spread. For each stock that
experienced a flash crash, we computed the average bid-ask spread before and after the
crash. Analysis was done on a sub-sample of 1000 crashes. Intuitively, one should think

13
Figure 12: Average price vs. intensity UP crash - zoomed in

that the bid-ask spread should widen once the crash has occurred - traders should be
unwilling to trade knowing that an uncommon event recently occurred. This assumption
is not backed up by our findings, the average spread does not seem to alter after the crash.
Figure 13 shows in log-log scale the scatter plot of average bid-ask spread before and after
the flash crashes.

We must keep in mind that the average bid-ask spread is computed; it might may be
the case that any deviation can be drowned by the amount of the data when taking the
average. Furthermore, the analysis is done on a sub-sample of data. At this stage we
cannot conclude that there is no impact on bid-ask spread due to the crash.

4 Legal Issues
11

4.1 Top of the book protection


In this section we turn to regulation issues, namely ”top of the book” protection designed
to prevent ”trade-throughs”12 , as a possible explanation for flash crashes.

Potential answer to flash crashes might be the testament of fragmented liquidity in


U.S. market structure. SEC rule 611, the order protection rule is designed to prevent
”trade-throughs” - trades being executed at prices inferior to the best-priced quotations.
But this rule may not go far enough because it only protects the top of the book.

11
This issue was brought up by Dennis Dick of Trading Defenders
12
Trade-through is an execution of an order at a price inferior to NBBO.

14
Figure 13: Average bid-ask spread, before vs. after the flash crash

Consider the following example of a fictitious order book for security XYZ:

INET ARCA
bid/ask price size price size
ask 32.02 500 32.02 500
ask 32.01 500
best ask 32.00 500
best bid 31.99 100 31.99 100

Table 3: Order book of security XYZ

Suppose ARCA receives a market order to buy 1000 shares of XYZ, and the best avail-
able offer is on INET for 500 shares. ARCA must route the first 500 shares to INET, so as
to not violate the order protection rule (because the 500 shares on INET is at the top of
the book and is therefore a ”protected quotation”). After that, the remaining 500 shares
can be filled back on the original exchange that received the order, in this case ARCA,
regardless of whether there is better quotations on other trading centers. In this case,
500 shares would be executed against the 32.00 INET offer, and the remaining 500 shares
could then be executed against the 32.02 ARCA offer. The 500 shares offered at 32.01
on INET would remain unfilled. The buyer in this case actually pays a penny more than
they should of had to for the last 500 shares. That is because the only ”protected quo-
tation” is the top of the book which in this case is the 500 shares offered on INET at 32.00.

Previous example demonstrates the issues that might arise if a large buy or sell order
would be routed to an exchange; the ”domestic” exchange would route a part of the order
to the exchange with the NBBO, so as to not violate the order protection rule, and then
would filled the remaining shares on its own quotes; it could easily result in an dramatic
price change if there is lack of liquidity on ”domestic” exchange.

15
This series of trades exemplifies the lack of protection for depth of book quotations -
there might have been a significant amount of additional liquidity on the other exchanges
during the time frame under question. However, because the order protection rule only
protects the top of the book, trades can occur at inferior prices despite there being liquidity
on other trading centers. The domestic exchange did nothing wrong in our example and
they should not be villainized. The problem lies in the order protection rule, and the SEC
should consider expanding this rule to provide protection to the depth of book quotations.

These trade-throughs occur every day, just usually on a smaller scale as in the first
example. They can sometimes occur on larger scales, especially on exchanges with less
liquidity - the media would report these incidents as ”mini flash crashes” (or mini flash
dashes in the case that the stock spikes higher). These incidents might be nothing more
than a testament to the fragmented liquidity that is indicative of the current market
structure.

As more and more exchanges are created, traders need to be more aware of how their
orders are routed. In the example, the trader could of sent the order using some type of
”smart” order router. This order type would have sought out liquidity on all exchanges as
well as on dark pools and ECN’s. Unfortunately, not all participants of the capital markets
understand how their orders are routed and therefore it may become necessary for the SEC
to expand the order protection rule to include depth of book quotations. Otherwise as
the market structure becomes more and more complex, expect trade-throughs to become
the norm.
YOU NEED TO TIDY=UP THE REFERENCES - NEED FULL REF and PAGE
NUMBERS; NEED web-page and time and data accessed,

5 Contribution

16
References
[1] Mehrdad Samadi Tugkan Tuzun Andrei Kirilenko, Albert S. Kyle. The flash crash:
The impact of high frequency trading on an electronic market. January 12 2011.

[2] Annie Koh Bernard Lee, Shih-fen Cheng. Would position limits have made any
difference to the flash crash on may 6, 2010.

[3] Maureen O’Hara David Easley, Marcos M. Lopez de Prado. Measuring flow toxicity
in a high frequency world. October 21 2010.

[4] Maureen O’Hara David Easley, Marcos M. Lopez de Prado. The microstructure
of the flash crash: Flow toxicity, liquidity crashes and the probability of informed
trading. The Journal of Portfolio Management, 2011.

[5] Michael Durbin. All About High Frequency Trading. McGraw Hill, 2010.

[6] Cristina McEachern Gibbs. Breaking it down: An overview of high frequency trading.
Advanced Trading, 2009.

[7] L. Harris. A transaction data survey of weekly and intraday patterns in stock prices.
Journal of Financial Economics, 1986.

[8] J. Hasbrouck. One security, many markets: Determining the contributions to price
discovery. Journal of Finance, 1995.

[9] Nanex Llc. Flash equity failures, 2010.

[10] The Wharton School of the University of Pennsylvania. Wharton research data
service.

[11] TA researcher. Citigroup - why aren’t you hft’ing it?, 2010.

[12] U.S. Commodities Futures Trading Commission U.S. Securities and Exchange Com-
mission. Findings regarding the market events of may 6, 2010. September 2010.

[13] Robert Wood Sugato Chakravarty, James Upson. The flash crash: Trading aggres-
siveness, liquidity supply, and the impact of intermarket sweep orders. January 2011.

6 Appendix

17
Figure 14: Average Price vs. Intensity of the crash - UP crash

Figure 15: Average Price vs. Intensity of the crash - UP crash

18
Figure 16: Empirical Probabilities of Up and Down Price Movements before the UP Crash

Figure 17: Cumulative Distributions of the First 10 Price Changes - UP crash

19
Figure 18: Average price vs. intensity UP crash - zoomed in

20

You might also like