Is the gold CFD late? Measuring the lag behind COMEX futures

A public spot gold quote (Dukascopy) followed COMEX futures by about 80–90 ms. After a 300–800 ms delay the rest was −0.7 to +0.3 bp gross vs 2.55 bp cost.

Written by: WICKVIPER Study ID: K187 / BAZA-LAG-01; K342 / CHALLENGE-21 Published: Updated:

Does not work

Short answer

Does a CFD gold quote lag COMEX gold futures long enough for a retail trader, with a 300–800 ms order delay, to trade the catch-up after costs?

No. The Dukascopy XAUUSD quote followed GC futures by about 80–90 ms (July 2024 – June 2025), about one refresh of the quote feed. Trading what was left after 300–800 ms earned −0.7 to +0.3 bp gross per trade; in the 2025 holdout the net was −2.2 to −2.6 bp and 0 of 4 hypotheses passed. A follow-up on our broker's own ticks (May–August 2026) also failed its pre-set gate.

Data
XAUUSD (Dukascopy quotes and our broker's ticks) against COMEX gold futures (GC, MGC); in the follow-up also US100 against Nasdaq-100 futures (NQ)
Period
Main study: July 2024 – June 2025, working days 12:00–16:59 UTC (development Jul–Dec 2024, holdout Jan–Jun 2025). Follow-up: development May–August 2026; holdout September–October 2026 not opened
Sample
1,305 hours of ticks; 257 trading days; 407 to 7,237 holdout trades per hypothesis. Follow-up: 2,216 gold (futures lead), 1,852 gold (overshoot) and 3,384 US100 triggers with an entry
Costs
Main study: 2.55 bp per round trip (stressed broker spread and commission 2.25 bp plus 0.3 bp slippage). Follow-up: real spread at entry plus commission. No swap (holding 5–60 seconds)

Key numbers

Lag of the Dukascopy gold quote behind GC futures (peak of cross-correlation)
80 ms (Jul–Dec 2024), 90 ms (Jan–Jun 2025)
Share of the gap closed after a GC move ≥ 3 bp: 0.1 s / 0.3 s (holdout)
0.48 / 0.54 (0.51 at 60 s)
Net per trade at 800 ms delay and 2.55 bp cost, holdout 2025
−2.47 to −2.63 bp, 0 of 6 months positive
Follow-up on our broker's ticks: gold triggers still open after 300 ms
77.5% (gate ≥ 90%), May–Aug 2026

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:

  1. 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.
  2. A 1-second regression of XAUUSD returns on the current and ten past seconds of GC returns, plus five past seconds of XAUUSD returns.
  3. 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

Results: the lag is about 80–90 milliseconds
MeasureDevelopment (Jul–Dec 2024)Holdout (Jan–Jun 2025)
Peak of cross-correlation, 10-ms grid (GC leads)+80 ms+90 ms
τ50 / τ90, 10-ms grid90 / 180 ms90 / 150 ms
Correlation at lag 0 / +0.1 s / +0.2 s / +0.3 s, 100-ms grid0.13 / 0.48 / 0.10 / 0.010.11 / 0.48 / 0.08 / 0.01
τ90, 100-ms grid; lead/lag ratio0.2 s; 1010.2 s; 131
Same with MGC mid instead of GC: τ90; lead/lag ratio0.2 s; 7.90.1 s; 12.1
Correlation at lag 0, 1-second returns0.760.73
Catch-up after a GC move ≥ 3 bp: share of gap closed at 0.1 / 0.2 / 0.3 / 1 / 60 s0.52 / 0.63 / 0.65 / 0.69 / 0.610.48 / 0.54 / 0.54 / 0.55 / 0.51
Events in the catch-up curve2,1944,895
Median time between ticks: Dukascopy XAUUSD / GC trades102 / 44 ms102 / 38 ms
Placebo P2 (GC from another day): largest correlation0.0010.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.

Results: the trading test
HypothesisDelay LHoldout tradesGross / net, bpt (net, by day)Hit rate (gross)Positive months95th pct. of random direction, bp
k 3 bp, hold 10 s300 ms7,237−0.02 / −2.57 (−0.03 / −2.58)−11.00.490 of 6−2.49
k 3 bp, hold 10 s800 ms7,185−0.03 / −2.58 (−0.13 / −2.68)−11.10.490 of 6−2.50
k 3 bp, hold 60 s300 ms4,885−0.07 / −2.62 (−0.08 / −2.63)−14.60.490 of 6−2.41
k 3 bp, hold 60 s800 ms4,873−0.08 / −2.63 (−0.19 / −2.74)−14.60.490 of 6−2.41
k 6 bp, hold 10 s300 ms491+0.32 / −2.23 (+0.19 / −2.37)−5.90.500 of 6−2.19
k 6 bp, hold 10 s800 ms489+0.09 / −2.47 (−0.51 / −3.06)−6.20.470 of 6−2.19
k 6 bp, hold 60 s300 ms408+0.22 / −2.33 (−0.01 / −2.56)−5.80.500 of 6−1.87
k 6 bp, hold 60 s800 ms407−0.05 / −2.60 (−0.70 / −3.25)−6.50.480 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).

The follow-up: is our broker's quote slower than Dukascopy?
HypothesisTriggers with an entryStill open at entry (need ≥ 90%)Median best possible move / cost (need ≥ 2.0)Gate
H1 gold, futures lead2,21677.5%1.66fail
H2 US100, NQ leads3,38475.2%2.68fail (open share)
H3 gold, broker quote overshoots1,85297.7%1.18fail

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.

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.

Questions

How much does spot gold lag COMEX futures?

In our measurement the Dukascopy XAUUSD quote followed GC futures by about 80–90 ms (July 2024 – June 2025, 12:00–17:00 UTC), and 90% of the positive cross-correlation was reached within 150–200 ms. The median time between Dukascopy ticks was 102 ms, so the lag is comparable to one refresh of the quote.

Can a retail trader profit from the lag?

Not in our tests. With an order delay of 300–800 ms the remaining catch-up was worth −0.7 to +0.3 bp gross per trade against a cost of 2.55 bp; all four hypotheses lost money in every holdout month. Trading on delayed broker quotes may also be prohibited by a CFD client agreement. Past results do not guarantee future ones.

Is a broker's own quote slower than a public feed?

We checked our broker's own XAUUSD ticks for May–August 2026 against futures data at 1-second resolution. No hypothesis passed the gate we set in advance: for gold only 77.5% of opportunities were still open 300 ms later (we required 90%) and the median best possible move was 1.66 times the cost (we required 2). No trading rule was tested and other brokers were not checked.

Sources

  1. High frequency lead/lag relationships – empirical facts — arXiv (Huth, Abergel, 2011)
  2. Historical data feed — Dukascopy Bank
  3. Common fields, enums and types (ts_recv synchronised to UTC) — Databento
  4. Bonferroni correction — Wikipedia

Past results do not guarantee future results. This is research, not a recommendation to trade.

All studies