Tennis - Lay the Leader after 1 Set - Only working half of the time

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
smgreyuk
Posts: 105
Joined: Tue Jul 30, 2024 4:20 pm

Hi Everyone.

With this file (attached - Lay The Leader after 1 Set) I want to do the following:

When the 1st set is won in a match, player A who wins this 1st set, I want one Lay bet to be placed on this player A at the point they are not serving in the 2nd set. When the this game (whether it be the first game or the second game of the set) is complete, for it to Green Up

Player A = 1st Set Winner
Player B = 1st Set Loser

- So only one lay bet with only one green up per match


I have got the file/bot to work when Player A DOES NOT SERVE FIRST in the 2nd set and it greens up correctly - In this instance Player B (the 1st Set Loser) served first in the 2nd set

However if player A (the 1st set Winner) DOES SERVE FIRST in the 2nd set, the lay bet is not triggered

Player A serves first in the 2nd set = Bot NOT working
Player B serves first in the 2nd set = Bot working

Could someone please take a look at why this is the case? I am staring at the conditions and in my mind it should work for both set of circumstances - The Green Up Rule uses the Matched Bet Condition = 1

N.B.
As a bonus I would also like for it to green up if it hits a certain profit margin or loss margin - My thinking would be either
A) adding two conditions Greater then X OR Less than Y in among the Green Up Conditions
OR
B) Using a Trailing Stop With Greening (I think)

Option B feels better to me, but I know I am getting ahead of myself as it's only working 50% of the time in it's current state
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23596
Joined: Sun Aug 09, 2015 10:57 pm

Not looked at the file but all you would need is the following

'Place Lay bet' rule applied to ANY selection

Fixed Tennis Score Condition
Sets 1-0
Games ANY-ANY
Points 0-0

Tennis Serving Condition
Selection is NOT Serving
smgreyuk
Posts: 105
Joined: Tue Jul 30, 2024 4:20 pm

Sorry Dallas, should I leave the Green Up Rule as it is?

It’s currently saying to green up when matched bets = 1 AND when selection is serving?

Or should I remove the Green up rule altogether and just do what you’ve suggested?
User avatar
Dallas
Posts: 23596
Joined: Sun Aug 09, 2015 10:57 pm

smgreyuk wrote:
Fri Sep 13, 2024 2:30 pm
Sorry Dallas, should I leave the Green Up Rule as it is?

It’s currently saying to green up when matched bets = 1 AND when selection is serving?

Or should I remove the Green up rule altogether and just do what you’ve suggested?
Use a 'Close Trade on Selection with Greening' rule
with the following Condition

Number of matched bets condition
on selection is greater than 0

Tennis serving condition
Selection is serving

Tennis Fixed Score condition
Sets 1-0
Games ANY-ANY
Points 0-0


By using 'matched bets is equal to 1' there might be times when your bet isn't all matched in one go so you may end up with 2, 3, 4+ matched bets by the time your full stake is taken, so its best to use greater than 0 in these situations
smgreyuk
Posts: 105
Joined: Tue Jul 30, 2024 4:20 pm

That’s working. Thanks Dallas
User avatar
Dallas
Posts: 23596
Joined: Sun Aug 09, 2015 10:57 pm

smgreyuk wrote:
Sat Sep 14, 2024 11:51 am
That’s working. Thanks Dallas
Image
Post Reply

Return to “Bet Angel - Automation”