No-vig fair odds
fair_oddsCalculate no-vig fair odds for two- or three-way markets by removing bookmaker margin from decimal prices and averaging implied chances across bookmakers.
Instructions
Work out the no-vig (margin-free) fair price for a two- or three-way market. Method: for each bookmaker that prices every outcome at the same line, convert prices to implied chances (1 / decimal price), divide by their total so they add to 100% (the proportional method), then average those chances across bookmakers and convert back (1 / chance). Also reports each bookmaker's margin and the combined margin of the best prices. Use event_id and market for live prices, or pass prices to calculate by hand with no API call. The result estimates the chance; it is not a prediction or a tip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | Line to use: the home team's handicap for a line market, the total for a total market | |
| market | No | h2h, h2h_3way, line or total | |
| prices | No | Calculate by hand from these decimal prices instead of calling the API | |
| event_id | No | Event ID from find_event (with market) |