OpenHedgeDocs
Menu

Part VII · Risk Management

Section 076

Data Freshness Gates

Entries need recent data; stale signals and prices can only lead to exits, never to new risk.

yesyesyesyesLeader fillAge ≤ 3,000 ms?Market dataAge ≤ 120 s?Account stateReconciledsnapshot?ClockIn sync withvenue?Entry allowedOtherwise skippedSkippedReason and age recorded
Figure 76Freshness gates on the entry path.

Copy-trading on old information is a reliable way to lose money: the price has moved and the leader may already be out. The executor therefore checks the age of every input before it allows an entry.

Freshness gates:

  • Signal age. A leader fill older than the model's latency budget of 3,000 ms can update the leader's position and trigger exits, but cannot trigger an entry.
  • Market data age. Prices and book data used for an entry must be at most 120 seconds old. Prices for order placement are read from the best bid and offer feed, which updates on every change.
  • Account state. The book's last reconciled snapshot must be recent; an unreconciled state switches the book to reduce-only.
  • Clock check. The executor compares its clock with venue timestamps; if the local clock is behind, time-sensitive actions wait and an alert is raised.

When a gate fails, the entry is recorded as skipped with the input that failed and its age. Skipped entries are visible in the decision trail, so the difference between a leader's result and the book's result can be explained entry by entry.

© 2026 HedgeFund DAO · OpenHedgeNot investment advice. Trading leveraged perpetuals can lose all deposited funds.