What are the challenges of smart order routing in a low-latency trading platform?

452 Views Asked by At

How does order routing work in a a low latency trading platform which is connected to multiple venues, with both visible and dark order books ?

If tick to trade cycle is ultra low (~ tens of microsecond ) does smart order routing algorithm also have to determine market conditions within a such low time interval ? And Does the low low latency requirement hinder use of AI/machine learning algorithms to do online learning of market conditions ?

2

There are 2 best solutions below

0
On

Typical low latency order routing works much faster than tens of microseconds.

The smart order routing algorithm is constantly consuming market data from the exchanges where it intends to trade. It does not request this data as needed, it always streaming to it. The algorithm may also remember its activity in various dark-pools that it was privy to. The algorithms will likely interact with all these venues simultaneously, not sequentially.

Using this data it is certainly capable of making sophisticated decisions in microseconds and dispatching order messages to multiple exchanges - dark or otherwise.

The decision making logic for these systems has been tuned and optimized to allow for fast execution. Longer running analysis could be off-loaded to other systems which return with new parameters periodically, to be used by processes local to an exchange.

Large high frequency trading teams have experts for every step of the trading process - using techniques like RDMA, kernel by-pass and FPGA equipment to keep network traffic low-latency, low-level coding in Assembler, C or C++ to keep software fast, among other techniques.

0
On

Your assumption is correct, the smart order routing must decide within “a couple” of microseconds where to send the order, based a specific criteria.

That criteria could be as simple as deciding which venue has the best liquidity, or something more advanced as using AI/ML. And of course, the reaction time (latency) will be determined by it. Using AI/ML will demand much more than microseconds, but in some cases could be very useful.

Getting to the point on how the smart order routing is able to take such decisions in such short time: needs to keep the market stats from every venue. That means that it needs to hold an exact copy of every single Limit Order Book in real time, all the time.

I recently wrote an interesting article (very basic) on how these smart order routers are being built here.

Hope that helps.