Can I stop Guardian rules like I can with a Servant?
- 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!
Sniffer66 has a useful trick over here viewtopic.php?f=80&t=28279firlandsfarm wrote: ↑Fri Dec 15, 2023 4:37 amI 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!
- firlandsfarm
- Posts: 3384
- Joined: Sat May 03, 2014 8:20 am
Thanks Anbell, looks just what I want and as a bonus it also covers auto loading of new marketsAnbell wrote: ↑Fri Dec 15, 2023 4:42 amSniffer66 has a useful trick over here viewtopic.php?f=80&t=28279firlandsfarm wrote: ↑Fri Dec 15, 2023 4:37 amI 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!

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
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
- firlandsfarm
- Posts: 3384
- Joined: Sat May 03, 2014 8:20 am
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.Dallas wrote: ↑Fri Dec 15, 2023 12:28 pmAnother 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
You won't notice any difference between the two, hundreds of signals and/or stored values can be checked each refreshfirlandsfarm wrote: ↑Sun Dec 17, 2023 11:39 amThanks 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.Dallas wrote: ↑Fri Dec 15, 2023 12:28 pmAnother 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
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
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 ?
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 ?
You can possibly get some performance improvements for Sat 3pm by splitting the matches across 2 different BA instancesfirlandsfarm wrote: ↑Sun Dec 17, 2023 11:39 amThanks 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.Dallas wrote: ↑Fri Dec 15, 2023 12:28 pmAnother 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
Depending on what you mean by 'alert' but you can start and stop automations hereiggypop37 wrote: ↑Mon Dec 18, 2023 2:30 pmrelated 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 ?
You do not have the required permissions to view the files attached to this post.
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 ?
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 timeiggypop37 wrote: ↑Wed Dec 20, 2023 4:55 ami 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 ?
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 ?
maybe set a counter starting at 9am for example and link that to a signal ?
Anbell wrote: ↑Wed Dec 20, 2023 5:10 amI showed you where to do it in the screen grab. You just have to set it to stop 30 mins before event start timeiggypop37 wrote: ↑Wed Dec 20, 2023 4:55 ami 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 ?
- firlandsfarm
- Posts: 3384
- Joined: Sat May 03, 2014 8:20 am
@Dallas, here is an example of my problem from last night ...Dallas wrote: ↑Mon Dec 18, 2023 11:28 amYou 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
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)?