Keeping a bet at the best available price on the opposite side


These triggers will keep your bet at the best price available in the opposite side of the market. It is assumed that before the triggers set into action, you will place either a back or a lay bet on a selection of your choice, and that bet stays unmatched.

The triggers will then help match your bet at a price even better than the current offer. So if you place a back bet at the lay price, the triggers will keep cancelling and re-posting this bet if the prices change, so that it is always placed in the first position of the lay side.

Keeping a bet at the best opposite price

Download the trigger file

The triggers may look a bit complex, but that's beause they cover all possible cases in this problem. You will find three blocks in the file: one is functional, do not change or remove it. The other two contain similar triggers, one is for keeping a BACK bet, and the other one is for keeping a LAY bet. Disable one of them if you don't need it.

The triggers will constantly keep an eye on the selection's price: as soon as it becomes worse, the trigger will cancel the existing unmatched bet and place another one, with a corrected price, in the hope that it will get matched sooner or later.

If the price deteriorates beyond the specified number of ticks as compared to the initial price of this selection, then a special trigger will match the remaining unmatched bet at the current best price to prevent losses.

There is a constant for editing the maximum number of ticks by which the price can deviate from the initial one.


If you have not heard of BetFair yet or do not have an account, register today and get £20 free. Use the link below:
New customers only, bet up to €/£20 on the Exchange and if your first bet loses, we’ll refund you €/£20 in Cash. Bet must be placed in first 7 days of account opening. T&Cs apply.
Gamble responsibly! Always be aware that betting is NOT risk-free. You must be 18+ years old before you try gambling, but even as an adult, withhold from spending money in an ill-judged manner. Our company does not encourage you to prefer gambling over other meaningful activities. If gambling is affecting your life or the lives of people close to you, please contact GamCare
© 2005-2023 WellDone Creative Software. All rights reserved. Terms and conditions.
BetFair® and the BetFair Logo are registered trade marks of Flutter Entertainment plc. Gamble responsibly.