Simple staking plan for lay bets
Here's the simplest staking plan which can be used as a base for many other plans.
It's key-note is adding the loss from the previous bet to the next bet's size. It proceeds this way until the stake has reached the specified maximum value, after which the bet is fixed. Once all loss is recouped, the bet is reset to the initial size.
In this example it doesn't matter what selection you bet against and on what conditions. In the file below a trigger lays on the favourite if its price is higher than 2.0. But you can replace this trigger with your own or change the conditions.
There are constants in the file whose values you can change to adjust the plan. It is not recommended to change or delete other constants.
- max_bet - The maximum size after which the bet is reset to the initial value.
- init_bet - The initial size of a bet.
Here's an example of bets placed by the triggers.