settle_each_way
Settle each-way bets by calculating payout for win and place parts, with total stake as twice the base stake, using decimal odds and place fraction.
Instructions
Settle an each-way bet (win + place parts); total staked is 2x stakeCents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| stakeCents | Yes | ||
| decimalOdds | Yes | Decimal odds, e.g. 2.5 | |
| placeFraction | Yes | Place terms, e.g. 0.25 for 1/4 odds |