Historical Futures Data Documentation: Files and API.

Match the file to the decision you are testing. Dated trades, adjusted continuous histories and OHLCV bars answer different questions.

Match the file to the research question

FileContentsBest suited to
Per-contract ticksUnadjusted trades from one expiry, identified by a symbol columnFill research, dated-contract P&L and custom aggregation
Continuous ticksDated segments joined with both raw and adjusted pricesLonger signal windows and roll-aware indicators
OHLCV barsAnnual aggregates of adjusted continuous ticksCompleted-bar signals that do not depend on intrabar order
Roll ledgerContract pairs, switch times, reference prices and offsetsAuditing the dated contract behind each continuous row

Need unadjusted one-minute bars for MNQU26 or MNQZ26? Build them from that contract's tick file. Published OHLCV bars use continuous histories instead.

Compare ticks and bars, or see how continuous rolls work.

Open a sample before writing the pipeline

The latest monthly 10-second files need no account. Inspect one before building research code around fields it does not contain:

Shellcurl
curl -LO "https://historicalfuturesdata.com/samples/MES/10s/cme.mes.bars.10s.2026-12.parquet"
Pythonpandas + pyarrow
import pandas as pd

df = pd.read_parquet("cme.mes.bars.10s.2026-12.parquet")
print(df.head())
print(df.dtypes)

assert df["ts"].is_monotonic_increasing
assert not df["ts"].duplicated().any()
assert (df["high"] >= df[["open", "close"]].max(axis=1)).all()
assert (df["low"] <= df[["open", "close"]].min(axis=1)).all()

Timestamps in ts are timezone-aware UTC. The Parquet guide covers annual files, DuckDB queries and lazy Polars scans.

Download the ES & NQ tick sample pack

File layout and download access

The MNQ directory layout is representative:

Release layout

MNQ/
  contracts/cme.mnq.tick.MNQZ6.parquet
  continuous/cme.mnq.tick.continuous.2026.parquet
  bars/1m/cme.mnq.bars.1m.2026.parquet
  rolls/MNQ_rolls.json

How monthly extracts work

A monthly bar filename includes the year and month, as in cme.mnq.bars.1m.2026-11.parquet. It contains one UTC month taken from the annual file, using the same series. The current-year annual file contains the year published so far.

Other instruments repeat this pattern with their own namespace and root. Take the exact URL from the instrument page or inventory. Some older instruments use two-digit contract years to prevent filename collisions.

Account or planIncluded files
No accountLatest monthly 10-second samples and selected tick samples; three 10-second months for MNQ
Free accountFor CME and COMEX instruments: latest-month bars in all eight timeframes and full daily history; three monthly samples for MNQ
Standard · 59 USDComplete history for instruments listed on CME
Everything · 129 USDComplete history for all published instruments

Within a paid plan's scope, history includes dated ticks, continuous ticks, annual bars and roll ledgers. Downloads unlock when payment confirms.

Check the generation before mixing downloads

bars/bars_manifest.json ties the bars to a continuous schema, the roll ledger's as_of_utc and a source row count. The release's validation.json identifies the generation and stores SHA-256 hashes for the ledger, manifest, continuous files and annual bars. Compare those values before combining separately downloaded files.

Tick fields, row by row

A per-contract row can represent several trades. Read trade_count instead of assuming one row means one execution.

Fields in a per-contract tick file
FieldParquet typeDefinition
tstimestamp[ns, UTC]Source record's feed-receipt timestamp
pricefloat64Traded price without adjustment
volumeuint32Number of contracts traded in the record
bid_szuint32Volume executed at the bid; not resting depth
ask_szuint32Volume executed at the ask; not resting depth
trade_countuint32Number of trades the record represents
symbolstringContract code assigned by the exchange
exchangestringExchange where the contract is listed

Rows arrive chronologically, with source order retained for equal timestamps. Nanosecond storage describes the dtype; it does not independently verify exchange latency.

What continuous ticks add

