Laying an underdog that pulled ahead at In-Play
The idea is to lay a horse which initially had low chances to win as soon as it pulls ahead after the start of the race (this also applies to any other type of sport where markets go In-Play). What you expect is that horse to lose anyway, but the temporary drop of its price will let you lay with a minimum laibility.
For the implementation of this plan, you pick the rank of the horse (its position in the list of horses sorted by their prices) which you think indicates its bad chances for winning. For example, the rank must not be less than 10 before the off (the rank of 1 belongs to the favourite). You also define the rank that the horse must drop to in order to qualify as pulling ahead, let's say, no higher than 3. As an additional condition, you may specify the price range for the lay bet.
All these factors can be adjusted in the constants inside the file.
Here are some settings you can adjust in the trigger file:
|idle_rank||The rank of the horse before the off|
|inplay_rank||The rank of the horse at In-Play|
|range_min||Minimum value of the price range at In-Play|
|range_max||Maximum value of the price range at In-Play|
|bet_size||Size of bet|
Triggers in Action
The runner Hereford Boy gained speed for just a short period of time which gave the trigger an opportunity to lay at 5.0: