Skip to Content
PredictorSDK

Matching keeps late, postponed and settled games whole

Fixes to how GET /v1/matching-markets/sports dates games and archives settled ones, and line-specific ProphetX prop IDs.

Fix

A review of GET /v1/matching-markets/sports against every venue's own data found no wrong mappings in current games, but four ways games were dated or archived wrongly. All four are fixed.

  • Late games no longer drop out at midnight Eastern. An event whose venues published only a date, or whose start was 8 PM EDT (00:00 UTC), was read as starting the previous evening. Its one-day grace then ran out at midnight while the game was still being played, so a 10 PM ET tip-off left the default list and lookups mid-game. Every venue's exact start is now used, and an event is never dropped before the date its event_id ends in plus one day.
  • Postponed games stay one event. Polymarket and Predict keep a game's original date in its slug, so a rained-out game split into two events, one per date. Both venues are now dated by their structured start time in every league, as NFL already was.
  • Settled games keep every venue. Venues settle and delist a game one at a time, so with include_settled=true an archived game kept only the last two venues that still listed it, and a game whose lines closed while its player props stayed listed could vanish. For a game that has started, include_settled=true now returns the fullest mapping it had, from before its first venue settled. Archive entries from before the September 30 period-line fix, which filed Polymarket's quarter moneylines as the full game, are removed.
  • ProphetX player props name their line. A ProphetX market ID resolves to whichever line ProphetX currently favours, and that moves before kickoff, so a matched prop's market_id could price a different line on market detail. Matched props now use <event_id>:<market_id>:<line>, which GET /v1/markets/{market_id} resolves to that line; a line ProphetX no longer lists answers 404.