parlayapi_find_middles
Find cross-book middle opportunities in totals, spreads, and player props, locating windows where Over and Under bets both win and their profit outcomes.
Instructions
Find cross-book middle opportunities.
A middle takes the Over at a low line on one book and the Under at a higher line on another, so a window of whole numbers cashes BOTH bets (e.g. Over 7.5 at one book, Under 9.5 at another means 8 or 9 wins both). Scans game totals, spreads, AND player-total props (points, rebounds, strikeouts, ...). Each result carries the window, the numbers that hit, and per-$100 economics: profit_if_hit and net_if_above/below_window.
Args: sport_key: e.g. "baseball_mlb", "basketball_nba". min_gap: Minimum window width in points/runs/goals. Default 1.0. markets: Comma-separated market_keys to limit the scan (optional), e.g. "totals" or "player_points". include_props: Include player-total props alongside game lines. Default True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markets | No | ||
| min_gap | No | ||
| sport_key | Yes | ||
| include_props | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||