Data integrity
Data integrity is the set of mechanisms that check that stored data has not changed, that history has not been overwritten, and that a statement's figures agree with each other.
Mechanisms
| Mechanism | What it checks | Status |
|---|---|---|
| Storage check | Checks stored content by its hash and refuses damaged data. | Production |
| Append-only price observations | Keeps exchange corrections and withdrawals without deleting anything. | Production |
| Reconciliation | Checks that a statement's figures agree, with the unit and the difference: agrees, agrees_at_scale, differs, record_states_zero. | Production |
Reconciliation is served by GET /v1/intelligence/{symbol}/reconciliation. When conflicting statements share the same time, it returns the error ambiguous_capture_selection.