Trade event time versus receive time
An exchange timestamp describes a documented event, such as when a trade happened. Local receive time describes when the client could first consume it. Store both. Include a monotonic receive offset or sequence for a faithful replay when the system clock changes.
Inspect two merged observations
| Trade ID | Venue event UTC | Client receive UTC |
|---|---|---|
| 101 | 12:00:00.120 | 12:00:00.205 |
| 102 | 12:00:00.140 | 12:00:00.172 |
This synthetic example can arise when observations from separate sources are merged. Trade 101 precedes 102 in market time and arrives later at the consumer. A historical candle groups by the venue event time. A latency-aware simulation exposes trade 101 to the strategy at 12:00:00.205.
For each channel, record the timestamp’s meaning, precision and source. Equal timestamps need a documented tie-breaker or an explicit tie policy. Trade identifiers can help when available and valid for the comparison. Kraken trade channel fields
When late information revises a recorded candle, store the revision’s own availability time. This preserves what was known before and after the update. Measure feed delay and coverage.