Can I stop Guardian rules like I can with a Servant?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
firlandsfarm
Posts: 3384
Joined: Sat May 03, 2014 8:20 am

I load up Guardian once a day with football matches. I don't set a minimum Volume parameter because I'm only interested in the market volume at kick-off. To save resources is there a way to test the volume immediately the market goes in-play and stop the execution of the rules if the minimum volume has not been exceeded rather than have the rules test an SV recorded at the kick-off at every rearming/trigger through the match. Saturday afternoons can be very busy when rules are constantly testing for bet placement that is known to be impossible!
Anbell
Posts: 2405
Joined: Fri Apr 05, 2019 2:31 am

firlandsfarm wrote:
Fri Dec 15, 2023 4:37 am
I load up Guardian once a day with football matches. I don't set a minimum Volume parameter because I'm only interested in the market volume at kick-off. To save resources is there a way to test the volume immediately the market goes in-play and stop the execution of the rules if the minimum volume has not been exceeded rather than have the rules test an SV recorded at the kick-off at every rearming/trigger through the match. Saturday afternoons can be very busy when rules are constantly testing for bet placement that is known to be impossible!
Sniffer66 has a useful trick over here viewtopic.php?f=80&t=28279
User avatar
firlandsfarm
Posts: 3384
Joined: Sat May 03, 2014 8:20 am

Anbell wrote:
Fri Dec 15, 2023 4:42 am
firlandsfarm wrote:
Fri Dec 15, 2023 4:37 am
I load up Guardian once a day with football matches. I don't set a minimum Volume parameter because I'm only interested in the market volume at kick-off. To save resources is there a way to test the volume immediately the market goes in-play and stop the execution of the rules if the minimum volume has not been exceeded rather than have the rules test an SV recorded at the kick-off at every rearming/trigger through the match. Saturday afternoons can be very busy when rules are constantly testing for bet placement that is known to be impossible!
Sniffer66 has a useful trick over here viewtopic.php?f=80&t=28279
Thanks Anbell, looks just what I want and as a bonus it also covers auto loading of new markets :)
User avatar
Dallas
Posts: 23596
Joined: Sun Aug 09, 2015 10:57 pm

