Understand why market status must be modelled separately from the displayed price. This guide focuses on implementation decisions that can be checked during provider evaluation, development and production operations.
Price is not the whole market
An odds value without its market status can be misleading. A market may be open, suspended, closed, settled or temporarily unavailable. Your interface and trading workflow should use status as a first-class field.
Model market lifecycle
Represent market identity, selection identity, price, status, source timestamp and settlement information independently. Do not infer that a market is open simply because a previous price remains in cache.
Process suspension immediately
When a market is suspended, stop presenting it as available for action according to your product rules. Keep the last price for diagnostics if useful, but clearly distinguish it from a current actionable price.
Reopen and settlement
A reopened market should be treated as a new valid state update. A settled market should not silently return to open because an old message arrived late. Apply ordering and lifecycle rules before updating the current record.
Test edge cases
Test rapid suspend/reopen cycles, abandoned events, void outcomes, delayed settlements and corrected results. Keep an audit trail that can explain which source update caused each state transition.
Implementation checklist
- Confirm the exact sports, competitions, fields and permitted use in writing.
- Keep provider identifiers, timestamps and source provenance in your data model.
- Test normal updates as well as corrections, delays, suspensions and recovery.
- Monitor freshness and data quality after launch, not just HTTP availability.
Next step: Discuss your sports data requirements or review the Sports Data API overview.