Imagine getting a call you system is down and is costing them millions per hour
This is how, say, a modern x-ray machine prevents itself from failing in a way that radiation gets stuck on.
One funny bit about the development process was that initially I was going to be nice and implement every layer as its own stand-alone bit of software communicating via a defined set of primitives with the layers above and below. But that was slow as molasses so in the end all of that elegance got discarded for an absolutely unholy sandwich that did all of the layers in a single chunk of code. But with the experience from the 'slow' version that was actually doable, I would have never been able to write that as the first implementation. Classic illustration of 'first make it work, then make it fast'.
This has still to exist for real. Every couple of years there is a resurgence of "we should have 24/7 equity markets", followed by milestone announcements of Nasdaq.
The reality is more... nuanced.
First, there has to be a wide enough window for corporate actions and news dissemination to happen. Not only is that a regulatory requirement, but anyway no sane investor would like to trade in such a window even if possible.
Second, there are already early sessions, pre opening sessions, and late sessions on most American markets. The liquidity there is almost inexistant, so I wouldn't say there is a huge demand for extended trading hours by non-retail participants.
And last, half the liquidity of US markets is not on lit books, and half the remaining lit liquidity is close to the auction. I don't think it would even be a net profit for lit exchanges to extend their hours in these conditions. As for dark pool, I think only 2 or 3 of the smaller ones are 24/7, like the one from IB.
> if you're not trading outside of US Equity hours you're leaving significant money on the table
HFTs need a lot of liquidity and tight spreads, that's pretty much only doable at scale in the US and Japan. Europe and EM are either not liquid enough, or only really able to sustain low capital ad-hoc strategies.
Or do you mean dark pools/private exchanges that may run 24x7?
Imagine a single person making a single mistake causing a building to collapse? Or a nuclear plant to meltdown.
Yes, if you think that doing pointless work is fun. What do you tell your grandchildren?
Now you might counter that it also brings some negatives (e.g. fleeting liquidity, market manipulation risk, etc.) and there's certainty some validity to that. But none of this supports an argument that it's pointless.
More generally, activities aren't pointless if you are earning money from it which pays your rent, puts food on your table, etc. A large portion of the world works mainly for this goal. It's perfectly valid to tell your grandchildren "I spent my life making sure we'd have enough money for you and your parents to live comfortably", and we shouldn't look down on someone who does that.
On average with a few caveats yes, but it also causes issues by reducing the vastly more important signaling aspects of the market.
Trade volume for example can get almost completely divorced from economic reality.
You have to look at the bigger picture. HFT companies only increase the barrier to entry to participate in the market. This means that while you may be able to put food on the table, you make it more difficult for other people to put food on the table.
If you want to invest some of your income into a spread of companies? Go for it. But if all you are doing is trying to game the market? That's just gambling, go to a real casino and have some fun instead.
HFT should be driven by these types of market makers exactly for the purpose of decreasing the amount of unnecessary speculation and volatility in the markets. HFTs killing the spreads is one of the only reasons the markets didn't implode during covid despite the extraordinary fear and volatility that was impacting them.
You want a parasite? Look to hedge funds who just sit on piles of other people's cash to scoop obscene amounts off the top (relative to their actual contribution) for occassionally shuffling funds between financial instruments.
And why would this not be possible if everybody traded at the same, low, frequency? Alternatively, what is the minimum trading frequency required to save markets from collapsing?
By trying to answer these questions you see how ridiculous the situation with HFT really is.
You are throwing things like "HFT increase the barrier to entry", "HFT make things unfair", but... how so?
What would _you_ do if you had the capability to trade at the speed of light while others cannot?
Trading faster does not magically make money appear in your account, it does not magically tell you what is going up and what is going down.
It seems people work under the assumption that HFTs make money by having the same ideas than others, but trading it faster. That is _not_ what market making is, that is _not_ what HFTs do, and trading 10ns "faster" is of absolutely no use to 99.99% of market participants. In fact, the vast majority of market participants purposefully *slow* their signals to avoid impacting the market. At any given point in time, the orderbook contains but a tiny fraction of the liquidity that most people are willing to trade.
HFTs usually run on a combination of 4 businesses, none of which provide any downside for the rest of the participants: Market making, events signals, order flow and arbitrage.
Market making: essentially they are paid (or more precisely, rebated) to "animate" the market (provide liquidity). Everyone is happier with tight spreads, and everyone is happier with some level of liquidity at the top of the book, I don't really see how that could be up to debate. This is a tough business, the market maker has to provide a contractual amount of inventory for buyers and sellers at the same time, with the risk that these assets can inadvertently increase or decrease in value. Market makers get a premium (the spread) in exchange for providing liquidity to market takers, taking the risk of holding that inventory for them.
Order flow: HFTs are usually more knowledgeable than managers (and even brokers) to perform trade execution. Remember, the price of an asset does not move "by itself". What makes the price of an asset _really_ increase is an imbalance between the size of buys and sells, causing the spread to be crossed increasingly in one direction, and eating higher and higher price levels => a market participant buying shares is self realizing the price increase. That is called market impact, and that is something nobody wants. In an ideal world, nobody would know the actual liquidity that other participants are willing to exchange on the market, that way no arbitrage would be possible, no market impact, everyone is happy. The problem though is that you need _some_ level of visibility otherwise you hinder so called "price discovery", and regulators don't like that because it's an open door for scams, hidden fees, etc. So a lot of investors just delegate the actual order passing to HFTs: you agree on a price you're happy with, and the HFT executes the orders for you. If they manage to get a better price: good for them, they can pocket the difference. If they didn't, they will have to eat the cost and do better next time. Again, it's a _difficult job_, because by very definition managers are going to try to give you _toxic flows_: if someone mandates you to buy 100 shares of Microsoft, it's because they think the price will go up, but you will quote them at the current stock price. I don't think anyone is negatively impacted by that business to be honest. I am quite happy to instantly do a trade at a known price and let an HFT take the risk of executing trades, finding liquidity, etc.
Arbitrage: This may be the most well known HFT strategy. Essentially benefiting from price disparity of more or less fungible assets. So if HSBC is priced the equivalent of $100 on the LSE and $101 on NYSE, they buy there and sell here. I don't think there is much debate on whether that's a good thing or not, everyone should be happy that prices are more or less consistent around the world. Most people also wouldn't want to bear the overnight nor settlement/FX risk of holding these.
Event signals: I guess that's what people overreact to, even though this is but a tiny and negligible part of the HFT businesses. There are strategies where the whole concept is just to be the first to react to some kind of event, and yes HFTs are the best placed to do such strategies. The thing is, this is not a very lucrative business for a simple reason, which I already stated before: at any point in time, the orderbook contains but a mere fraction of the available liquidity. And it takes *ample time* for the market impact of a trade to be absorbed. There are a lot of papers on the subject, but without entering in too much details: the bigger your order, the longer it will take for the book to absorb it and liquidity to come back. For most hedge funds doing statistical arbitrage, CTAs, etc, we are talking multiple *days*. So realistically, if you're in the business of reacting the fastest to some kind of news or event, there's really not much more you can do than cross the spread and eat one or two levels of the book. Even for the most liquid of US stocks, that's a couple hundred thousands dollar per trade on average, for a tiny return difference versus executing a couple of seconds later, so I hope you find a lot of these if you plan on getting rich.
TLDR, I think 99% of HFT hate is completely unjustified. They provide a legitimate service to most market participants, and as an investor I wouldn't want to do their job, nor would I think that they hinder in any way my investments, on the contrary.
Why can't we use trading speeds such that everybody can participate, not just a few "gatekeepers"?
The average internet connection should be fast enough for trading, by now.
Nanosecond trading is honestly a bit unnecessary. There's academic studies somewhere that if I remember correctly showed little change in benefit to the stability of the market past tens of microseconds I think.
Now the reason why these ultra-high speeds in general are beneficial is because they make collaboration at scale or frontrunning information increasingly difficult the lower you make the trading latency.
This means that while your market makers like Jane Street may integrate outside data for predicting broad trends, the core algorithms for resolving spreads boil down to "what is the most efficient way to match these together" with little to no room for manipulation.
Market manipulation can cause volatility but your HFT market makers are going to eat that volatility at an incredible rate. Massive panics that would have triggered chaos in the streets and people dumping their 401ks get reacted to and their prices factored in within moments and as such prices adjust gradually rather than spiking and cratering and spiking again. HFT takes the blood out of the water so to speak.
Or as another example, HFT market makers act like a loosely attached mass (ex: heavy weighted chains) damping a piece of vibrating industrial equipment. Without the mass damping the system and actively pulling energy out of the vibrations reflecting through the chains, the equipment would rattle and rattle and more than likely the bolts fixing it to the ground would start to work their way loose. And once they are loose, vibrations can start to amplify into oscillations (doubly so if it's a "smart" system involving humans where you experience PIOs) and the stress on the system grows greater and greater. With those chains however each and every little vibration gets nearly any excess energy sucked out of it by the irregular reflections produced within the chains. That loss of energy dampens the vibrations down and while the machine is unimpeded in performing its function inside of itself, the excess energy in the form of vibrations, etc is heavily suppressed or effectively eliminated entirely helping reduce failures, stresses, and wear.
(Sorry for the overworded analogy but the mass-vibration damping analogy is really quite fitting to the way markets operate).
With the average internet latency (say 50-100ms) you can game the system and gain information early with expensive high speed links sharing the news around the world in a way that has near zero value due to diminishing returns w/ lower latency. Especially once light comes into play. If the competitive latency is on the order of distances light can travel within a country, that means once you factor out the essential parts that can't be cut out/sped up, what's left is a very small sliver that can be split between algorithms to make as efficient of trades as possible, algorithms to try and game the system, and integrating knowledge from distances proportional to the time it takes for light to travel it.
In other words at that speed you just can't really play fuck fuck games. The winning move is finding better local strategies (vs global strategies like market manipulation or exploiting information before it propagates).
/rant (sorry I should probably edit this down because I repeat myself a lot here but it's late and i'm tired so i'm just sending it.
Can you explain why you wouldn't want nanosecond for this?
I am quite happy to buy shares where it's the most convenient for me, knowing that someone, somewhere, is constantly arbitraging stock prices on all markets so that all prices are the same regardless.
What upside is there for me, as an investor, that this happens every minute instead of every nanosecond? None, it's objectively worse.
> Why can't we use trading speeds such that everybody can participate, not just a few "gatekeepers"?
But that makes no sense... HFTs are not _competing_ with regular market participants, on the contrary they are providing a service to them. The only competitor to HFTs are other HFTs, because, well, they are providing the same service.
If you want to "participate" in something and you feel hindered by HFTs, that basically means you are not a typical investor, but rather a market maker / arbitrager, so then... competition is fair game, have fun.
Your argument is akin to "we should limit the speed of UPS trucks because I want to compete but I cannot afford to buy fancy trucks". UPS does not prevent the normal operation of package delivery, nor are they competing with people receiving packages. They are only competing with other delivery companies.
> The average internet connection should be fast enough for trading, by now.
Well even if we were to put latency aside, no, your internet connection won't cut it anyway, at least not for any kind of direct market access.
First, not anybody can "do DMA". There are a vast quantity of regulations, licenses, tests, audits, and fees to be an exchange participant. Regulators don't let just anyone participate on public exchanges, even on emerging markets.
1) Be a regulated entity, pass individual certifications, have a risk, legal and compliance team, yearly assessments, etc.
2) Pay a lot of money for access to the exchange market data live ($10k-$100k/month/exchange).
3) Have all your algos certified, risk assessed, and staged on the scenarios the exchange will provide you with.
4) There is no multicast on internet, and anyway unless you have a Solarflare/Mellanox NIC at home, and a crazy good ISP, you won't ingest 10Gb linerate that simply.
5) You need all the things around the ecosystem... symbology, security master, etc...
6) Even cash equities need to be settled, you will need a custodian and a back office, stocks are not tokens that magically change hands. Someone need to post cash, update company records, custody collateral, handle corporate actions, etc
There is no world in which a _regular_ investor will touch the markets directly anyway, everybody goes through a broker or deals with HFTs for order flow, and it's not "just because they are faster", there is a world of complexity/regulation/etc that goes with it.
Even most of the top hedge funds in the world are not direct market participants, but rather use brokers.
The very reason multistrat funds even exist and are so attractive, is that you can net your trades internally at mid and avoid even having to use lit orderbooks, reducing your market impact.
So, no, I don't think anyone sees HFTs as a hindrance, nor are willing to be market participants. This sounds sounds a bit like a naive simplification of the state of things (I don't mean it derisively, it's not a trivial subject).
I don't think this is true. They are trading on the same market as everybody else. People used to make money buying in market A and selling in market B. Now HFT has mostly taken over that role, for instance.
Anyway, finance has created a shitload of abstraction, and at this point it isn't clear if "normal" people benefit from this or that it's just the incumbents.
To make another analogy, yes, feudal lords provided some benefits to the peasants, such as safety and shelter. But you really have to step away from the entire construct to see if they are really better off. This is what is missing in your argumentation, imho.
Who is "People"?
Well now, I cannot claim to know what everyone did at any point in time, but allow me to be very doubtful that anyone other than a dedicated arbitrager/market maker would do that.
Or at least, I cannot conceivably see how one would do that and turn a profit without being also a market maker.
The economics of arbitraging are just too tight.
You need to spot and act on a cross exchange spread that is wider that:
- The exchange fees, for which market makers have rebates. So even at equal technological footing, MM will have an advantage over "People".
- The cost of funding, for which you will need to post IM, and thus already be a professional investor with a good amount of capital.
- If that was "before HFTs", then it was before odd lots as well. Now I don't know what the average price of a US share is, but let's say a couple hundreds of dollars, times 100 lot size. These "People" better be filthy rich in cash.
- Arbitraging at a couple of price levels (which is already a lot), minus costs, would yield you a couple bips per trade. To make any kind of real money doing that, you better do it a trillion times per day, and thus lock a huge amount of money.
- The market risk over the arbitraging period
I don't think I have seen anyone turn a profit arbitraging naively in the last 15 years that were not some kind of market maker already, or some ad-hoc strategy on very ad-hoc EM markets.
They aren't though that's kind of the thing. HFT Market Makers (i.e. the big HFT firms) aren't just trading in the same market. They are the market. They coordinate the trades and effectively instantly sink every buy and sell into themselves and handle the matching of those spreads.
The market makers are competing against each other to offer access to the market to you.
It only increases the barrier to entry to people who want to do HFT themselves on a smaller scale, because they now can't compete on latency etc. But it's a bit of a circular argument to say that it's a bad thing that engaging in HFT increases the barrier of entry to HFT.
In any case, and to reiterate, I wasn't refuting a claim that HFT is a bad thing, I was refuting your original claim that it's pointless. For something to be pointless, there has to be no purpose to it whatsoever, which means it has to have no benefits.
We don't need an HFT middleman.
Come on, it is not difficult to find better things to do with your brains. Like work in medicine, etc.
Now imagine telling your grandkids you worked on pushing short form content in absolutely every app to maximize engagement and rot brains?
There are some Ethernet switches with 4ns latency, and those do more than just sending and receiving, so there's clearly still an order of magnitude of improvement still available. 4ns is basically ~40 cycles of the bit clock for 10G Ethernet.
Essentially a few ns after the header is received it will already be passed on to the output port after some signal conditioning, which happens almost without latency. A typical 'high speed' switch will have 800 ns round trip, so that 60 ns quoted here is actually quite impressive.
> It wouldn't be practical to make it behave quite like an L2 switch.
What are typical configuration? If you’re allowed to talk about it.
They also do some packet accounting and cute features off the critical path. None of that at 4ns.
Surprisingly, if ChatGPT is prompted _juust_ right, it will even give you a good way to do this.
E.g.,
IIRC. cut-through only needs the first 6 bytes. Since it only needs the destination address for the port lookup.
Potentially the first bit, on broadcast.
What is the current state of the art figures?
FPGA engineer with a focus on ultra-low latency networking at Jane Street.
Yikes.