Another way to do it using the automation rules is to add a;
Set/Modify Signal' rule armed to trigger at the start time, and add a 'Volume condition' to test it is greater '£X
Then on the Signal tab set a signal on the market with the name of your choice (doesn't matter what value you enter)

Then on the rules you want to stop triggering just add a 'Signal Set condition' to test the signal named (whatever you called it) Is set with a value
User avatar
firlandsfarm
Posts: 3384
Joined: Sat May 03, 2014 8:20 am

Dallas wrote:
Fri Dec 15, 2023 12:28 pm
Another way to do it using the automation rules is to add a;
Set/Modify Signal' rule armed to trigger at the start time, and add a 'Volume condition' to test it is greater '£X
Then on the Signal tab set a signal on the market with the name of your choice (doesn't matter what value you enter)

Then on the rules you want to stop triggering just add a 'Signal Set condition' to test the signal named (whatever you called it) Is set with a value
Thanks Dallas, I understand all of that and am doing that (with an SV instead of a Signal ... does a Signal check use less resource than an SV check?). Also it's still using resources to check that signal (or SV). The 3 o'clock games on a Saturday seem to be overloading the system. I use the same rules for each game that sets the "Volume" SV with one trigger within 5 seconds of going in-play. Yesterday the SV was set in only about 50% of games. I've now set the rule to trigger 5 times in the first minute to see if that works better but have to wait until the next 'busy' day to test.
User avatar
Dallas
Posts: 23596
Joined: Sun Aug 09, 2015 10:57 pm

firlandsfarm wrote:
Sun Dec 17, 2023 11:39 am
Dallas wrote:
Fri Dec 15, 2023 12:28 pm
Another way to do it using the automation rules is to add a;
Set/Modify Signal' rule armed to trigger at the start time, and add a 'Volume condition' to test it is greater '£X
Then on the Signal tab set a signal on the market with the name of your choice (doesn't matter what value you enter)

Then on the rules you want to stop triggering just add a 'Signal Set condition' to test the signal named (whatever you called it) Is set with a value
Thanks Dallas, I understand all of that and am doing that (with an SV instead of a Signal ... does a Signal check use less resource than an SV check?). Also it's still using resources to check that signal (or SV). The 3 o'clock games on a Saturday seem to be overloading the system. I use the same rules for each game that sets the "Volume" SV with one trigger within 5 seconds of going in-play. Yesterday the SV was set in only about 50% of games. I've now set the rule to trigger 5 times in the first minute to see if that works better but have to wait until the next 'busy' day to test.
You won't notice any difference between the two, hundreds of signals and/or stored values can be checked each refresh
But if the market is in Guardian it will still be refreshed each cycle even if a signal/stored value has been set to stop other rules on that market from triggering
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

related to this

I've developed an automaton file to trigger on all uk horse racing. is there a trick to stop alerts 5 mins say before the scheduled start time as the market goes a bit crazy then ?

I suppose you might use text comparison to extract the start time, and play around with that, using signals or an SV ?
Anbell
Posts: 2405
Joined: Fri Apr 05, 2019 2:31 am

firlandsfarm wrote:
Sun Dec 17, 2023 11:39 am
Dallas wrote:
Fri Dec 15, 2023 12:28 pm
Another way to do it using the automation rules is to add a;
Set/Modify Signal' rule armed to trigger at the start time, and add a 'Volume condition' to test it is greater '£X
Then on the Signal tab set a signal on the market with the name of your choice (doesn't matter what value you enter)

Then on the rules you want to stop triggering just add a 'Signal Set condition' to test the signal named (whatever you called it) Is set with a value
Thanks Dallas, I understand all of that and am doing that (with an SV instead of a Signal ... does a Signal check use less resource than an SV check?). Also it's still using resources to check that signal (or SV). The 3 o'clock games on a Saturday seem to be overloading the system. I use the same rules for each game that sets the "Volume" SV with one trigger within 5 seconds of going in-play. Yesterday the SV was set in only about 50% of games. I've now set the rule to trigger 5 times in the first minute to see if that works better but have to wait until the next 'busy' day to test.
You can possibly get some performance improvements for Sat 3pm by splitting the matches across 2 different BA instances
Anbell
Posts: 2405
Joined: Fri Apr 05, 2019 2:31 am

iggypop37 wrote:
Mon Dec 18, 2023 2:30 pm
related to this

I've developed an automaton file to trigger on all uk horse racing. is there a trick to stop alerts 5 mins say before the scheduled start time as the market goes a bit crazy then ?

I suppose you might use text comparison to extract the start time, and play around with that, using signals or an SV ?
Depending on what you mean by 'alert' but you can start and stop automations here
image_2023-12-19_164729183.png
You do not have the required permissions to view the files attached to this post.
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

i have an SV set and an alert set for the same crieria in Betangel over all UK horse racing.

whilst theoretically you could Indivodually adjust the timing for each race, I currently have the timing set for the whole day.

to adjust them for each race start time in mind would be awkward and time consuming.

I know you can do a lot with the text comparison feature in BA. what I am doing is seeking a way that if the race is due to start at 13:30 say, how can you shut the rule down for that race at 13:00 say.

someone cleverer than me will know that you can convert 13:30 to a different value perhaps ?
Anbell
Posts: 2405
Joined: Fri Apr 05, 2019 2:31 am

iggypop37 wrote:
Wed Dec 20, 2023 4:55 am
i have an SV set and an alert set for the same crieria in Betangel over all UK horse racing.

whilst theoretically you could Indivodually adjust the timing for each race, I currently have the timing set for the whole day.

to adjust them for each race start time in mind would be awkward and time consuming.

I know you can do a lot with the text comparison feature in BA. what I am doing is seeking a way that if the race is due to start at 13:30 say, how can you shut the rule down for that race at 13:00 say.

someone cleverer than me will know that you can convert 13:30 to a different value perhaps ?
I showed you where to do it in the screen grab. You just have to set it to stop 30 mins before event start time
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

im aware of that and thanks for taking the time, however I would rather not do that manually for every single market every single day. there must be a simpler way.

maybe set a counter starting at 9am for example and link that to a signal ?

Anbell wrote:
Wed Dec 20, 2023 5:10 am
iggypop37 wrote:
Wed Dec 20, 2023 4:55 am
i have an SV set and an alert set for the same crieria in Betangel over all UK horse racing.

whilst theoretically you could Indivodually adjust the timing for each race, I currently have the timing set for the whole day.

to adjust them for each race start time in mind would be awkward and time consuming.

I know you can do a lot with the text comparison feature in BA. what I am doing is seeking a way that if the race is due to start at 13:30 say, how can you shut the rule down for that race at 13:00 say.

someone cleverer than me will know that you can convert 13:30 to a different value perhaps ?
I showed you where to do it in the screen grab. You just have to set it to stop 30 mins before event start time
Atho55
Posts: 679
Joined: Tue Oct 06, 2015 1:37 pm

You can pick out the hour as a SV using this text function. This is for the Greys I should mention
Time Hour.png
You do not have the required permissions to view the files attached to this post.
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

Atho55 wrote:
Wed Dec 20, 2023 4:53 pm
You can pick out the hour as a SV using this text function. This is for the Greys I should mention

Time Hour.png
thank you exactly what I was looking for:
User avatar
firlandsfarm
Posts: 3384
Joined: Sat May 03, 2014 8:20 am

Dallas wrote:
Mon Dec 18, 2023 11:28 am
You won't notice any difference between the two, hundreds of signals and/or stored values can be checked each refresh
But if the market is in Guardian it will still be refreshed each cycle even if a signal/stored value has been set to stop other rules on that market from triggering
@Dallas, here is an example of my problem from last night ...

Derby v Lincoln 19:45 Vol at KO=5078
Gent v Oud-Heverlee Leuven 19:45 Vol at KO=5209
PSV v FC Twente 20:00 Vol at KO=[blank]

Note: sibur's Elapsed SV was also [blank]

The rule is set to be live for the first minute of going in-play and activate 5 times with 5 second rearm intervals (I set it to activate multiple times in an attempt to get it to function) .

Looking at last night's games I can't see it will be a speed problem (there would have been 13 games running at first half at 20:00) so maybe the creation of this thread was a little premature but it has thrown up some interesting help. I can confirm the refresh rate is 20ms and refresh is restricted to 60 seconds before and 3,600 seconds after scheduled start time. The log only shows one suspension ( 20:37:28) but that could of course be correct but the usual

Guardian has detected that the market is suspended
Guardian has detected that the market is in-play

log entries are non-existent and Sibur's Elapsed SV is also non-existent.

I can confirm there are no Conditions laid down for my rule not are there for sibur's.

I am naive of Bf's foibles as mentioned from time to time by many ... is this just one of them (or 25 of them ... that's how many 'missing' matches I have had this week)?
Post Reply

Return to “Bet Angel - Automation”