Building First Tennis Bot - Lay First Set Winner - Help/Advice?

Post Reply
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

Hello all,

Building my first tennis bot (Not very successfully). I've been forwarding testing a strategy, over 400 trades so far.

Strat is - WTA matches that meet my criteria.

- Lay First Set Winner if odds are1.5 or below - If not, Back First set loser 1.8 or higher.
- If a lay bet is placed there is no exit. The fixed stake is risked.
- If back bet is placed Trade out if loss reaches 30% of stake.
- If first set loser wins second set green up by skewing 60/40 onto 2nd winner.

Seems very simple yet I am having a real issue getting it to work.

Does anyone have any advice?

Thanks
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

My main issues are setting the exit for the Back bet on Rule 2 - I want to be able to set it to come out at 30% loss on the stake.

The second issue is my third rule , skewing 60/40 onto set 2 winner. Not sure how to do this.
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

This is my attempt at creating the bot discussed above. Doesn't seem to be triggering...

Any advice would be great.
Lay Set 1 Winner Kyle.baf
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23576
Joined: Sun Aug 09, 2015 10:57 pm

A few things to note

On the back bet rule
1) Remove the 'Trading profit' condition
2) Add a 'Number of place bet triggers' condition - on market is equal to 0
That will stop the back bet rule triggering if the lay rule already has

Then add a 'Green All selections' rule with a 'Green All Profit' Condition is less than -£33


The final part of placing a 60/40 bet takes a bit more setting up so I'd first make those changes and ensure the file is now working as expected up to that part before setting up the last bit
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

BetangelAmendments.jpg
Thanks for this. Really appreciate quick response.

I have done steps 1 & 2
BetangelAmendments.jpg
In terms of the 'Then add a 'Green All selections' rule with a 'Green All Profit' Condition is less than -£33'. Is this as a condition of the Back Bet rule? Or a rule on in addition to the Rule I currently have the end of the second set?
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23576
Joined: Sun Aug 09, 2015 10:57 pm

The back bet rule now looks fine

But you haven't yet added another 'Green All selections' rule for the back bet reaching a -£33 loss
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

Green All.jpg
Think I've done it now as above?
NoTrigger.jpg
Oddly the bot still didn't trigger on that match at the bottom? It met the criteria however...
You do not have the required permissions to view the files attached to this post.
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

Greenalltwo.png
Greenallone.png
Have been told I set the 'Green all' as a condition, not a rule. Think I've rectified it now.
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23576
Joined: Sun Aug 09, 2015 10:57 pm

kikiwillmo88 wrote:
Sat Aug 16, 2025 2:28 pm
Greenalltwo.pngGreenallone.png

Have been told I set the 'Green all' as a condition, not a rule. Think I've rectified it now.
Yes, that now all looks fine

It shouldn't make a difference but if you wanted to add a extra layer of certainty to your back and lay rules you could add a 'Relative Tennis Score' condition to each of them
https://www.betangel.com/user-guide/ten ... score.html

On the lay bet rule configure it to check:
The selection is 1 set ahead of their opponent

On the back bet rule test configure it to check;
The selection is 1 set behind their opponent
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

Thank you,

That's great and I am now running in practice.

How would you tackle the 60/40 split on the player that wins the 2nd set?
User avatar
Dallas
Posts: 23576
Joined: Sun Aug 09, 2015 10:57 pm

kikiwillmo88 wrote:
Sat Aug 16, 2025 3:44 pm
Thank you,

That's great and I am now running in practice.

How would you tackle the 60/40 split on the player that wins the 2nd set?
Start by adding a 'Set/Modify Stored Value' rule with a 'Tennis Fixed Score' condition
Then on the Stored Value tab store the Profit/Loss of the selection with a name of your choice (ie, you could name it 'stake')
Below that use the 'Adjustment' option to minus 90%

That will store a value which is 10% of your profit


Next add a further 'Place back bet' rule
and for the staking method choose 'Stake using a Stored Value Stake' or 'Liability using a Stored Value' - and enter the stored value name as 'stake' (or whatever you named it above)
You'll also need a 'Tennis Fixed Score' condition adding to this rule as well

When that rule triggers it will place a bet using 10% of your profit (or so that you win 10% of your profit) which ever you want to do, giving you a 60/40 split
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

Great instructions, again.

I think I've done it...
Stakeusingstored.jpg

Stored Value.jpg
Tennis fixed score.jpg
You do not have the required permissions to view the files attached to this post.
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

I also want to add a caveat, that the 60/40 split only activates if the profit is more then the risked stake. So I'm risking £30 a trade. If the profit at the end of the 2nd set is only £30, I would want the BOT to hedge. IF POSSIBLE.
User avatar
Dallas
Posts: 23576
Joined: Sun Aug 09, 2015 10:57 pm

kikiwillmo88 wrote:
Sun Aug 17, 2025 10:32 am
Great instructions, again.

I think I've done it...

Stakeusingstored.jpg



Stored Value.jpg


Tennis fixed score.jpg
Did you add the 'Tennis Fixed Odds Condition to the Stored Value rule?
As there wasn't a screenshot above to varify

Also at the bottom of the Stored value tab you'll see a box you can tick to 'Write the contents to the Bet Angel log', if you ensure this is ticked you'll then be able to refer to the log see exactly when its triggering, the values its storing.
This often helps when trying to debug any issues with SV's as you get a much clearer indication where its breaking down
kikiwillmo88
Posts: 19
Joined: Mon Dec 09, 2024 11:10 am

Yes I think I followed the instructions correctly. See screenshot below
TennisFixedscore2.jpg
I've ticked that box for the log.

Here is the BOT If you want to see if I've done anything wrong.
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Bet Angel Automation - Tennis”