Appendix: concepts
Freshness and timestamps
Learn which timestamp tells you how old a quote is, so that you can set your own maximum age for price data.
A quote carries several timestamps, and each one answers a different question. To judge the age of a quote, use fresh_at. All API timestamps use RFC 3339 in UTC.
What each timestamp means
| Field | Meaning |
|---|---|
changed_at | The last change of the price or quantity. |
observed_at | An individual observation, when one is available. |
delisted_at | The time the quote was delisted. |
fresh_at | The latest confirmation. It combines the change time, the individual observation, and the completed collection round. |
fresh_at can advance even if the amount stays unchanged. An old changed_at therefore does not mean that collection stopped.
Set your own maximum age
Choose a maximum age that suits your application, and compare it with fresh_at. Keep these limits in mind:
- Collection intervals vary by source, and failures can delay data.
- The API does not remove every old quote automatically.
- For CSCP,
fresh_atis the computation time andvaluation_dateis the valuation date. Neither makes the underlying daily inputs live prices.
Snapshot age in exports
Exports add the age of the snapshot. Check generated_at as well as the fresh_at of each quote. See export prices.
If data looks old or is missing, read missing or stale data.