Skip to content

Commit f66a2b2

Browse files
Mlaz-codeclaude
andcommitted
Update EV docs to use fair_probability instead of true_probability
Matches the sharp-api rename from implied_probability to fair_probability. Updated example JSON, field reference table, and Python SDK example. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d0b69a8 commit f66a2b2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

content/api-reference/opportunities-ev.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GET /api/v1/opportunities/ev
99
```
1010

1111
<Callout type="info">
12-
This endpoint replaces the former `/positive-ev` and `/value-bets` endpoints. All scoring fields (`confidence_score`, `kelly_fraction`, `true_probability`) are now included in every response.
12+
This endpoint replaces the former `/positive-ev` and `/value-bets` endpoints. All scoring fields (`confidence_score`, `kelly_fraction`, `fair_probability`) are now included in every response.
1313
</Callout>
1414

1515
## Authentication
@@ -101,7 +101,7 @@ for opp in data['data']:
101101
"odds_american": -105,
102102
"odds_decimal": 1.952,
103103
"no_vig_odds": -118,
104-
"true_probability": 0.541,
104+
"fair_probability": 0.541,
105105
"market_width": 3.2,
106106
"devig_method": "power",
107107
"devig_book": "pinnacle",
@@ -231,7 +231,7 @@ X-Request-Id: req_abc123def456
231231
| `odds_american` | number | Current American odds at the sportsbook |
232232
| `odds_decimal` | number | Decimal odds (e.g., `1.952`) |
233233
| `no_vig_odds` | number\|null | Fair (no-vig) American odds derived from the sharp line |
234-
| `true_probability` | number\|null | Fair probability (0.0 to 1.0) |
234+
| `fair_probability` | number\|null | No-vig (devigged) fair probability (0.0 to 1.0) |
235235
| `market_width` | number\|null | Width of the market (vig indicator) |
236236
| `devig_method` | string | De-vig method used (e.g., `power`) |
237237
| `devig_book` | string | Sharp book used as reference (e.g., `pinnacle`) |

content/sdks/python.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ evs = client.ev.get(
7777

7878
for opp in evs.data:
7979
print(f"+{opp.ev_percent:.1f}% on {opp.selection} @ {opp.sportsbook}")
80-
print(f" Fair probability: {opp.true_probability}")
80+
print(f" Fair probability: {opp.fair_probability}")
8181
print(f" Devig: {opp.devig_method} via {opp.devig_book}")
8282
print(f" Kelly: {opp.kelly_fraction:.1%}")
8383
print(f" Confidence: {opp.confidence_score}/100")

0 commit comments

Comments
 (0)