Green on % of Lay

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Tiggsy
Posts: 5
Joined: Thu Jun 06, 2024 2:11 pm

Hi all,

Apologies if this has been explained elsewhere but I'm struggling to figure this out.

I'm working on something that lays by total liability, and what I'd ideally want is a rule to green on a % of whatever backer's stake that liability is for (so for example, if it's a £10 liability and I want to trade out at 10% of the backers stake laid at 2s, that would green up when the profit hits £1, at 1.5 that would be £2, at 6s £0.2 and so on).

Is there an easy way I'm missing, or would it have to involve stored values based off the odds laid at triggering some maths within the automation?

Thanks
User avatar
Dallas
Posts: 23589
Joined: Sun Aug 09, 2015 10:57 pm

Add a 'Set/Modify Stored Value' rule and store the values as shown below (you can name them anything you want), just ensure the rule triggers after your bets have been placed

SV1.jpg
SV2.jpg

Then on your 'close trade on selection with greening' rule add a Stored Value condition as shown below

Condition.jpg
You do not have the required permissions to view the files attached to this post.
Tiggsy
Posts: 5
Joined: Thu Jun 06, 2024 2:11 pm

Thanks Dallas,

Set up a version of this a couple of days ago and looks to be working perfectly. Appreciate it!
Post Reply

Return to “Bet Angel - Automation”