Horseracing: Choosing between two separate rules for "Close Trade on Selection By Greening"

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
lotora
Posts: 754
Joined: Thu Dec 24, 2009 9:20 am

I would like to be able to choose between two separate rules for "Close Trade on Selection By Greening" dependent on whether "Place Back SP Bet" was triggered or not.

On default all my pre off lay bets are closed by "Place Back SP Bet", and then hedged by using "Close Trade On Selection By Greening".

However, sometimes the "Place Back SP Bet" is not triggered because:
1. The conditions are not met, or
2. The lay bet is matched too close to the start.

When that happens, I would like to use a separate rule for "Close Trade on Selection By Greening".

How to detect whether a "Place Back SP Bet" was triggered or not and use that as a condition to decide the "correct" "Close Trade On Selection By Greening" rule?
Anbell
Posts: 2407
Joined: Fri Apr 05, 2019 2:31 am

lotora wrote:
Wed Jun 28, 2023 5:26 am
I would like to be able to choose between two separate rules for "Close Trade on Selection By Greening" dependent on whether "Place Back SP Bet" was triggered or not.

On default all my pre off lay bets are closed by "Place Back SP Bet", and then hedged by using "Close Trade On Selection By Greening".

However, sometimes the "Place Back SP Bet" is not triggered because:
1. The conditions are not met, or
2. The lay bet is matched too close to the start.

When that happens, I would like to use a separate rule for "Close Trade on Selection By Greening".

How to detect whether a "Place Back SP Bet" was triggered or not and use that as a condition to decide the "correct" "Close Trade On Selection By Greening" rule?
Just use an SV called "TRIGGERED" when "Place Back SP Bet" is triggered, and then make TRIGGERED a condition on your "Close Trade On Selection By Greening" rule
User avatar
lotora
Posts: 754
Joined: Thu Dec 24, 2009 9:20 am

Thanks!, but when the "Place Back SP Bet" conditions were not met, and therefore not placed, it was still showed as triggered (file attached), and therefore the "wrong" rule for "Close Trade On Selection With Greening" was triggered (file attached).
You do not have the required permissions to view the files attached to this post.
User avatar
lotora
Posts: 754
Joined: Thu Dec 24, 2009 9:20 am

Anbell wrote:
Wed Jun 28, 2023 7:22 am
lotora wrote:
Wed Jun 28, 2023 5:26 am
I would like to be able to choose between two separate rules for "Close Trade on Selection By Greening" dependent on whether "Place Back SP Bet" was triggered or not.

On default all my pre off lay bets are closed by "Place Back SP Bet", and then hedged by using "Close Trade On Selection By Greening".

However, sometimes the "Place Back SP Bet" is not triggered because:
1. The conditions are not met, or
2. The lay bet is matched too close to the start.

When that happens, I would like to use a separate rule for "Close Trade on Selection By Greening".

How to detect whether a "Place Back SP Bet" was triggered or not and use that as a condition to decide the "correct" "Close Trade On Selection By Greening" rule?
Just use an SV called "TRIGGERED" when "Place Back SP Bet" is triggered, and then make TRIGGERED a condition on your "Close Trade On Selection By Greening" rule
Do you have any other idea?
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

The way Anbell has advised is the correct and easiest way to do it

Have you double checked the SV names in both the rule and condition for typo's - SV's are case sensitive so also make sure you didn't use a capital letter in one of them but not the other
User avatar
lotora
Posts: 754
Joined: Thu Dec 24, 2009 9:20 am

Dallas wrote:
Thu Jun 29, 2023 8:03 pm
The way Anbell has advised is the correct and easiest way to do it

Have you double checked the SV names in both the rule and condition for typo's - SV's are case sensitive so also make sure you didn't use a capital letter in one of them but not the other
Sorry! deleted my answer by mistake.

Yes, no typos. Have seen the same for other rules as well, when they are shown as triggered in the "automatic log", but without being triggered. It seems like "all" rules are set as triggered on default, but then stopped when the conditions are not met...

One example is a tennis rule for closing bets between games, where it correctly stops after 2-3 times, but are still shown as triggered in the "automatic log".
Last edited by lotora on Thu Jun 29, 2023 11:56 pm, edited 1 time in total.
User avatar
lotora
Posts: 754
Joined: Thu Dec 24, 2009 9:20 am

Anyone else who can confirm that some rules are shown as triggered when they are no longer triggered, or maybe not triggered at all? Here both my "Close IR" rules are shown as triggered, but ONLY ONE was actually triggered. Makes no sense!
You do not have the required permissions to view the files attached to this post.
User avatar
lotora
Posts: 754
Joined: Thu Dec 24, 2009 9:20 am

Dallas wrote:
Thu Jun 29, 2023 8:03 pm
The way Anbell has advised is the correct and easiest way to do it

Have you double checked the SV names in both the rule and condition for typo's - SV's are case sensitive so also make sure you didn't use a capital letter in one of them but not the other
Dallas, since there's no typo, what do you want me to post in order to find out what's wrong?

EDIT: I've changed my mind. Just forget about it, because it's not important to me anymore. :)
Post Reply

Return to “Bet Angel - Automation”