All eight fields remain in continuous files. Two more preserve the roll: price_raw holds the original contract price, while back_adjustment holds the accumulated additive offset. Their sum is the adjusted research price: price = price_raw + back_adjustment.

The roll ledger explains every splice

When the next contract takes over

The builder compares shared, completed Chicago trading sessions within the instrument's roll window. For MES and MNQ, that window is 30 calendar days ending on the outgoing contract's third-Friday expiry. An early end to trading substitutes the observed final session. Other instruments can have different window lengths and reference-age limits.

The builder selects the first completed session in the roll window with positive outgoing volume, strictly greater incoming volume, and sufficiently fresh common-time reference prices. Equal volumes do not qualify.

Which prints set the adjustment

Take the earlier last-trade timestamp from the two contracts in the decision session. That is the common cutoff. Each contract contributes its last trade at or before it, subject to the instrument's freshness limit: 60 seconds for MES and MNQ, for example, and 900 seconds for BTC. These prints are observed trades, not official settlements.

Applying the offset and changing segments

Each roll records difference = new_reference.price - old_reference.price. The newest selected contract has zero adjustment. Offsets accumulate backward so that price = price_raw + back_adjustment, without tick-size rounding.

Segments switch at 17:00 America/Chicago on the decision date. A Friday or Saturday decision switches on Sunday at 17:00. Outgoing rows satisfy ts < switch_utc; incoming rows satisfy ts >= switch_utc. Chicago DST rules determine the corresponding UTC timestamp.

The builder does not invent fallback dates or prices when references are missing or an expired roll remains unresolved. Audit the outcome with the ledger's from_contract, to_contract, switch_utc and difference fields.

Bar fields and session boundaries

Fields in an OHLCV bar file
FieldParquet typeDefinition
tstimestamp[ns, UTC]Opening instant of the bar
openfloat64First eligible adjusted price in the interval
highfloat64Highest eligible adjusted price in the interval
lowfloat64Lowest eligible adjusted price in the interval
closefloat64Last eligible adjusted price in the interval
volumeuint32Total contracts traded in the interval
trade_countuint32Total trade_count across the input records

UTC epoch boundaries determine intraday buckets, whose labels show the opening time. A one-minute bar stamped 14:30 covers [14:30, 14:31). Daily bars instead follow Chicago sessions opening at 17:00 local time, including DST changes.

Price records with zero volume are excluded. A bucket with no remaining eligible trades has no row; the builder never fills it with a carried-forward price.

HTTP routes for discovery and download

RouteResponse
GET /api/inventoryCurrent instruments, coverage and exact download URLs
GET /api/healthCoverage and health for published datasets
GET /files/Directory view of the dataset
GET /<SYMBOL>/...Access-controlled Parquet and JSON files
GET /healthzLiveness of the web process, without dataset health
POST /mcpMCP tools for paid accounts

Take download URLs from the inventory rather than constructing filenames. The inventory lists files; it cannot query their rows. Downloads accept one byte-range request per call.

Connect an MCP client

Generate a read-only API key in your account and point the client at https://historicalfuturesdata.com/mcp. The same paid entitlement governs MCP and the underlying downloads. The server speaks Streamable HTTP using protocol version 2025-06-18 and returns JSON; SSE is unnecessary.

{
  "mcpServers": {
    "historical-futures-data": {
      "url": "https://historicalfuturesdata.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
ToolWhat it does
list_instrumentsShow instruments available under your plan
get_dataset_infoReturn schemas, coverage, downloads and roll rules
query_barsReturn annual bars in ascending UTC order, including start and excluding end
run_sma_backtestTest a one-contract long/flat SMA rule with fees and slippage

Completed closes drive the SMA signals. Entries use the next observed bar's open, and any position left at the end liquidates at the last close. The calculation uses adjusted continuous bars, so its P&L is a point-based research result, not a raw dated-contract execution ledger with explicit roll fills. The tool never sends an order. The MCP guide includes request and response examples.