Skip to content

Public documentation

Product version
2.0.1
Docs revision
r0
State
Current · released
Deployment
not-deployed
Source
v2.0.1 · 07cbe86e8447

Documented release is not yet live

Market Data

Market Data freshness and update cadence

v2.0.107cbe86

A market value is only useful when you know what moment it describes. This page states how old Market Data values are and why, layer by layer, so that you and your agent can judge each one correctly. The platform-wide rules for freshness and evidence are in Freshness and evidence.

The beta delay, layer by layer

Market Data is tick-level. During the beta, that data reaches you with a delay, and the delay is not a single number, because it comes from separate layers that each add their own part.

Tick data arrives from the data provider about ten minutes after the trade. This is a property of the provider's entitlement during the beta. Mercury then stores the ticks, and the storage layer makes them available to calculations about ten minutes after they arrive. This second delay is a design property of the storage layer, which commits large batches of ticks at once; it is not a beta limitation. The analytics described below are then recalculated on their own cycles, which add their own interval on top.

Mercury keeps the provider delay separate from its own processing time and never folds one into the other. The provider delay is stated in this guide rather than in each result: the canonical tools report the age of the data they return, as described below, but none of them carries a separate provider-delay field. Short-term interest rate futures follow their own source path and have their own delay. Futures options are based on the previous business day's settlement, so their freshness is measured in business days rather than minutes.

Update cadence by dataset

DatasetHow often it updates
Prices, returns, range positions and session stateEvery 5 minutes
Realized volatility, Garman-Klass volatility and average daily rangeEvery 5 minutes
Volatility regimeEvery 5 minutes; the regime is scored on the last completed UTC day, so the model is refitted once a day, when that day completes
Cross-asset macro regimeEvery 5 minutes, with the last 24 hours of readings available
Correlations, betas and the correlation regimeAbout every 75 to 85 minutes: each cycle takes 15 to 25 minutes, and the next one starts an hour after it ends. The regime model is refitted on each cycle that brings new bars
Market Profile and levelsAs each 5-minute bar completes; a session's profile is published once its phase closes
Treasury curve spreadsEvery 5 minutes
Short-term interest rate spreadsEvery 5 minutes
Intraday bars (1-minute, 5-minute, 15-minute, 30-minute, 1-hour, 4-hour)Continuously, as bars complete
Daily barsOnce a day, at 22:15 UTC, after the US close
Futures optionsPaused while the source moves to CME settlement files; returned data is historical and flagged stale. Once resumed, each update reflects the previous business day's settlement

These cadences are the rhythm at which a request can return something new. A monitoring loop that asks for prices or volatility every five to ten minutes matches them; asking for correlations more often than once an hour returns the same values. The Workflows guide builds its loop around this table.

How a result states its age

Rather than relying on the table above, read the time that comes with each result. Canonical results carry an as-of time and its age in seconds when the result was produced. For most datasets this is the time of the data the result contains. Two datasets differ. Volatility results carry the time of the source observation (freshness.basis is source_time) when the stored row records it. When a row records no source time, the result falls back to the write time (freshness.basis is write_time) and says so with the warning source_observation_freshness_unavailable. Correlation results carry the time of the last source bar the model consumed. When that time is unavailable, they fall back to the write time and say so with the warning correlation_freshness_write_time_fallback. Correlations are marked stale two hours after their source bar. Market snapshots carry the time of the last trade price they are based on and say explicitly when that price is stale. Futures options carry the settlement date they describe. Session profiles carry the trade date and the session phase they belong to.

When a value is older than expected for its dataset, the result says so with a typed warning, and when a value is missing it stays empty rather than being estimated. A market row that cannot form a return or a range position states why beside the empty value, and the reasons are a closed set: no_reference_session (the source row carries no reference close for that lookback), reference_price_zero (the stored reference close is zero, so no ratio can be formed), insufficient_history (the daily window holds fewer completed sessions than the labelled window, or a session in it without a complete high and low) and not_computed (a reference exists and the value is still absent). The reason field is absent when the value is present. A previous-session value is taken only from the completed session it refers to; if that session is not available, the value is empty with a warning instead of being filled from another day.

check_market_data_health reports whether the service is reachable and whether its database connection is available. It is operational evidence, not market information, and it does not state how old any dataset is: read the as-of time on the result itself for that.