The biggest current limitation with cloud providers when it comes to exchange tech is the lack of real multicast support. It is rare outside of exchanges, but extremely low latency L1 multicast market data has become the backbone of exchanges, both for fairness and for scalability. Knowing you can saturate your entire network with 10G traffic and every participant will get the same market data packets at the same tim…
Thoughts on low latency trading if exchanges went full cloud
71–80 of 184 posts
Re: Thoughts on low latency trading if exchanges went full cloud
#72The biggest current limitation with cloud providers when it comes to exchange tech is the lack of real multicast support. It is rare outside of exchanges, but extremely low latency L1 multicast market data has become the backbone of exchanges, both for fairness and for scalability. Knowing you can saturate your entire network with 10G traffic and every participant will get the same market data packets at the same tim…
Re: Thoughts on low latency trading if exchanges went full cloud
#73Nice article. Wondering though why trading is not done in discrete batches, e.g. 5 second intervals? Trades in the same interval get filled equally or stochastically? Info about trades with that same 5 second batch delay? Is there some (theoretical) market efficiency thing at play? All this HFT feels wasteful and bad for 'regular' human investors.
How do you tie break? If there are more sellers than buyers (or vice versa) at the clearing price?
Re: Thoughts on low latency trading if exchanges went full cloud
#74Earlier quoted context omitted.
> it's not like the trading in and of itself brings any value to the broader world This is a common sentiment, but the reality is that increasing market participation is good for everyone. Yes, even retirement funds benefit from the presence of market-makers. Liquid markets allow for better price discovery and cheaper transaction costs.
I specifically the high-speed trading. I definitely agree that actual investment and trading has some benefit. Nobody was helped by the 200 nanosecond thing that the machines did when the marked opened (except the owners of said machines, of course)
Re: Thoughts on low latency trading if exchanges went full cloud
#75Earlier quoted context omitted.
You mean enabling arbitrary code execution from a third party when you can lose billions of people's money in half a second? Also if two people want to make the same trade, who gets it? Exchanges do provide very limited special conditional execution instructions such as peg orders or stop orders, but it seems like a hard problem for them to support anything more sophisticated and general.
It doesn't have to be arbitrary machine code. eBPF / WASM coupled with a standard library supplied by the exchange. (Plus the exchange can run it in a VM.) > Also if two people want to make the same trade, who gets it? Whoever pays more currently, right? So it can be uniform random and folks can pay for better than random chance, etc.
Re: Thoughts on low latency trading if exchanges went full cloud
#76Low latency trading should be forbidden. The exchanges should add random amounts of latency to every trade.
Re: Thoughts on low latency trading if exchanges went full cloud
#77One key consideration is “provable fairness”. It’s my understanding that exchanges use techniques like long, same length fiber optic cables to all racks within the exchange datacenter to convince customers that everyone is on a fair playing field. This is a lot harder to do when a server is virtualized somewhere on some rack on EC2. Exactly as mentioned, people will try to optimize by spinning up/down instances as cl…
It's provable that it's not fair. AWS multicast is software based, not hardware based.
Re: Thoughts on low latency trading if exchanges went full cloud
#78How would any cloud offering deal with something like, say, the full options data feed, which is close to 40 Gb/s of binary packed goodies? You need both a very fat pipe and ultra-low latency: does the cloud, any cloud, offer that? Also: how often have you guys seen the stock market being down? What's the "x nines" availability of, say, the US stock market and US options feed? Now: do we wanna talk about the various…
Re: Thoughts on low latency trading if exchanges went full cloud
#79Orders should have some durability and it would probably change behaviors enough to make hft go away. If you list a buy or sell order it just has to be in force for some period of time, say a minute or something. HFT shops will say this would reduce liquidity, but it would only make clear what real liquidity was in the first place.
Also, what's wrong with hft?
Re: Thoughts on low latency trading if exchanges went full cloud
#80Nice article. Wondering though why trading is not done in discrete batches, e.g. 5 second intervals? Trades in the same interval get filled equally or stochastically? Info about trades with that same 5 second batch delay? Is there some (theoretical) market efficiency thing at play? All this HFT feels wasteful and bad for 'regular' human investors.
How do you tie break? If there are more sellers than buyers (or vice versa) at the clearing price?
You could match what you can distributed equally and leave the rest unsettled.
You could let people decide whether to roll-over the partial bid into a new bid on the next clock or to cancel unsettled.
You could clock to something both very fast on a human scale (50ms), quick enough it'd still feel instant but slow enough that it could reduce HFT silliness and need for extreme low latencies.