In light of today’s SpaceX IPO, a story from inside Jane Street on the day of the 2012 Facebook IPO:
Related discussions
- NGX Just Listed Two New Futures Contracts. Here's Why It Matters. · 8 comments
- Why “Quiet Billionaires” Are Mostly a Myth · 4 comments
1 Comments
The data vendor box had crashed. Chaos on the floor. In a panic and not knowing what else to do, we restarted the box. The market data from upstream exchanges was replayed and orderbooks were rebuilt, but the box just kept crashing, even after multiple restarts.
Why did this happen? It turns out that the box’s firmware had hardcoded the assumption that the struct field holding the number of orders on the orderbook level could be represented using 16 bits. Because surely, there couldn’t be more than 65,535 orders at a single level?
That assumption failed for the Facebook IPO. Overflow of a single byte caused Jane Street’s US trading operations to halt, which even then accounted for double-digit percentages of US equity/ETF volume. We ended up using a secondary data provider and narrowly averted catastrophe.