entekhab.netentekhab.nettrilingual encyclopedia

Latency

ENGLISHLatencyreference
فارسیتأخیرRecommended equivalent
کوردیدواکەوتنی کاتProposed equivalent — not standard
Category
Algorithmic Trading
Level
Professional

Simple definition

The delay between deciding something and it taking effect at the exchange. Measured in milliseconds or microseconds, and it decides who gets the fill when two traders want the same offer.

Professional definition

The time information or an order takes to travel the full path: data out of the matching engine to you, your decision, your order back, and the acknowledgement. For a race what matters is the round trip and its variability, because a strategy has to be sized for the slow case, not the average one.

Technical definition

Total latency sums propagation, which distance and the signal speed in fibre bound from below, serialisation and queuing in network equipment, the venue's own gateway and matching time, and the client's own processing. Jitter, the dispersion of that total, is often more important than the mean, since a quoting strategy must assume the slow tail. Distance sets a floor no software can beat, which is the whole reason colocation exists.

Academic definition

The elapsed time between the generation of a market event and the effect of a response to it at the venue, decomposed into propagation, serialisation, queuing, matching and client-processing components.

Mechanism

Continuous markets break ties by arrival order, so a difference of microseconds decides which of two identical orders trades. That turns a technical quantity into an economic one: the faster participant systematically takes the better half of the available liquidity, and the slower one is left holding the orders that were not worth taking.

In practice

Who uses it
High-frequency firms, market makers, cross-venue arbitrageurs and liquidation engines; also any retail bot whose stop has to reach the venue in time.
Why it matters
It decides which strategies are possible: queue-sensitive quoting and cross-venue arbitrage are latency games, while a daily rule is nearly indifferent to it.
Limitations
Honest measurement is hard. Venue timestamps, local clocks and round-trip estimates disagree, and the figure that matters is the slow tail, not the mean.

Common mistakes

  • Optimising mean latency while ignoring jitter.
  • Comparing latencies measured at different points of the path.
  • Assuming a backtest's fills were reachable at retail latency.

Examples

numeric

A route of 1,000 kilometres of fibre costs about five milliseconds one way and ten for the round trip. No code change reduces that term; only moving the server does.

Given
  • route length d = 1000 km of optical fibre
  • signal speed in fibre v about 2.0 x 10^5 km/s (roughly two-thirds of the vacuum speed of light)
Steps
  1. t = 1000 / 200000 = 0.005 s = 5 ms one way
  2. round trip = 2 x 5 = 10 ms
about 10 ms of unavoidable round-trip propagation

A physical floor only. Switching, queuing, gateway and matching time are added on top, and the real route is longer than the straight-line distance.

market

Two bots see the same resting offer. The one three milliseconds closer takes it; the other's order arrives at a book that has already moved, so it either misses or trades against a quote that only a better-informed party would still be showing.

Mathematical foundation

t_{prop} = \frac{d}{v}, \qquad v \approx \tfrac{2}{3}c \approx 2.0 \times 10^{5}\ \text{km/s}

Variables

t_{prop}One-way propagation time along the routeseconds
dLength of the actual cable route, not the great-circle distancekm
vSignal speed in the medium; about two-thirds of the vacuum speed of light in standard fibrekm/s

Procedure

Take the cable route length between your server and the venue's gateway, divide by the signal speed in that medium, and double it for a round trip. Treat the result as a lower bound and then measure the real figure end to end, recording the distribution rather than the mean, because the slow tail is what a strategy must survive.

Worked example

Given
  • d = 1000 km
  • v = 2.0 x 10^5 km/s
Steps
  1. t = 1000 / 200000 = 5 ms
  2. round trip = 10 ms
10 ms propagation floor

Interpretation

The result is the part of latency that geography fixes. Everything a firm can actually optimise sits above this floor, which is why the first question about a latency-sensitive strategy is where the server is.

Assumptions

  • The signal speed in standard single-mode fibre is a physical property of the medium, not a market quantity; microwave and hollow-core routes are faster over the same ground.
  • Cable routes are longer than straight-line distance, so the figure computed from a map is an optimistic bound.
  • Propagation is only one additive term. Inside a single data centre it is negligible and the other components dominate.
Limits of the formula
  • This says nothing about queuing or matching time, which are the variable and often larger parts.
  • End-to-end measurement requires clock synchronisation good enough to resolve the differences being claimed.

Related terminology

related
Colocation High-Frequency Trading Rate Limiting Exchange API Order Matching Market Making Front-Running Maximal Extractable Value Smart Order Routing Adverse Selection
Commonly confused with

Colocation

Latency is the quantity being measured. Colocation is one way of removing a single geographic component of it; a colocated server running slow software is still slow.

Sources

Editorial status

Needs expert reviewindustry-conventionv1.02026-11-05

Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.

Kurdish headword is a descriptive proposal by this project. The propagation formula and the fibre signal speed are physical facts about the transmission medium, not financial claims, and are not drawn from the source registry; the cited sources support the economic consequences of speed, not the physics.