View: SkyNet Wars: Presenting The Rogue Algo Responsible For FaceBook's...

SkyNet Wars: Presenting The Rogue Algo Responsible For FaceBook's...

SkyNet Wars: Presenting The Rogue Algo Responsible For FaceBook's Downfall

Back on March 27, following the epic disappointment that was the BATS IPO, we presented a detailed forensic analysis courtesy of Nanex, which demonstrated step by step how a Nasdaq-borne algo may have been the culprit shattering BATS' hopes of ever going public. Fast forward two months later to the most anticipated IPO in recent history, in which FaceBook's even more epic, if not quite as stark, implosion has set back the general public's faith in capital markets decades back. The irony, of course, is that FB didn't do anything that many weren't warning about: it simply plunged which would make perfect sense in a normal world. This in turn was the spark that provoked the public ire - had FB simply doubled since IPO day, nobody would care about what really happened on May 18. Alas, it didn't. And now the lawsuits come. The problem is we don't transact in a normal world, but one dominated by central banks and algorithms - which is why the most pressing question for those who grasp the real new normal is how come in a market as controlled and manipulated as the central bank-dominated venue we have now, was FB stock allowed to plunge? For what may be the actual definitive answer, as opposed to now trite philosophical ruminations on valuation, ethics, underwriter and shareholder greed, we once again go to Nanex, which has caught the perpetrator red handed once again.

Somehow we doubt many will be surprised to learn that the reason FB failed to take off following its break of trading in the low $40s, has everything to do with, you guessed it, another HFT algo, which in those first instants of trading, did something that threw the entire market off: it kept crossing the market, with the Bid surging above the Offer, in the process shocking the entire price-supporting HFT array, designed to build upon upward momentum, resulting in the only other natural outcome: a steep, rapid selloff.

As Nanex' Eric Hunsader tells us: "Turns out just before Nasdaq's quote crossed and became non-firm, one copy of the same quote (crossed) was marked regular, and I think that caused other algos to react and immediately sell off the stock. When that crossed quote from nasdaq appears, bid prices from other exchanges suddenly evaporate and that causes the NBBO spread to explode from 1 cent to 70+cents in 1/10th of a second! Nasdaq's quote started doing this when the stock approached 42.99 -- that effectively prevented the stock from going higher (a few spurious trades right at the open came from BATS for 44 ~ 45 etc, before Nq's quote was in play). So these stupid Algos effectively short circuited the stock for Facebooks IPO! Unreal."

Sadly, for millions of people who were gullible enough to buy into the propaganda, all too real.

Below is Nanex with its traditionally lauradtory forensic analysis that leaves nothing to the imagination:

Did a Stuck Quote Prevent a Facebook Opening Day Pop?

On 18-May-2012, within seconds of the opening in Facebook, we noticed an exceptional occurrence: Nasdaq quotes had higher bid prices than ask prices. This is called a cross market and occurs frequently between two different exchanges, but practically never on the same exchange (the buyer just needs to match up with the seller, which is fundamentally what an exchange does).

When Nasdaq's ask price dropped below its bid price, the quote was marked non-firm -- indicating something is wrong with it, and for software to exclude it from any best bid/offer calculations. However, in several of the earlier occurrences the first non-firm crossed quote was immediately preceded by a regular or firm crossed quote!

During the immediate period of time when the Nasdaq quote went from normal to non-firm, you can see an immediate evaporation in quotes from other exchanges, often accompanied by a flurry of trades. We first noticed this behavior while making a a video we made of quotes during the opening period in Facebook trading.

The reaction to the crossed quote often resulted in the spread to widen from 1 cents to 70 cents or more in 1/10th of a second! It is important to realize that algorithms (algos) which are based on speed use existing prices (orders) from other exchanges as their primary (if not sole) input. So it is quite conceivable, if not highly likely that these unusual, and rare inverted quotes coming from Nasdaq influenced algorithms running on other exchanges.

It is now more than a curiosity that the market was unable to penetrate Nasdaq's crossed $42.99 bid which appeared within 30 second of the open and remained stuck until 13:50. Could this have prevented the often expected pop (increase) in an IPO's stock price for FaceBook?

This also brings another example of the dangers of placing a blind, mindless emphasis on speed above everything else. Algos reacting to prices created by other algos reacting to prices created by still other algos. Somewhere along the way, it has to start with a price based on economic reality. But the algos at the bottom of the intelligence chain can't waste precious milliseconds for that. They are built to simply react faster than the other guys algos. Why? Because the other guy figured out how to go faster! We don't need this in our markets. We need more intelligence. The economic and psychological costs stemming from Facebook not getting the traditional opening day pop are impossible to measure. That it may have been caused by algos reacting to a stuck quote from one exchange is not, sadly, surprising anymore.

Chart 1. NBBO (National Best Bid or Offer) Spread along with Nasdaq quote. NBBO Spread colored black: bid < ask (normal), yellow: bid = ask (locked), or red: bid > ask (crossed).

Chart 2. Nasdaq's Stuck Bid appears to set a defined ceiling in Facebooks stock price during the first minute of trading.

Chart 3. Close-up showing NBBO along with ARCA quotes (red) and Nasdaq quotes (black = normal, green if non-firm).

Chart 4. Same period of time as chart 3, but showing NBBO and trades from Arca (red circles) and Nasdaq (black circles) for reference.

Chart 5. Note how the spread tightens in all exchanges when Nasdaq Quote goes from Non-firm to normal.

Chart 6. Just before Nq Quote changes to non-firm, a crossed quote from Nasdaq appears and is marked normal.

Chart 7. The next charts are more examples of other exchange prices reacting to Nasdaq's quote changing to non-firm

Chart 8.

Chart 9.

Chart 10.

Chart 11.

Chart 12.

Or, another way of presenting what happened, is the following video.

Hunsader's explanation of what you are seeing:

Watch Nasdaq's quote (first box to appear - 10 o'clock). Note the crazy bid prices are higher than the equally crazy ask prices. After trading opens, Nasdaq's quote will start turning red when it's no longer eligible to set the NBBO. Watch how quotes on the other exchanges react wildly causing the price to evaporate.

Each box represents one exchange. The SIP (UQDF in this case) is the box at 6 o'clock. It shows the National Best Bid/Offer. The shapes represent quote changes which are the result of a change to the top of the book at each exchange. The time at the top of the screen is the time of the last quote or trade update in Eastern Time HH:MM:SS:mmm (mmm = millisecond). We accelerate time until the open, and then we slow time down so you can see what goes on at the millisecond level. A millisecond (ms) is 1/1000th of a second. The blink of an eye is about 200 ms.

Note how every exchange must process every quote from the others -- for proper trade through price protection. This complex web of technology must run flawlessly every millisecond of the trading day, or arbitrage (HFT profit) opportunities will appear.

Dear class action suit attorneys - you are indeed quote (sic) welcome.


Your rating: None Average: 5 (3 votes)


No comments yet.