Why this question matters
Our starting hypothesis was that price discovery in gold happens mainly in the COMEX gold futures contract (GC), not in the spot quotes that a retail trader sees on a CFD platform. A CFD quote is derived: a liquidity provider or an aggregator watches the futures and other venues and updates its own bid and ask. That raises an old and popular idea. If the CFD quote lags the futures, a trader who watches the futures could see a move a moment early and trade the CFD "at the old price" before it catches up.
The idea is usually called "latency arbitrage". It has two hard tests. First, the lag has to be longer than the time a retail trader needs to send an order from a home computer through a trading terminal to the broker. We take that delay as 300 to 800 milliseconds (ms). Second, the part of the move that is still left after that delay has to be larger than the cost of a round trip.
We measured both. This note describes the measurement on a public quote feed (Dukascopy) against GC, done in October 2026, and a follow-up in November 2026 on our own broker's tick data, which answered the one question the first study left open.
One point before the numbers. Even a positive result here would have been a measurement, not a trading system. Trading on a broker's delayed quotes may be prohibited by a CFD client agreement, and a broker may cancel such trades; check your own agreement. A live version would also need a real-time futures feed, which a standard MT5 terminal does not provide.
The data
- Futures: GC trades (front contract by volume) from Databento, July 2024 – June 2025. The time stamp is
ts_recv, the moment Databento received the message in the Chicago area, synchronised to UTC. As a robustness check we repeated the main measurement with the mid price of micro gold futures (MGC) best bid and offer. - CFD quote proxy: free Dukascopy XAUUSD ticks (bid and ask, millisecond time stamps), mid price = (bid + ask) / 2.
- Window: working days, 12:00–16:59 UTC (the COMEX and New York morning, including the 08:30 New York data releases). This limit was set in advance because downloading free ticks is slow. In total 1,305 hours of ticks.
- Grid: prices sampled every 100 ms (last value at or before the end of each 100-ms bucket); a finer 10-ms grid only for the description of the lag.
- Split: development period July–December 2024 (130 days), holdout January–June 2025 (127 days). The holdout was opened once, after the development results were saved.
- Exclusions, decided in advance: returns across a futures contract roll, buckets in which either series had no tick for more than 60 seconds, and days in which fewer than half of the seconds had a fresh tick in both series (holidays).
Method
The plan, the hypotheses, the cost and the pass bar were written down and saved before any statistic was computed. One amendment, made after a smoke test of the code on the first 28 development days and before the full run, added only descriptive measures (the 10-ms grid, two extra recovery horizons, the median time between ticks); it did not change any hypothesis, threshold, cost or gate.
Step 1 — how long is the lag? We used three descriptive estimators:
- Cross-correlation between GC returns and XAUUSD returns shifted by τ (positive τ means GC leads). We report the peak and the time by which 50% and 90% of the total positive correlation is reached (τ50, τ90), and the lead/lag ratio (sum of squared correlations with GC leading divided by the sum with XAUUSD leading), a measure used in the high-frequency lead/lag literature.
- A 1-second regression of XAUUSD returns on the current and ten past seconds of GC returns, plus five past seconds of XAUUSD returns.
- A catch-up curve: after GC moves at least 3 bp (basis points, hundredths of a percent) in 5 seconds, what share of the gap between GC and XAUUSD does XAUUSD close after 0.1, 0.2, 0.3, 1 and 60 seconds?
Stop rule set in advance: if on development data 90% of the lead was reached in under 1 second and 90% of the catch-up happened in under 1 second, the "latency" path was declared dead for retail execution, whatever the trading test showed.
Step 2 — can you trade what is left? An event happened when GC moved at least k bp in 5 seconds and XAUUSD had reflected less than half of that move. We bought (or sold) XAUUSD in the direction of the GC move after a delay L and closed after N seconds. Four hypotheses: k = 3 or 6 bp, N = 10 or 60 seconds. The decisive delay was L = 800 ms; L = 300 ms was reported alongside. Cost: 2.55 bp per round trip (a stressed estimate of our broker's spread and commission, 2.25 bp, plus 0.3 bp slippage), the same convention as our other short-term gold studies. One position at a time.
Pass bar (each hypothesis, at L = 800 ms): holdout net result above zero with t ≥ 2.24 (Bonferroni correction for four tests; t computed from daily sums), development net above zero, at least 4 of 6 holdout months positive, better than 95% of 999 random-direction runs on the same events, no artefact in the placebo, and still positive at L = 300 ms.
Controls: random direction (999 runs); placebo P1 with GC shifted five minutes into the past (expected result about zero); placebo P2 pairing XAUUSD of one day with GC of the next day (correlation should be about zero); the reverse direction (XAUUSD leading GC); a profit factor above 2.5 or a hit rate above 65% would have stopped the study to search for a data leak.
Results: the lag is about 80–90 milliseconds
| Measure | Development (Jul–Dec 2024) | Holdout (Jan–Jun 2025) |
|---|---|---|
| Peak of cross-correlation, 10-ms grid (GC leads) | +80 ms | +90 ms |
| τ50 / τ90, 10-ms grid | 90 / 180 ms | 90 / 150 ms |
| Correlation at lag 0 / +0.1 s / +0.2 s / +0.3 s, 100-ms grid | 0.13 / 0.48 / 0.10 / 0.01 | 0.11 / 0.48 / 0.08 / 0.01 |
| τ90, 100-ms grid; lead/lag ratio | 0.2 s; 101 | 0.2 s; 131 |
| Same with MGC mid instead of GC: τ90; lead/lag ratio | 0.2 s; 7.9 | 0.1 s; 12.1 |
| Correlation at lag 0, 1-second returns | 0.76 | 0.73 |
| Catch-up after a GC move ≥ 3 bp: share of gap closed at 0.1 / 0.2 / 0.3 / 1 / 60 s | 0.52 / 0.63 / 0.65 / 0.69 / 0.61 | 0.48 / 0.54 / 0.54 / 0.55 / 0.51 |
| Events in the catch-up curve | 2,194 | 4,895 |
| Median time between ticks: Dukascopy XAUUSD / GC trades | 102 / 44 ms | 102 / 38 ms |
| Placebo P2 (GC from another day): largest correlation | 0.001 | 0.001 |
Gold futures do lead the quote: the lead/lag ratio was 101–131 against GC trade prices and 7.9–12.1 against MGC mid prices. But the lead is short. The quote follows GC by about 80–90 ms, and 90% of the positive cross-correlation is reached within 150–200 ms. At 1-second returns the two series move almost together (correlation 0.73–0.76 at lag zero). In the 1-second regression the same-second GC return had a coefficient of 0.75 (development) and 0.71 (holdout), and the next two seconds 0.43 and 0.30 (development) and 0.39 and 0.25 (holdout); these later coefficients came with negative coefficients on past XAUUSD returns, which is what quote bounces look like, and the combined effect was about 0.88.
The lag is comparable to the interval at which the Dukascopy quote is refreshed: the median time between its ticks was 102 ms. Our reading, not a separate test, is that much of the "delay" comes from the quote feed updating in steps of about a tenth of a second, not from a slow market.
The catch-up curve tells the same story. After a GC move of at least 3 bp in 5 seconds, about half of the gap is closed within 0.1 seconds, and by 0.3 seconds the quote has reached at least 90% of the catch-up measured at 60 seconds (0.54–0.65 of the gap closed at 0.3 s). A large part of the gap is never closed, because part of the futures move reverses.
The stop rule was triggered on development data: τ90 was 0.2 seconds and the catch-up was complete by 0.3 seconds, both far below 1 second. Under the plan, the latency path was declared dead for retail execution regardless of the trading test.
Results: the trading test
Net per trade after 2.55 bp cost, holdout (January–June 2025); development in brackets.
| Hypothesis | Delay L | Holdout trades | Gross / net, bp | t (net, by day) | Hit rate (gross) | Positive months | 95th pct. of random direction, bp |
|---|---|---|---|---|---|---|---|
| k 3 bp, hold 10 s | 300 ms | 7,237 | −0.02 / −2.57 (−0.03 / −2.58) | −11.0 | 0.49 | 0 of 6 | −2.49 |
| k 3 bp, hold 10 s | 800 ms | 7,185 | −0.03 / −2.58 (−0.13 / −2.68) | −11.1 | 0.49 | 0 of 6 | −2.50 |
| k 3 bp, hold 60 s | 300 ms | 4,885 | −0.07 / −2.62 (−0.08 / −2.63) | −14.6 | 0.49 | 0 of 6 | −2.41 |
| k 3 bp, hold 60 s | 800 ms | 4,873 | −0.08 / −2.63 (−0.19 / −2.74) | −14.6 | 0.49 | 0 of 6 | −2.41 |
| k 6 bp, hold 10 s | 300 ms | 491 | +0.32 / −2.23 (+0.19 / −2.37) | −5.9 | 0.50 | 0 of 6 | −2.19 |
| k 6 bp, hold 10 s | 800 ms | 489 | +0.09 / −2.47 (−0.51 / −3.06) | −6.2 | 0.47 | 0 of 6 | −2.19 |
| k 6 bp, hold 60 s | 300 ms | 408 | +0.22 / −2.33 (−0.01 / −2.56) | −5.8 | 0.50 | 0 of 6 | −1.87 |
| k 6 bp, hold 60 s | 800 ms | 407 | −0.05 / −2.60 (−0.70 / −3.25) | −6.5 | 0.48 | 0 of 6 | −1.87 |
Development trades at L = 800 ms: 2,872, 2,182, 212 and 186 for the four hypotheses.
What is left after 300–800 ms is worth between −0.7 and +0.3 bp per trade before cost, mostly near zero and at most about a quarter of the 2.55-bp cost. No hypothesis was positive after cost in either period, and not one of the six holdout months was positive for any of them. Result: 0 of 4 hypotheses passed.
The controls behaved as they should. The stale-GC placebo (P1) gave −0.11 to +0.03 bp gross with |t| ≤ 1.6, so the code did not create an artificial signal. Profit factors of 0.10–0.52 and hit rates of at most 0.52 showed no sign of a data leak. In the reverse direction (XAUUSD leading GC, measured on GC trade prices at 800 ms), the result was about zero or negative on development data and +0.01 to +0.54 bp on the holdout; statistically different from zero in places (t up to 2.9), but a fraction of a basis point on trade prices that bounce between bid and ask, far below any cost.
The follow-up: is our broker's quote slower than Dukascopy?
The October study had one honest gap: Dukascopy is not our broker. A broker's own quote could in principle lag by seconds, not milliseconds. In November 2026 we exported our broker's own XAUUSD and US100 ticks and tested this directly against GC and Nasdaq-100 futures (NQ) best bid and offer at 1-second resolution, with a new plan saved before the broker ticks were used. Development period: May–August 2026. The September–October 2026 holdout was exported but not opened, because nothing passed development.
Clock check. The broker's server clock was mapped to UTC by a fixed offset, with no adjustment fitted to prices (on synthetic data, fitting the offset to prices had absorbed exactly the lag we wanted to measure). With that fixed mapping, the correlation of 60-second returns was 0.995 for gold and 0.998 for US100, and it was highest at zero shift in both cases.
Three hypotheses, each with a delay of at least 300 ms before entry and an exit after at most 5 seconds: (H1) gold futures lead our broker's gold quote; (H2) NQ leads our broker's US100 quote; (H3) our broker's gold quote overshoots and comes back. Before testing any rule we applied an "oracle" gate: for each trigger, the best possible result in the next 5 seconds in either direction, known with hindsight. That is far more than any real rule could earn. Under the plan, a hypothesis that failed this gate was closed without testing a rule. The gate required, among other things, that at least 90% of triggers still be open when the order could reach the market and that the median best possible move be at least twice the round-trip cost (spread at entry plus commission).
| Hypothesis | Triggers with an entry | Still open at entry (need ≥ 90%) | Median best possible move / cost (need ≥ 2.0) | Gate |
|---|---|---|---|---|
| H1 gold, futures lead | 2,216 | 77.5% | 1.66 | fail |
| H2 US100, NQ leads | 3,384 | 75.2% | 2.68 | fail (open share) |
| H3 gold, broker quote overshoots | 1,852 | 97.7% | 1.18 | fail |
For gold, in 22.5% of triggers the broker's quote had already reached the target before an order sent 300 ms later could arrive, and in the rest the best possible move in hindsight was only 1.66 times the cost. The hindsight best case for gold was still positive on average (1.60 times the cost), so the gate does not prove that no gold rule could ever work; it shows the opportunity was too thin and too often gone to meet the bar we set in advance. For US100 the hindsight numbers were larger (average best possible result 3.56 times the cost, with a positive lower confidence bound), and H2 failed only on the open-share condition: in 1,107 cases the broker's quote had caught up within the first 300 ms. That share depends directly on how exactly the broker's server clock matches UTC, which we did not measure at the millisecond level; a clock a few hundred milliseconds off would change it. All three hypotheses failed the gate; under the plan the family was closed with no rule tested and no holdout opened.
Together the two studies give a clear answer for the Dukascopy quote and a weaker one for our broker's quote: on the Dukascopy quote the lag is far shorter than a retail delay and the trading test lost money; on our broker's quote no hypothesis passed the gate we set in advance, and no trading rule was tested.
What did not work in our own process
- The first plan included fitting the clock offset between the two data sources to prices. A test on synthetic data showed that this would hide the very lag we were measuring. We replaced it with a fixed mapping before any broker tick data was used.
- In the November study the commission in the cost model was first set four times too low. We found the error before the gates were run and corrected it to the real figure from our trade history; the correction only made the test stricter. Before that correction we had computed descriptive correlations and average moves on part of the development ticks (May–July 2026), as the plan allowed; the rules and gates were not changed after that look.
- The October study used a 12:00–17:00 UTC window only, because free ticks are slow to download. Quieter Asian and late-evening hours were not measured.
Limitations
- Clock differences between providers cannot be fully removed. The futures time stamp is Databento's receive time; the Dukascopy time stamp is their server time; our broker's time is its server time. Any constant offset between these clocks is inside every measured lag.
- The follow-up uses 1-second futures data. Lags shorter than one second cannot be resolved there; that test answers only whether there is a tradable lag of a second or more.
- Gross results are measured on mid prices for the Dukascopy study. Real fills depend on the broker's spread at the moment of entry, which in fast moves is often wider.
- One year of Dukascopy data (July 2024 – June 2025) and four months of our broker's data (May–August 2026). Other periods were not checked.
- Not checked: other brokers, other instruments, other hours, and what a server placed next to the exchange could do. This note is about a retail setup only.
What it means for a trader
- In our data gold futures led the Dukascopy gold quote, but by tens of milliseconds, about one refresh of the quote feed. We assume a retail order needs 300–800 ms, several times longer.
- After a sharp futures move, about half of the gap was closed within a tenth of a second and most of what would ever be closed within about 0.3 seconds. By the time you see it on a chart, it is gone.
- What was left after 300–800 ms was worth −0.7 to +0.3 bp per trade before cost (development and holdout), against a cost of about 2.5 bp. A latency strategy cannot be saved by better entries if the lag is shorter than your delay.
- Be very careful with software sold as "latency arbitrage" for retail CFD accounts. Even where a lag exists, trading on a broker's delayed quotes may be against the client agreement.
- A measurement that "fails" can still be useful: it closes a whole family of ideas cheaply and lets you spend time elsewhere. Past results do not guarantee future ones.
Related Lab studies
- Does CME order flow predict gold?: another attempt to use futures data to predict short-term gold moves.
- Can you scalp gold with simple rules?: a wider scan of short-term gold rules.
- A 50-pip gold scalper: the barrier maths before any signal: why direction, not speed, is the hard part of scalping gold.
- Were our backtests too strict? We put our own test engine on trial: how we model spreads, slippage and commission.
Past results do not guarantee future ones.
Written and reviewed by AI agents (Claude and Gemini models) under rules set by the owner; no person reviews each text. Last AI review: 17 Nov 2026. Sources are listed at the end of the article.