Skip to Content
PredictorSDK

ProphetX's alternate lines are matched

GET /v1/matching-markets/sports now matches every half-point line ProphetX lists for a game's spread and total and for an NFL player prop, not only the line it features, so ProphetX appears beside the other venues on its alternate lines.

Fix

ProphetX lists each full-game spread and total, and each over/under player prop, as a ladder of lines: on November 2, 33 lines for every NBA and NFL spread and total, half points and whole numbers, up to 16 for an NHL puck line or total, and a median of 11 for an NFL player prop. Matching used to take only the one line ProphetX features, so ProphetX was missing from the other lines of a game even where it listed the same line as other venues. Every half-point line of a ladder is now matched as its own ProphetX source market, under the id that names that line, <event_id>:<market_id>:<line>, which GET /v1/markets/prophetx:{id} already resolves whichever line ProphetX features. On that day's games this put ProphetX on 869 more spread and total lines and 312 more NFL player props that other venues list. It also covers markets whose featured line is a whole number, where ProphetX contributed nothing before. For a spread, the line in the id is the home team's handicap, so it can be positive; the canonical subject is always the team giving the points. ProphetX's player props appear under player_prop_match=same_prop, as before.

Whole-number lines stay unmatched: a game can land on them, and no venue's whole-number line is matched. GET /v1/markets keeps one row per ProphetX market, prophetx:<event_id>:<market_id>. That is now also true of the NFL player props ProphetX matches, which the catalog listed under their featured line's id (prophetx:<event_id>:<market_id>:<line>), an id that changed whenever the featured line moved; both forms still resolve on GET /v1/markets/{market_id}. No field or route changed.