Number of Selections as a Stored Value (Template) Guardian Automation Bot

ubfxu
Posts: 9
Joined: Tue Nov 15, 2016 11:33 pm

Thanks for the prompt response Dallas,

Guess I should have made myself clearer. It's not the Fixed Odds Condition that I'm having a problem with - its the timing and the setting (and/or clearing) of the Stored Value ('selections').

The Guardian Automation File seems to have been set up for a standalone market on its own.

I'm trying to run it against a day's worth of Australian Racing loaded into Guardian (100+ races) and although it works fine on the first 1 or 2 races it seems to get stuck on a value of 2 and doesn't reset itself on any further races. For Example:

8/10/2022 13:21:35: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 13:26:39: [G_Auto 1] : Store Value (Shared) for market: selections = 1 + 1 = 2
8/10/2022 13:46:54: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 13:51:57: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 14:02:01: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 14:07:05: [G_Auto 1] : Store Value (Shared) for market: selections = 1 + 1 = 2
8/10/2022 14:37:18: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 14:42:20: [G_Auto 1] : Store Value (Shared) for market: selections = 1

Is there some sort of Clearing or Resetting that needs to be done or is it related to the Guardian Advanced Settings Refresh Time?

The only change I've made to your original Automation Bot is the addition of the Fixed Odds Condition.
ubfxu
Posts: 9
Joined: Tue Nov 15, 2016 11:33 pm

Seem to have partially solved part of the problem.
It's only the Increment SV Rule that needs to have the Fixed Odds Condition - not both.

There is still an issue with the Stored Value being updated with the new Count if a Selection hovers around the Odds of 20, ie sometimes it dips below or rises above. I just want to grab the exact count at 60 seconds prior to the event start time.
User avatar
Dallas
Posts: 22803
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

ubfxu wrote:
Sat Oct 08, 2022 5:09 am
Thanks for the prompt response Dallas,

Guess I should have made myself clearer. It's not the Fixed Odds Condition that I'm having a problem with - its the timing and the setting (and/or clearing) of the Stored Value ('selections').

The Guardian Automation File seems to have been set up for a standalone market on its own.

I'm trying to run it against a day's worth of Australian Racing loaded into Guardian (100+ races) and although it works fine on the first 1 or 2 races it seems to get stuck on a value of 2 and doesn't reset itself on any further races. For Example:

8/10/2022 13:21:35: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 13:26:39: [G_Auto 1] : Store Value (Shared) for market: selections = 1 + 1 = 2
8/10/2022 13:46:54: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 13:51:57: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 14:02:01: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 14:07:05: [G_Auto 1] : Store Value (Shared) for market: selections = 1 + 1 = 2
8/10/2022 14:37:18: [G_Auto 1] : Store Value (Shared) for market: selections = 1
8/10/2022 14:42:20: [G_Auto 1] : Store Value (Shared) for market: selections = 1

Is there some sort of Clearing or Resetting that needs to be done or is it related to the Guardian Advanced Settings Refresh Time?

The only change I've made to your original Automation Bot is the addition of the Fixed Odds Condition.
Its probably your Guardian refresh rate

You should be able to apply it to 100s of markets and it will trigger on them all independently
User avatar
Dallas
Posts: 22803
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

ubfxu wrote:
Sat Oct 08, 2022 5:38 am
Seem to have partially solved part of the problem.
It's only the Increment SV Rule that needs to have the Fixed Odds Condition - not both.

There is still an issue with the Stored Value being updated with the new Count if a Selection hovers around the Odds of 20, ie sometimes it dips below or rises above. I just want to grab the exact count at 60 seconds prior to the event start time.
For that you just need to set both rule to trigger from 00:01:00 till 00:00:59 before the start

Also if you change the second rule from ANY to Every (and set the number of triggers to 1) that will count them all at once without the need for it to rearm every 200ms
ubfxu
Posts: 9
Joined: Tue Nov 15, 2016 11:33 pm

Thanks for that Dallas,

Its working well now.

:D
User avatar
Dallas
Posts: 22803
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

ubfxu wrote:
Sun Oct 09, 2022 11:35 pm
Thanks for that Dallas,

Its working well now.

:D
No probs
robbed
Posts: 15
Joined: Tue Feb 21, 2023 9:02 am

Hope someone here can help.

Conditions
1. Count number of runners
2. Count number of automation nomination selections
3. Calculate number of automation nominated selections as a percentage of number of runners.
4. Place back bet if:
Number of runners is less than 11
AND
Number of automation nominated selections is greater than 1
AND
Percentage of of nominations to runners is less than 50%.

I'm completely lost after point 1. It will be very helpful if someone could create a rule for me. I can handle editing it to suit some different criteria from then on.

