Gold Futures Historical Data: GC vs. MGC for Backtesting

Compare GC and MGC through their actual 2025 files: tick values, 12 GC rolls, six MGC rolls, and PyArrow checks you can run yourself.

Published 5 min read

One tick is 10 USD in GC and 1 USD in MGC

Both are COMEX gold futures, but GC represents 100 troy ounces while MGC represents 10. They share a 0.10 minimum price increment. That makes a tick worth 10 USD in GC and 1 USD in MGC, a tenfold difference you need to settle before comparing backtest results.

MGC’s smaller cash exposure does not make its history a scaled copy of GC. Trades arrive at different times, volume is not interchangeable, and the active-contract sequences diverge. Choose which root the simulated account would trade, then carry that choice through the data, execution and P&L.

PropertyGCMGC
Contract size100 troy ounces10 troy ounces
Minimum tick value10 USD1 USD
2025 one-minute rows209,832339,461
File size3,684,127 bytes5,984,016 bytes
First 2025 bar2025-01-01 23:00 UTC
Last 2025 bar2025-12-31 21:59 UTC

The files are cme.gc.bars.1m.2025.parquet and cme.mgc.bars.1m.2025.parquet. Each summarizes adjusted continuous ticks in left-labeled, left-closed UTC minute buckets. Empty minutes are absent rather than filled with invented prices.

More bars do not mean more liquidity

MGC has 339,461 rows in this release; GC has 209,832. The larger contract has fewer nonempty buckets. That can happen when the two markets have different trade patterns, and it is not a liquidity ranking. A row only says that eligible observations existed during that minute.

For an execution question, look at volume, trade count, spread assumptions and the particular dated contract. Row count describes file coverage. Also remember that the tick files classify executed volume at bid and ask; they do not contain resting best-bid/best-ask prices or full depth.

Dollar risk starts with the multiplier, not with a percentage move viewed in isolation:

# side is 1 for long and -1 for short.
gross_pnl = side * (exit_raw - entry_raw) * multiplier * contracts
multiplier = 100 if root == "GC" else 10  # USD per price unit

A 1.00 move is 100 USD per GC contract and 10 USD per MGC contract before costs. Use raw dated-contract entry and exit prices, then deduct commissions and slippage. A continuous adjustment never lands in an account as cash P&L.

GC rolled 12 times; MGC rolled six

Those counts come from the reviewed 2025 ledgers. The first and last transitions below show why a shared roll calendar would quietly put the wrong contract behind parts of a backtest.

RootSwitch UTCOutgoingIncomingReference difference
GC2025-02-04 23:00GCG25GCH25+9.20
GC2025-12-29 23:00GCF26GCG26+16.60
MGC2025-01-30 23:00MGCG25MGCJ25+22.00
MGC2025-12-01 23:00MGCZ25MGCG26+34.00

Reference difference means incoming reference trade price minus outgoing reference trade price. It feeds the additive back adjustment; it is not a return from holding a continuous symbol. The switch follows observed session-volume crossover evidence, rather than a fixed expiry date copied from a calendar.

Keep the GC roll records and MGC roll records separate. Similar-looking gold charts are not a reason to attach MGC’s ledger to GC bars and hope the contract identities work out.

One validation script, two expected row counts

This script checks schema, exact release counts, timestamp ordering, annual boundaries and OHLC identities. It expects the roots to differ, so a valid MGC file will never be forced into GC’s row count.

import numpy as np
import pyarrow.compute as pc
import pyarrow.parquet as pq

expected_rows = {"GC": 209_832, "MGC": 339_461}
for root, count in expected_rows.items():
    path = f"cme.{root.lower()}.bars.1m.2025.parquet"
    bars = pq.read_table(path)
    assert bars.column_names == [
        "ts", "open", "high", "low", "close", "volume", "trade_count"]
    assert bars.num_rows == count
    assert all(bars[name].null_count == 0 for name in bars.column_names)

    ts = bars["ts"].to_numpy(zero_copy_only=False)
    assert np.all(ts[1:] > ts[:-1])
    assert set(pc.strftime(bars["ts"], format="%Y").to_pylist()) == {"2025"}
    assert pc.all(pc.greater_equal(bars["volume"], 0)).as_py()

    high = pc.max_element_wise(bars["open"], bars["close"], bars["low"])
    low = pc.min_element_wise(bars["open"], bars["close"], bars["high"])
    assert pc.all(pc.greater_equal(bars["high"], high)).as_py()
    assert pc.all(pc.less_equal(bars["low"], low)).as_py()
    print(root, bars.num_rows, pc.sum(bars["volume"]).as_py())

The high and low expressions compare each row with its own prices, avoiding an arbitrary “gold should cost this much” rule. If a check fails, save the failing rows and identify the release before editing data. These assertions catch structural trouble; closures and contract activity still need separate inspection.

Start with two sessions, not several years

Pick the same UTC interval for GC and MGC, and decide whether the study calls for continuous or dated data. Matching timestamps do not guarantee matching source contracts. Nor is an adjusted price difference between the two roots an arbitrage signal.

Execution research needs the dated files named in each roll ledger, with symbol retained. Signal research can use continuous bars alongside the ledger and an explicit rule for empty intervals. Carrying the last price through a closed market creates an observation nobody could have traded.

Try one volatile session and one quiet session first. Check bar alignment, volume totals and the active contract in both, then rebuild a higher timeframe from the one-minute bars. That small rehearsal exposes alignment mistakes before a multi-year run buries them. The continuous-futures workflow covers the handoff from signals to contract-specific P&L.

Gold requires Everything, not Standard

The GC download page and MGC download page list current monthly samples and full annual inventories. Latest-month 10-second samples need no account. The other monthly bar timeframes require a free verified account, while annual non-daily bars and tick files are paid.

GC and MGC are COMEX instruments, outside Standard’s CME-only scope. Gold history requires the Everything plan for 129 USD one-time. That plan covers every published exchange and instrument; there is no separate purchase for each metal.

The SI silver historical data workflow applies the same checks to a different contract structure. Whichever root you test, keep the original Parquet inputs, roll ledger and validation code together. A later release should never be able to change the experiment’s inputs without leaving a trace.