Close and Sometimes a Cigar
The race to the matching engine comprises a few stages. The first covers the outgoing market data’s path from the matching engine to the participant’s network card. This represents the information we want to react on. It seems as if this is completely out of the hand of the participant. However, there are multiple outbound switches (who do not process the outgoing market data update exactly simultaneously), each with multiple ports (which send out data in a round-robin fashion), and each with a separate cable (which are not exactly of identical length). This means that by arbitrating over multiple otherwise identical feed lines one can squeeze out some miniscule latency advantages. The second stage is the only one that is fully deterministic and fully under the control of the participant: the pure reaction time between receiving the market data and sending out any resulting requests. Stage three then is the path from the participant to the matching engine. Here, too, variations in cable lengths and traffic on individual ports and switches introduce slight latency variations under otherwise identical conditions. Similar approaches as for the outbound leg can be used here to squeeze out tiny latency gains.
Figure 1 below shows how the race lead can change over this last stage. It looks at consecutive incoming requests at the outer edge of the exchange’s network. We then analyze if the order of these events is maintained or switched across the order access network. The horizontal axis is the time difference in nanoseconds with which two requests are received. The grey area represents the number of events which maintain the same order whereas the blue area are cases where the event that reaches the exchange first gets to the gateway (and thus matching engine) second. The orange curve is the ratio between the two.
Before discussing the results, two subtle but important details:
领英推荐
Observations:
High-Frequency Market Making
2 个月"The grey area represents the number of events which maintain the same order whereas the blue area are cases where the event that reaches the exchange first gets to the gateway (and thus matching engine) second" - this is reversed, right? Otherwise more orders are overtaking than maintained...
Power, gas, & environmentals trading | Nodal Exchange
1 年The race to zero consumed TradFi futures for a long time and a few shops printed profits for years by leading the charge. A common denominator for those who won that race was simplicity. They could sketch out their strategy on a bar napkin in terms that anyone could understand.