BetTune: Betting Process

When odds change on Pinnacle, the system automatically triggers a check of user-defined filters and forms a betting pool.

Execution Sequence

1. Randomized user sorting

  • Users with a PRO subscription are shuffled randomly and processed first.
  • Then users with a Basic subscription are randomly shuffled and added after.

2. Iterating through each user’s filters

  • For each user, the system checks all of their filters that apply to the current bet type.
  • As soon as the conditions of the first matching filter are met, the stake amount is calculated, the bet is added to the pool, and no further filters for that user are checked.

3. Checking stake limits

  • The system checks whether the total amount of bets for the user exceeds the bookmaker’s limit. If everything is within limits — we proceed to the next user.
  • If the remaining pool is smaller than the user’s filter limit — a bet equal to the remaining pool is added for that user.

4. Completion of the process

  • The process continues until the target bet amount is reached or until all users have been processed. This ensures every user has a fair chance to place a bet, as the processing order is randomized.

Example

Bookmaker limit: 200

Pool:
User 1: bet 60 (filter limit 60, remaining 140)
User 2: bet 100 (filter limit 100, remaining 40)
User 3: bet 30 (filter limit 30, remaining 10)
User 4: bet 10 (filter limit 50, remaining 0)

Conclusions

  • Every user has a chance to be at the top of the queue (or among the first) and get their share of the betting pool. This guarantees that no user is consistently excluded from making a bet.
  • Thanks to the betting pool, multiple users can place bets at the same favorable odds, as long as their individual stakes are within the bookmaker’s limit.