calculate_sgp
Compute Same Game Parlay probability by combining multiple selections from a single event. Requires league, event ID, and selection IDs from odds data.
Instructions
Calculate Same Game Parlay (SGP) probabilities for an event.
Combines multiple selections from the same event into a parlay. Use get_odds or get_all_markets first to get selection mapping IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league | Yes | League code. | |
| event_id | Yes | The event ID (e.g. 'f1:bc8a2ac2-0111-4b99-b402-08a19a731eda'). | |
| selections | Yes | List of ASD selection UUIDs (mapping IDs from odds responses). | |
| fixture_id | No | Optional fixture ID for the SGP. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |