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

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

tootatoota wrote:
Wed Oct 13, 2021 8:37 am
Thanks so much dallas,
I tried all day using excel but couldnt get the commands correct.
I know it can be done in excel by getting stall id into excel and then doing a max value etc but i failed at the last hurdle with commands.
Even I fell foul of the classic case of overthinking this one, when I sat down and looked again this morning there's a very simple way of doing this, so scrap everything so far and do the following

Place back (or lay) bet rule
applied to ANY selection
Trigger 1 time

Conditions
Number of place bet triggers on market is = 0
Stall Draw of Selection is equal to 25

Duplicate that rule and for the next rule use;


Place back (or lay) bet rule
applied to ANY selection
Trigger 1 time

Conditions
Number of place bet triggers on market is = 0
Stall Draw of Selection is equal to 24

Duplicate that and carry on reducing the stall draw condition


It's important that you start with the highest possible stall draw you may need and work your way down to the lowest you want and keep the rules in that order.

What will happen is the rules will be checked in turn until the first one triggers, and that will be on the highest stall number in that race, the place bet triggers condition will ensure that once a rule has triggered none of the others will be able to fire

Give that a go and let me know if that's done what you want
User avatar
tootatoota
Posts: 56
Joined: Fri Apr 17, 2020 2:33 am

Hi Dallas,
That sounds correct to me.
Yes there is so many things we can do sometimes we have that light bulb moment and go YES i can do it like this.
Thanks for being persistent i know these things bug me until i get the result.
Really appreciate and ill try it today should be fine.'Regards brendan
User avatar
tootatoota
Posts: 56
Joined: Fri Apr 17, 2020 2:33 am

Hi Dallas,
The bot is working 98% of the time although sometimes will throw in a curve ball.
I thought i was going crazy.
Yesterday Australian racing was supposed to be barrier 20 Incentivise the winner but instead it went for barrier 19.
Ive checked my bot and cannot understand why.
Regards Brendan
ubfxu
Posts: 8
Joined: Tue Nov 15, 2016 11:33 pm

Something in a similar vein.

If I want to count the Number of Selections in a Market that have an LTP <20 at 1 minute before Event Start Time how would I go about doing that.
User avatar
Dallas
Posts: 22672
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

ubfxu wrote:
Fri Oct 07, 2022 4:55 am
Something in a similar vein.

If I want to count the Number of Selections in a Market that have an LTP <20 at 1 minute before Event Start Time how would I go about doing that.
Just add a 'Fixed Odds Condition'
https://www.betangel.com/user-guide/fixed_odds.html
ubfxu
Posts: 8
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: 8
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: 22672
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: 22672
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: 8
Joined: Tue Nov 15, 2016 11:33 pm

Thanks for that Dallas,

Its working well now.

:D
User avatar
Dallas
Posts: 22672
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
Post Reply

Return to “Bet Angel Automation - General”