I'm trying to set what I thought was a simple automation rule but it's not working properly.
I've attached it here if anyone would be able to take a look and advise what I've done wrong.
The rule is:
Back a nominated server at one of two scores in a game (but not both) and close/green once at a certain score or the end of the game, whichever is first. Repeat indefinitely throughout the match.
It's not working properly. It backs at both scores and I think it tries to close at both.
Here is the rule with some example scores:
1. Back when serving at 15-15 or 30-30 but not both
2. Close when the score reaches 40-30 or, if this doesn't happen, when the game ends. Doesn't matter if it's a break or a hold.
3. Repeat in subsequent games
I'd also like to fill or kill so if the first bet isn't matched it disappears and BA tries the second one if the correct score is reached.
Example scenarios could be:
1. Back at 15-15
2. Close & green at 40-30
1. 15-15 was tried but didn't get matched so back at 30-30
2. Close & green when the game ends
1. Back at 30-30
2. Close & green when the game ends
Any idea what I need to do to fix it? Can I do all that with one rule?
Thanks
Tennis bot not behaving itself
Not had chance to look at the file but from what you have put you should have the following
On your score line back bets
"matched bet condtion" equals 0
(that will make sure 30-30 can't be triggered/placed if 15-15 is already matched)
Then use a "Checkpoint Matched Bets" rule type
with score condition
0 - 0 pts
"any" games
"any" sets
(that will reset the top condition so the rule thinks there is no matched bets at the start of each new game).
If that does nt work and no one else has been able to help ill downlaod and chack the actual file in the morning for you.
On your score line back bets
"matched bet condtion" equals 0
(that will make sure 30-30 can't be triggered/placed if 15-15 is already matched)
Then use a "Checkpoint Matched Bets" rule type
with score condition
0 - 0 pts
"any" games
"any" sets
(that will reset the top condition so the rule thinks there is no matched bets at the start of each new game).
If that does nt work and no one else has been able to help ill downlaod and chack the actual file in the morning for you.
I've updated the rule with your suggestions and added an extra safety point (clear unmatched bets before starting - do I even need this?) but it's now not triggering at all.
I changed the selection to 'all' just for testing so I have more chance of hitting that score with both players. When it's working and live the selection will be nominated.
The updated file is attached here. Would you be able to take a look please? I'd be eternally grateful as this will form the basis of a few useful bots.
Thanks
I changed the selection to 'all' just for testing so I have more chance of hitting that score with both players. When it's working and live the selection will be nominated.
The updated file is attached here. Would you be able to take a look please? I'd be eternally grateful as this will form the basis of a few useful bots.
Thanks
You do not have the required permissions to view the files attached to this post.
Here you go, main reason was because you had both 15-15 & 30-30 score conditions on the same rule type so it would nt fire unless it was both them scores at the same time (which we know it can never be).
So you need to always have a seperate rule type for each different score line used.
Also your matched bets amount condition will of prevented it from triggering correctly
And i have made some ammendments to your re-arm times to fit better with your fill/kill ( but you can put these back if it not to your liking)
I have not had chance to actually test it so ill leave that up to you but if any part still is not quiet right just give me a shout it ll only be something simple.
So you need to always have a seperate rule type for each different score line used.
Also your matched bets amount condition will of prevented it from triggering correctly
And i have made some ammendments to your re-arm times to fit better with your fill/kill ( but you can put these back if it not to your liking)
I have not had chance to actually test it so ill leave that up to you but if any part still is not quiet right just give me a shout it ll only be something simple.
You do not have the required permissions to view the files attached to this post.
I think this works - thanks for your help!
Out of interest is there a way of closing the trade if that particular game/trade is in profit regardless of the score?
I know you can use a profit condition but that appears to be on the selection itself rather than the trade. I assume that wouldn't work properly if you were in profit before the trade opened.
Out of interest is there a way of closing the trade if that particular game/trade is in profit regardless of the score?
I know you can use a profit condition but that appears to be on the selection itself rather than the trade. I assume that wouldn't work properly if you were in profit before the trade opened.