Setting up automation based on differences in volume percent

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
ija34
Posts: 92
Joined: Mon Jun 27, 2022 7:51 pm

Hey all,

So I'm trying to set-up an automation and struggling with it. Basically I want to record the volume percent of all selections. Take the two selections with the highest volume percents. Calculate the difference between these 2 percents and if the difference is between 5% and 80% then place a back bet on the selection with the highest volume percent so to sum up.
  • Record the volume percent of every selection
  • Record the two highest volume percents
  • Calculate the difference between those two values
  • Place back bet on selection with highest volume percent if the calculated difference is between 5% and 80%
I've managed to record the volume percent of every selection easily. The problem is when I try to record the highest volume percent, it's giving me the highest one but on the wrong selection. I have the volume percent of every selection set to every on selection and for the highest volume percent. I've set it to any, not sure what else I can set it too since I don't know which selection it will be until I know the volume percents. Any one got any advice?

This is what I'm getting but it's giving me the wrong runner

17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 1. Porthall Storm: Back_Greyhound_Volume_Percent = 4.943
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 2. Mohican Garfield: Back_Greyhound_Volume_Percent = 15.274
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 3. Catunda Stella: Back_Greyhound_Volume_Percent = 18.397
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 4. Flickering Fire: Back_Greyhound_Volume_Percent = 38.558
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 5. Ballyregan Lena: Back_Greyhound_Volume_Percent = 9.413
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 6. Swift Urania: Back_Greyhound_Volume_Percent = 13.415
17/02/2023 15:31:45: [G_Auto 1] : Store (range calc) Value (Shared) for 1. Porthall Storm: Maximum_Volume = 38.558
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

After storing the value of the volume % the next step is to add a 'Update Custom order of selections' rule and rank them by stored value in descending order

Then add a 'Set/Modify Stored Value' rule applied to the selection in custom rank 1(1)
and on the stored value tab store a value named (whatever you want)
Value of selection in custom rank 1 (1)
minus the
Value of selection in custom rank 1 (2)

Then add your back bet rule with two 'stored value conditions
The first' to test the stored value named (whatever you called it)
is greater than 5%

The second' to test the stored value named (whatever you called it)
is less than 80%
ija34
Posts: 92
Joined: Mon Jun 27, 2022 7:51 pm

Dallas wrote:
Fri Feb 17, 2023 3:52 pm
After storing the value of the volume % the next step is to add a 'Update Custom order of selections' rule and rank them by stored value in descending order

Then add a 'Set/Modify Stored Value' rule applied to the selection in custom rank 1(1)
and on the stored value tab store a value named (whatever you want)
Value of selection in custom rank 1 (1)
minus the
Value of selection in custom rank 1 (2)

Then add your back bet rule with two 'stored value conditions
The first' to test the stored value named (whatever you called it)
is greater than 5%

The second' to test the stored value named (whatever you called it)
is less than 80%
Awesome, I'll give it a shot, thank you. :)
ija34
Posts: 92
Joined: Mon Jun 27, 2022 7:51 pm

Dallas wrote:
Fri Feb 17, 2023 3:52 pm
After storing the value of the volume % the next step is to add a 'Update Custom order of selections' rule and rank them by stored value in descending order

Then add a 'Set/Modify Stored Value' rule applied to the selection in custom rank 1(1)
and on the stored value tab store a value named (whatever you want)
Value of selection in custom rank 1 (1)
minus the
Value of selection in custom rank 1 (2)

Then add your back bet rule with two 'stored value conditions
The first' to test the stored value named (whatever you called it)
is greater than 5%

The second' to test the stored value named (whatever you called it)
is less than 80%
Hi Dallas,

How do I subtract the 2nd max volume from the first? Can only find an option for sum of values. Cheers.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

ija34 wrote:
Fri Feb 17, 2023 5:07 pm
Dallas wrote:
Fri Feb 17, 2023 3:52 pm
After storing the value of the volume % the next step is to add a 'Update Custom order of selections' rule and rank them by stored value in descending order

Then add a 'Set/Modify Stored Value' rule applied to the selection in custom rank 1(1)
and on the stored value tab store a value named (whatever you want)
Value of selection in custom rank 1 (1)
minus the
Value of selection in custom rank 1 (2)

Then add your back bet rule with two 'stored value conditions
The first' to test the stored value named (whatever you called it)
is greater than 5%

The second' to test the stored value named (whatever you called it)
is less than 80%
Hi Dallas,

How do I subtract the 2nd max volume from the first? Can only find an option for sum of values. Cheers.
SV.png

I've input the name 'Volume%_Selection' but you'd enter whatever SV name you used when storing the Vol% with your first rule
You do not have the required permissions to view the files attached to this post.
ija34
Posts: 92
Joined: Mon Jun 27, 2022 7:51 pm

Ahhh awesome, thanks. :D
Post Reply

Return to “Bet Angel - Automation”