Setting a time/market interval between the triggers

Description

This is a "how to" example, demonstrating how to set an interval of markets and/or minutes between the executions of your triggers, e.g. between the bets.

Suppose you want to lay on the favourite in every third race, or you want to wait for 10 minutes between your bets, how do you do that?

Triggers

Download the trigger file

The triggers include two basic constants:

skip_mkt_num: How many markets to skip
skip_mins: How many minutes to skip

The baseline trigger, the "laying" one, will lay if both conditions are satisfied, i.e. there should be at least skip_mkt_num markets and no less than skip_mins minutes of time between the bets. You are welcome to change that behaviour, for example, by connecting these conditions with an OR instead of an AND. Set either of these constants to 0 if you do not want to wait out the specified number of markets or the specified time.

If you would like to set an interval of events rather than markets, change the execution frequency from "once per market" to "once per sports event".

Feel free to edit the action(s), markets, selections and conditions of the "laying" trigger (change it to backing for example), as it is provided for the sake of example. Just remember to keep the conditions that check for the right interval between the bets, and do not change the order of the triggers in the file.

If you have not heard of BetFair yet or do not have an account, register today and get £20 free. Use the link below:
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-2019 WellDone Creative Software. All rights reserved. Terms and conditions.
BetFair® and the BetFair Logo are registered trade marks of The Sporting Exchange Limited. Gamble responsibly.