parlayapi_parlay_verdict
Evaluate a 2-12 leg parlay: should you bet it, and at which book? Get combined fair price, best book for the whole slip, EV, weakest leg, correlation warnings, and payout.
Instructions
Grade a multi-leg parlay: should you bet it, and at which book?
Give 2 to 12 legs (each shaped like a parlayapi_verdict bet) and get the combined no-vig fair price, the single best BOOK to place the whole slip at (a real parlay is one slip, not best-of-each), the parlay's EV, the weakest leg, same-game correlation warnings, and (with stake) the payout. Best-price is scoped to books the user can bet at (set once via parlayapi_set_bettable_books, or pass region/books here).
Args: legs: list of leg objects, e.g. [{"sport": "baseball_mlb", "home": "Detroit Tigers", "away": "Kansas City Royals", "market": "h2h", "side": "Detroit Tigers"}, {"sport": "baseball_mlb", "team": "Detroit Tigers", "market": "totals", "side": "over", "line": 8.5}] Each leg: sport, market (h2h/spreads/totals or a player-prop key), side (team, or over/under), home+away or team, player (for props), line. region: us (default) | eu | uk | au | ca. books: exact CSV of books you can bet at (overrides region). stake: optional stake amount, to compute the payout if it hits. book: optional, also report the parlay price at this specific book.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book | No | ||
| legs | Yes | ||
| books | No | ||
| kelly | No | ||
| stake | No | ||
| region | No | ||
| bankroll | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||