Always armed

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
sibur
Posts: 113
Joined: Tue Jan 11, 2022 11:07 pm

I have a rule that is always armed. However it doesn't always seem to trigger after the market has closed. I do have the checkbox ticked "Allow trigger when market suspended". If this is by design what options would be best to use so the rule would trigger after market closure?
User avatar
jamesedwards
Posts: 4332
Joined: Wed Nov 21, 2018 6:16 pm

sibur wrote:
Tue May 20, 2025 2:11 pm
I have a rule that is always armed. However it doesn't always seem to trigger after the market has closed. I do have the checkbox ticked "Allow trigger when market suspended". If this is by design what options would be best to use so the rule would trigger after market closure?
I think what happens is Guardian does one final sweep once it registers a market has closed and then stops. So you need to initiate everything in the correct order during that single final sweep.
User avatar
Dallas
Posts: 23589
Joined: Sun Aug 09, 2015 10:57 pm

Do you have a 'Market Status' condition on the rule?
If not It maybe that the rule is triggering at an earlier time when the market suspends briefly ie, when turned in-play
User avatar
sibur
Posts: 113
Joined: Tue Jan 11, 2022 11:07 pm

Hi Dallas. I don't have a market status condition, no, but the rule never triggers and I can see that from the Automation tab next to log. I will add it in however and see if it makes a difference.
User avatar
sibur
Posts: 113
Joined: Tue Jan 11, 2022 11:07 pm

Actually the rule may or may not need to trigger when the market is closed, so I don't really want to add the market status condition because if at all possible I would like the rule to fire as soon as possible after the market is suspended. The condition it's currently triggering on is a market SV that is definitely set. This rule sometimes fires correctly. The rule is set to fire on any selection.
User avatar
sibur
Posts: 113
Joined: Tue Jan 11, 2022 11:07 pm

jamesedwards wrote:
Tue May 20, 2025 2:20 pm
sibur wrote:
Tue May 20, 2025 2:11 pm
I have a rule that is always armed. However it doesn't always seem to trigger after the market has closed. I do have the checkbox ticked "Allow trigger when market suspended". If this is by design what options would be best to use so the rule would trigger after market closure?
I think what happens is Guardian does one final sweep once it registers a market has closed and then stops. So you need to initiate everything in the correct order during that single final sweep.
didn't see this. Need to have a think
User avatar
sibur
Posts: 113
Joined: Tue Jan 11, 2022 11:07 pm

Is there any docs about this final sweep. Never saw this before and may explain other issues in past
User avatar
sibur
Posts: 113
Joined: Tue Jan 11, 2022 11:07 pm

Will a rule trigger after market closure if you use the trigger option 'relative to market start time' and have a period well beyond when the event is due to end?
User avatar
jamesedwards
Posts: 4332
Joined: Wed Nov 21, 2018 6:16 pm

sibur wrote:
Tue May 20, 2025 5:42 pm
Will a rule trigger after market closure if you use the trigger option 'relative to market start time' and have a period well beyond when the event is due to end?
I *think*, only if Guardian first registers the market as closed during your set period.

I work on the principle that when Guardian first arrives at a closed market; it registers the market is closed, completes a final sweep through your rule file, then doesn't revisit that market ever again.
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

You may want to nest 2 'Market Status' condition..
Is it (Suspended) or (closed).
User avatar
jamesedwards
Posts: 4332
Joined: Wed Nov 21, 2018 6:16 pm

jamesedwards wrote:
Tue May 20, 2025 5:49 pm
sibur wrote:
Tue May 20, 2025 5:42 pm
Will a rule trigger after market closure if you use the trigger option 'relative to market start time' and have a period well beyond when the event is due to end?
I *think*, only if Guardian first registers the market as closed during your set period.

I work on the principle that when Guardian first arrives at a closed market; it registers the market is closed, completes a final sweep through your rule file, then doesn't revisit that market ever again.
Although this response from the Bet Angel AI help would suggest my assumption is not correct.
z142.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
sibur
Posts: 113
Joined: Tue Jan 11, 2022 11:07 pm

Yes well I'd hope that was the case and I think that's how it should work but not from my observations.
User avatar
jamesedwards
Posts: 4332
Joined: Wed Nov 21, 2018 6:16 pm

sibur wrote:
Tue May 20, 2025 6:04 pm
Yes well I'd hope that was the case and I think that's how it should work but not from my observations.
I'm going to run a quick test...
User avatar
jamesedwards
Posts: 4332
Joined: Wed Nov 21, 2018 6:16 pm

jamesedwards wrote:
Tue May 20, 2025 6:08 pm
sibur wrote:
Tue May 20, 2025 6:04 pm
Yes well I'd hope that was the case and I think that's how it should work but not from my observations.
I'm going to run a quick test...
So I asked Guardian to increment an SV every minute that a market was 'suspended' then increment another SV every minute that the same market was 'closed'.

The increment for 'suspended' worked fine. But once the market closed at 18:15:35, the automation only registered the 'closed' status once, failing to increment any further.

20/05/2025 18:14:28: [G_Auto 1] : Store Value (Shared) for market: closed refresh count = 0
20/05/2025 18:14:28: [G_Auto 1] : Store Value (Shared) for market: suspended refresh count = 0
20/05/2025 18:14:28: [G_Auto 1] : Store Value (Shared) for market: suspended refresh count = 0 + 1 = 1
20/05/2025 18:15:28: [G_Auto 1] : Store Value (Shared) for market: suspended refresh count = 1 + 1 = 2
20/05/2025 18:15:35: [G_Auto 1] : Store Value (Shared) for market: closed refresh count = 0 + 1 = 1



My conclusion is that Guardian indeed, only runs one final sweep through the rulefile once it registers a market as closed.
User avatar
sibur
Posts: 113
Joined: Tue Jan 11, 2022 11:07 pm

Thanks for spending the time to analyse. My rule executes once and triggers according to 1 market sv that may be set before or after closure. I think this will mean if the sv is set after closure (by another rule), this rule won't then run. I am at a loss to figure whether I can do anything about this because the rule that changes the sv is set in a completely different BAF.
Post Reply

Return to “Bet Angel - Automation”