Bot Executor: Be the First in Queue Bot
The Be the First in Queue bot tries to place your bet to be always first in queue, what means the bot operates only when there is a gap between offered odds on the back and lay side.
For instance if the best offered odds to back is 1.6 and the bets offered odds to lay is 1.65 when backing you can place at better odds 1.64 to be first in queue. If someone would offer back at 1.63 the bot would skip the 1.63 and place the back bet on 1.62 again to be the first in queue. If the 1.63 odds is cancelled and the second best offer is then 1.7 and at 1.62 is only our offer the bot moves its offer to 1.69 of course if the bet placing criteria are still met.
The parameters you can use are following:
- BetType
- Stake
- StakeIsMyLiability
- StakeIsPercentageOfAvailableBalance
- MaxOddsDifferenceToChase
- MinimalOdds
- MaximalOdds
- UseAnyTradingOpportunity
- MarketMaker
- MinimalStake
- PlaceBetOnRunner
You can either define the odds range by the MinimalOdds, MaximalOdds parameters, or set the parameter UseAnyTradingOpportunity to true, so the bot will always try to place a bet to be the first in queue.
As it was said the bot operates on a market only when there is a gap between offered odds, if there is no offer on one or other side no bet is placed. In such cases if you set the parameter MarketMaker to true, the bot will place a bet on the odds defined by MinimalOdds for a lay bet or MaximalOdds if you want to place a back bet.
Setting the parameter MaxOddsDifferenceToChase will instruct the bot not to update the bet if odds changes more then preset number of ticks, 0 value will switch off this feature.
You can also set the MinimalStake which the bot will not try to skip if offered before its own stake, again the 0 value will switch off this feature.
Case studies
I want a bot to try get matched back bet at better odds with 100 stake, my accepted odds are from 1.8 to 2.5.
You need to set following parameters:
| Parameter | Value |
|---|---|
| BetType | Back |
| MinimalOdds | 1.8 |
| MaximalOdds | 2.5 |
| MaxOddsDifferenceToChase | 0 |
| PlaceBetOnRunner | 0 |
| Stake | 100 |
| StakeIsMyLiability | False |
| StakeIsPercentageOfAvailableBalance | False |
| MarketMaker | False |
| MinimalStake | 0 |
| UseAnyTradingOpportunity | False |
I want to lay in the odds range of 1.10 to 1.25 the stake of 100 Euro. If there is no offer on the market the bot should place my lay bet at 1.10. If there is any offer bigger then 50 Euro bot must skip this offer to be the first in queue if the offered lay is still in my accepted range.
You need to set following parameters:
| Parameter | Value |
|---|---|
| BetType | Lay |
| MinimalOdds | 1.10 |
| MaximalOdds | 1.25 |
| MaxOddsDifferenceToChase | 0 |
| PlaceBetOnRunner | 0 |
| Stake | 100 |
| StakeIsMyLiability | False |
| StakeIsPercentageOfAvailableBalance | False |
| MarketMaker | True |
| MinimalStake | 50 |
| UseAnyTradingOpportunity | False |