Always armed
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?
- jamesedwards
- Posts: 4332
- Joined: Wed Nov 21, 2018 6:16 pm
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.sibur wrote: ↑Tue May 20, 2025 2:11 pmI 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?
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.
didn't see this. Need to have a thinkjamesedwards wrote: ↑Tue May 20, 2025 2:20 pmI 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.sibur wrote: ↑Tue May 20, 2025 2:11 pmI 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?
- jamesedwards
- Posts: 4332
- Joined: Wed Nov 21, 2018 6:16 pm
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.
- jamesedwards
- Posts: 4332
- Joined: Wed Nov 21, 2018 6:16 pm
Although this response from the Bet Angel AI help would suggest my assumption is not correct.jamesedwards wrote: ↑Tue May 20, 2025 5:49 pmI *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.
You do not have the required permissions to view the files attached to this post.
- jamesedwards
- Posts: 4332
- Joined: Wed Nov 21, 2018 6:16 pm
- jamesedwards
- Posts: 4332
- Joined: Wed Nov 21, 2018 6:16 pm
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.
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.