Outcome
Classify one bounded data window as complete, stale, partial, interrupted, skipped, or failed, with a recorded reason and next action.Prerequisites
- Choose one venue family, symbol, data family, and bounded window.
- Define what the downstream job does when a quality check fails.
- Set a finite retry and recovery budget.
- Prepare an output record that can hold quality responses and request IDs.
Inputs
Steps
1
Check the service
2
Check the selected window
3
Assign one state
Mark the output complete only when the requested data and quality checks meet the job policy. Otherwise mark stale, partial, interrupted, skipped, or failed with a reason.
4
Apply the state
Continue, narrow, delay, retry, rebuild, or stop according to the recorded state. Never hide a quality failure by changing the label to complete.
Expected state
The output has a quality state, the exact family and window, the quality responses, the data request metadata, and the client action. A missing window is not converted into synthetic records.Verification
Use coverage for the selected market and window, freshness for the selected data family, and incidents for interruptions. A service-level status is a useful preflight but does not decide whether a particular symbol and schema window is usable. Keep the quality request identifier when the route or client exposes one.Failure and recovery
For local order-book state, discard unsafe state and resync from a checkpoint before applying more ordered diffs. For REST history, rerun only the smallest window that contains the issue.