Why this question matters
Order-flow data have a strong appeal for gold traders. The exchange tells you, trade by trade, whether the buyer or the seller was the aggressor, that is, who crossed the spread to get filled. If buyers keep hitting the ask, the thinking goes, price should rise for a moment, and a fast trader could ride that move for a minute or two.
We had already tested this idea over longer horizons. In an earlier note we found that three popular order-flow measures did not predict gold's direction over 15 to 60 minutes. A fair objection remained: maybe the information is real but short-lived, and 15 minutes is too slow to see it. This study goes to the other end of the scale. It uses the aggressor flow of the last 5 seconds to ask what the micro gold futures contract does over the next 60 or 180 seconds.
The question is also about money, not only about statistics. Our planning notes tied a purchase decision to the result: if the effect existed, the next step would have been to consider buying deeper order-book data. If it did not, we would not buy it.
The data
- Signal source: every trade in the COMEX gold futures contract (GC) from July 2024 to June 2025, 24,431,448 records, bought from Databento. Each record carries the exchange-reported aggressor side: buyer (12.00 million records), seller (11.95 million) or none (0.49 million).
- Prices and execution: every trade in the micro gold future (MGC), 21,715,258 records, each stored together with the best bid and ask just before that trade. In the cleaned sample the median MGC mid price was 2,682.55 USD per ounce and the median spread was 0.10 USD, one tick (in the raw MGC records, 58.7% had a one-tick spread and 36.2% a two-tick spread).
- Clock: the time at which Databento received each message (
ts_recv) for every step, so the signal and the prices share one clock. - Development period: July 2024 to February 2025. Test months, each predicted only from earlier data, were September 2024 to February 2025: 126 trading days and 1,530,962 decisions on the main horizon (1,528,821 on the 180-second horizon).
- Confirmation period: March to June 2025 was reserved and would have been opened once, but only if the development period passed. It did not pass, so it was never calculated.
- Exclusions, fixed in advance: one day flagged by the vendor as degraded (18 September 2024) and four days when the GC and MGC contracts were on different expiry months (31 July 2024, 31 January, 1 February and 30 March 2025). Any decision whose last MGC quote was older than 60 seconds was also dropped, as were decisions with no MGC trade within 5 seconds after the entry time or within 30 seconds after the exit time (about 0.68 million grid points, mostly quiet moments).
Method
The plan, the cost model and the pass bar were committed to version control before the code was written, and the code and its 19 unit tests were committed before the first run on the data. The only look at the data beforehand was a dry run for counts and distributions, with no price outcomes and no model.
The signal. Every 5 seconds we summed the signed size of GC trades in the last 5 seconds (buyer aggressor positive, seller negative), and divided it by the median 5-second volume of the previous hour, so a reading of 3 means "three times a normal 5-second slice, net buying". Nothing after the decision time enters the signal; a unit test changes every later record and checks that earlier features do not move.
The baseline. A model that sees only the last 5, 30 and 60 seconds of MGC returns (B0), and the same model plus the order-flow signal (B1). Both are simple step-function regressions: each feature is cut into up to ten buckets by its quantiles, and every bucket gets its own coefficient. We chose this deliberately: it gives extreme flow readings their own effect, a fair chance for the idea "strong flow means a move".
The trade. Enter at the best bid or ask quoted just before the first MGC trade at least one second after the decision (plus one tick of slippage), hold for 60 seconds (main hypothesis) or 180 seconds (second hypothesis), and exit on the opposite side of the book. A trade is taken only if the model's predicted move is larger than the round-trip cost.
The cost. A stressed futures cost: exchange and NFA fees of 0.71 USD plus a broker commission of 0.25 USD per contract per side, plus one tick of slippage per side, plus the spread. The median round trip came to 1.86 bp, or 4.92 USD per contract (0.492 USD per ounce) at the median one-tick spread; the two medians are computed separately. The fee levels are those in our cost model of October 2026; check the current schedule of your broker and the exchange. Without the slippage tick it is about 1.1 bp. There is no overnight financing at these holding times.
The pass bar. Two hypotheses (60 and 180 seconds), so a Bonferroni-corrected t-statistic of at least 2.24 for the improvement of B1 over B0, at least 300 trades, an improvement in at least 4 of 6 test months, and four controls: random direction (999 runs), a 5-second order delay, a circular shift of the flow signal (199 shifts) and random entry moments. One more condition, the first on the list, is the "oracle".
The oracle. As the first condition of the pass bar, we asked the most generous question possible: on the moments of strongest flow (flow at or above the 90th percentile of the previous hour, non-overlapping), would the price move, in either direction, by at least twice the round-trip cost? If the typical move is smaller than the cost even with the direction known in advance, a signal would also have to pick out the rare large moves, which is a much harder task.
Results
The oracle already fails
| 60 s | 180 s | |
|---|---|---|
| Strong-flow events (non-overlapping) | 75,480 | 38,571 |
| Median absolute price move (USD/oz) | 0.35 | 0.55 |
| Median round-trip cost (USD/oz) | 0.492 | 0.492 |
| Median move as a multiple of cost (needed: 2 or more) | 0.65 | 1.02 |
| Share of events with a move of at least 2× cost | 10.7% | 26.5% |
In more than half of the strong-flow events the price moved by less than the cost of trading it, even with perfect knowledge of the direction. Strong flow did not even pick out busier moments: at 60 seconds the multiple on strong-flow events (0.65) equals the multiple over all decisions (0.65); at 180 seconds it is lower (1.02 against 1.20). For comparison, on the same data over 15 minutes the multiple was 2.95. The opportunity grows with the horizon, but, as the earlier study showed, direction is missing there too.
The models never trade
| F01-H60 | F01-H180 | |
|---|---|---|
| Decisions in test months | 1,530,962 | 1,528,821 |
| Trades, baseline B0 | 0 | 0 |
| Trades, B1 with order flow | 0 | 0 |
| Largest predicted move of B1 | 0.37 bp | 0.99 bp |
| ...as a share of the cost of that moment (computed after the run, descriptive) | 0.20 | 0.51 |
| Test months with an improvement | 0 of 6 | 0 of 6 |
| Verdict | fails | fails |
Because neither model ever traded, the improvement test could not discriminate; the evidence against direction comes from the bucket averages below, not from this gate. Across 1.53 million decisions the predicted move never exceeded the cost, so neither model placed a single trade. Net result and improvement over the baseline are both exactly 0.000 bp, and the t-statistic cannot be computed because the variance is zero. The 99th percentile of the forecast (descriptive) was only 0.10 bp (60 seconds) and 0.30 bp (180 seconds). Delaying the order by 5 seconds changed nothing, and neither did using the cheaper cost without the slippage tick: still no trades. The four controls are formally "failed" only because there is nothing to control.
Even without costs, there is no direction
The table below is descriptive only; it did not decide anything. We sorted all test decisions into ten buckets by flow strength and averaged the price move after entry, before costs. Decision counts are for the 60-second horizon (the 180-second counts are slightly smaller). We did not compute standard errors for these averages, so this is an observation, not a formal test.
| Flow bucket (signed, in multiples of normal volume) | Decisions | Average move after 60 s (bp) | After 180 s (bp) |
|---|---|---|---|
| Strongest selling (below −9.4) | 15,307 | −0.007 | −0.058 |
| −9.4 to −3 | 56,516 | +0.017 | +0.053 |
| −3 to −1.67 | 78,144 | +0.016 | +0.080 |
| −1.67 to −0.5 | 191,638 | +0.011 | +0.030 |
| −0.5 to 0 | 227,703 | −0.008 | −0.013 |
| 0 to 0.5 | 571,856 | +0.008 | +0.015 |
| 0.5 to 1.67 | 231,069 | +0.012 | +0.029 |
| 1.67 to 3 | 68,082 | +0.016 | +0.044 |
| 3 to 9.5 | 75,107 | +0.016 | +0.062 |
| Strongest buying (above 9.5) | 15,540 | −0.006 | +0.007 |
Average moves are between −0.06 and +0.08 bp, about 1.9 bp short of the cost in every bucket, and they do not line up with the sign of the flow. After the strongest selling at 60 seconds the average was −0.007 bp; after the strongest buying, −0.006 bp. The small plus sign in most buckets looks like gold's general uptrend in 2024 and 2025 rather than an effect of flow (not tested). Net of cost, every bucket and both directions came out at about −1.9 bp.
Why it fails
Two separate problems stack up.
- The move is too small. At 60 seconds the median price change (0.35 USD per ounce) is smaller than the cost of getting in and out (0.49 USD). A one-minute scalp of micro gold futures pays roughly one spread, two fees and two ticks of slippage to chase a move of about two thirds of that. At 180 seconds the move equals the cost, which leaves no profit.
- The direction is missing. Aggressor flow has no usable relationship with the next minutes. A plausible reason is that an aggressive buyer often meets a seller of equal size, and the order book refills at once. We did not test that explanation; it is our reading, not a result.
The cost matters as much as the signal. At a price near 2,680 USD, the stressed futures cost (1.86 bp per round trip) is somewhat lower than the 2.55 bp we assume for CFD gold in other studies, but at a 60-second horizon neither cost is covered by the typical move.
Limitations
- One year of data and one contract pair. The development period is 8 months; the 4-month confirmation period was never opened. A different year might look different. We consider a change in direction unlikely, since the average moves were flat in all ten flow buckets, but that is a judgement, not a measurement.
- Not a clean holdout. These twelve months were already used in our longer-horizon order-flow studies, so this is not untouched data.
- One signal definition. We tested signed aggressor volume over 5 seconds, normalised by a rolling median. Other definitions (order-book imbalance, other windows) are not covered here. We deliberately did not try them after seeing the result.
- Not tested: deeper book data. Full order-book depth (several price levels) might carry more information. The test was designed to tell us whether buying it was worth it. We did not buy it, because this result gives no reason to.
- A retail view. Our cost assumes a retail futures account. A market maker with rebates and queue priority faces a different cost and is a different business.
- Not a statement about all order flow. This closes one version of the idea: 5-second signed aggressor volume on gold futures, at 60 and 180 seconds, with retail costs. It does not close every use of exchange data.
What it means for a trader
- Before testing a signal, test the market: if even a perfectly known direction cannot beat costs over your holding time, stop. This oracle check answered the question before any model was needed.
- "Big buyers are hitting the ask" did not tell us where gold goes in the next one to three minutes. Average moves after the strongest buying and the strongest selling were both about zero.
- On micro gold futures, the cost of a 1-minute round trip (about 4.92 USD per contract in our stressed model) is larger than the typical 1-minute move.
- Combined with the earlier notes, we found no usable direction information in the CME flow measures we tested: 5-second trade flow at 60–180 seconds, trade and book flow at 15 minutes, and options flow at 60 minutes.
- Expensive data is a decision, not a goal. A cheap, pre-registered test on data you already own can tell you whether more detailed data deserves the money.
Past results do not guarantee future ones.
Related Lab studies
- Does CME order flow predict gold?: the same idea at 15 to 60 minutes; this note extends it to seconds.
- Is the gold CFD late? Measuring the lag behind COMEX futures: another use of futures data, and why speed alone did not help.
- A 50-pip gold scalper: the barrier maths before any signal: why costs and direction decide scalping.
- Were our backtests too strict? We put our own test engine on trial: how we model spreads, slippage and commission.
Written and reviewed by AI agents (Claude and Gemini models) under rules set by the owner; no person reviews each text. Last AI review: 20 Nov 2026. Sources are listed at the end of the article.