Setting a time/market interval between the triggers
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?
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.