Cancel lay bets

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Andrew2966
Posts: 26
Joined: Fri Apr 23, 2021 9:08 pm

I am running a file which places a number of lay bets and back bets into the market at fixed prices at the start of the automation. I want to then cancel just the unmatched lay bets once the number of matched lay bets reaches a set number (lets say 3) but leaving the back bets running until the matched back bets also reaches 3, at which point I can cancel all bets. Is there any way to do this on a single automation file? I figure I could do this by running 2 separate files, one that places the lay side and the other that places the back side bets and the cancelling all bets once the target number is achieved.
User avatar
Dallas
Posts: 23599
Joined: Sun Aug 09, 2015 10:57 pm

You can do it with just 1 file, using the following two rules;
Cancel unmatched bets (price dependant) rule to cancel the lay bets
Cancel all unmatched bets rule to cancel the remaining bets
Andrew2966
Posts: 26
Joined: Fri Apr 23, 2021 9:08 pm

Thanks Dallas, I'll give it a try.
Post Reply

Return to “Bet Angel - Automation”