Thanks in advance.
Last edited by robbed on Wed May 15, 2024 8:30 am, edited 1 time in total.
User avatar
Dallas
Posts: 22803
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

robbed wrote:
Wed May 15, 2024 8:07 am
Hope someone here can help.

Conditions
1. Count number of runners
2. Count number of automation nomination selections
3. Calculate number of automation nominated selections as a percentage of number of runners.
4. Place back bet if number of runners is less than 11 AND percentage of of nominations to runners is less than 50%.

I'm completely lost after point 1. It will be very helpful if someone could create a rule for me. I can handle editing it to suit some different criteria from then on.

Thanks in advance.
2) Create a Set/Modify Stored Value rule applied to nominated selection 1, and on the stored value tab store a value named (what ever you want ie, you could name it 'nominated') and store 'An Entered Amount' and input the value of 1

Then add another this time applied to nominated selection 2 and change the input value on the stored value tab to 2
and repeat until you get 5 rules

3) Create another Set/Modify Stored value rule this time on the stored value tab store a value named (what ever you want ie, you could name this one 'percentage'' calculate the percentage using the stored value nuame from the template of this thread against the stored values named 'nominated' (or whatever you chose to call them in step 2)

4) Add a Stored value condition to your back bet rule to test if the stored value named 'percentage (or whatever you named it in step 3) is less than 50%
robbed
Posts: 15
Joined: Tue Feb 21, 2023 9:02 am

Thanks Dallas. I've got part way but I've definitely got lost here. I've attached the .baf file with what I've done so far, please see if you can help finish it.
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 22803
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

robbed wrote:
Wed May 15, 2024 8:44 am
Thanks Dallas. I've got part way but I've definitely got lost here. I've attached the .baf file with what I've done so far, please see if you can help finish it.
I'll have a look in the morning and post back, bump the thread if I haven't responded by tomorrow afternoon
User avatar
Dallas
Posts: 22803
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Dallas wrote:
Wed May 15, 2024 8:41 pm
robbed wrote:
Wed May 15, 2024 8:44 am
Thanks Dallas. I've got part way but I've definitely got lost here. I've attached the .baf file with what I've done so far, please see if you can help finish it.
I'll have a look in the morning and post back, bump the thread if I haven't responded by tomorrow afternoon
There's quite a few changes needed but it's now working, i'll need to post the instructions and screenshots after todays racing is finished
Screenshot 2024-05-16 124806.png
nb: I only used your 1 bet rule at the bottom of the file to back nom1, but its just a case of duplicating this rule 4 more times to back up to all five of your nominated selections


Second race didn't place the bets as the nominated runners were less than 50% of total runners - so all working perfectly
Screenshot 2024-05-16 125549.png
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 22803
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Dallas wrote:
Thu May 16, 2024 12:49 pm
Dallas wrote:
Wed May 15, 2024 8:41 pm
robbed wrote:
Wed May 15, 2024 8:44 am
Thanks Dallas. I've got part way but I've definitely got lost here. I've attached the .baf file with what I've done so far, please see if you can help finish it.
I'll have a look in the morning and post back, bump the thread if I haven't responded by tomorrow afternoon
There's quite a few changes needed but it's now working, i'll need to post the instructions and screenshots after todays racing is finished

Screenshot 2024-05-16 124806.png
nb: I only used your 1 bet rule at the bottom of the file to back nom1, but its just a case of duplicating this rule 4 more times to back up to all five of your nominated selections


Second race didn't place the bets as the nominated runners were less than 50% of total runners - so all working perfectly

Screenshot 2024-05-16 125549.png

1) You need to add the 'Initial SV' rule from the original file of this thread (it seems to have been deleted from your version)
I also edited the times and order of the rule, you can use any times you want but just ensure they trigger in the correct order
Rule.png

2) The Nominated SV1 (to 5) rules need to pass the stored value from the nominated selection to the market, so each require a furter Stored Value adding (this was my fault I forgot to tell you to do this part in the earlier instructions)
SV.png

3) The Percentage Calc also needed to be reversed so the lower number is used first (ie, SV of Nominated divided by the SV of number of selections)
To finish the calculation you then need another SV created by multiplying it by 100
SV Percent.png

4) Your bet rule then needed a Number of Selections Condition, and the Stored Value Condition to test the Percentage was equal to or greater than 50%
Bet Rule.png

You then just need a further 4 bet rules applied to each nominated selection

and that will do it
You do not have the required permissions to view the files attached to this post.
robbed
Posts: 15
Joined: Tue Feb 21, 2023 9:02 am

Brilliant, thanks for the help.
Post Reply

Return to “Bet Angel Automation - General”