Hello,
Just looking for a bit of help. I'm running some automation on horse racing markets. One part is firing a back bet in play at a % of actual sp, occasionally a back bet doesn't get matched.
What would be the best way of cancelling this bet after 5 seconds and firing a bet on the same selection at the current price?
I've gone cross eyed trying to work this out, so appreciate any help.
In play automation help
To kill a bet if not matched for x secondsmordenboy wrote: ↑Sun Dec 27, 2020 11:52 pmHello,
Just looking for a bit of help. I'm running some automation on horse racing markets. One part is firing a back bet in play at a % of actual sp, occasionally a back bet doesn't get matched.
What would be the best way of cancelling this bet after 5 seconds and firing a bet on the same selection at the current price?
I've gone cross eyed trying to work this out, so appreciate any help.
Use the fill/kill tick box on the parameters tab and set to the number of seconds you want the bet to be available before being killed if not matched.
For the bet to fire again only if the initial one is not matched
On conditions tab Add a condition 'matched bets =0' (this ensures no new bet if one already matched.)
On general tab set Allow rule to triggger x times and Wait x seconds before rearming. I suggest you start with 2 times and 12 seconds until you get the feel.
When you play with this type thing you need to consider in-play delay and ensuring that no new bet is issued until you're certain the last bet has failed
That's great, many thanks.
The only bit i'm missing is how to set the 2nd fired bet to be at the best back price.
For example, bet one fires at 35% below actual sp, if not matched for 5 seconds, the bet is cancelled and the second bet is fired at best back price (to ensure it is matched this time). Also is there a way of ensuring the second bet is fired on the same horse as the 1st bet?
The only bit i'm missing is how to set the 2nd fired bet to be at the best back price.
For example, bet one fires at 35% below actual sp, if not matched for 5 seconds, the bet is cancelled and the second bet is fired at best back price (to ensure it is matched this time). Also is there a way of ensuring the second bet is fired on the same horse as the 1st bet?
-
- Posts: 1687
- Joined: Fri Nov 20, 2015 9:38 am
Use signals... Set a signal on the 1st bet for "selection" when bet is placed and on the second bet add a condition to only fire if signal is set and another condition to check there are no matched & unmatched bets (need to take account of inplay delay). And test it out in practice mode..