Trigger points for automation rules

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Justin53
Posts: 63
Joined: Fri Apr 20, 2018 12:12 pm

Hi everyone,

I was hoping to get an answer on this query.

Within an automation file, is it possible to set up an automation rule where you tell it to only trigger once every 30 seconds?

I know you can set up a trigger delay for when you first arm the automation file, but I would like the rules only to trigger once every 30 seconds from the moment it is armed continuing on until the amount of triggers expire.

Is this possible?

Thanks for your input.

Justin. :)
sionascaig
Posts: 1639
Joined: Fri Nov 20, 2015 9:38 am

Justin53 wrote:
Tue Dec 10, 2024 7:43 am
Hi everyone,

I was hoping to get an answer on this query.

Within an automation file, is it possible to set up an automation rule where you tell it to only trigger once every 30 seconds?

I know you can set up a trigger delay for when you first arm the automation file, but I would like the rules only to trigger once every 30 seconds from the moment it is armed continuing on until the amount of triggers expire.

Is this possible?

Thanks for your input.

Justin. :)
Just use the "wait" 30 "secs before rearming" option?
Justin53
Posts: 63
Joined: Fri Apr 20, 2018 12:12 pm

sionascaig wrote:
Tue Dec 10, 2024 9:28 am
Justin53 wrote:
Tue Dec 10, 2024 7:43 am
Hi everyone,

I was hoping to get an answer on this query.

Within an automation file, is it possible to set up an automation rule where you tell it to only trigger once every 30 seconds?

I know you can set up a trigger delay for when you first arm the automation file, but I would like the rules only to trigger once every 30 seconds from the moment it is armed continuing on until the amount of triggers expire.

Is this possible?

Thanks for your input.

Justin. :)
Just use the "wait" 30 "secs before rearming" option?
That rearming option only works once from the moment you arm the automation file. After that first 30 seconds elapses it just continues to rearm immediately after it is triggered...
sionascaig
Posts: 1639
Joined: Fri Nov 20, 2015 9:38 am

Justin53 wrote:
Tue Dec 10, 2024 9:40 am

That rearming option only works once from the moment you arm the automation file. After that first 30 seconds elapses it just continues to rearm immediately after it is triggered...
That's not my understanding of how it works. Not sure what is happening in your case.

An alternative maybe to set a signal and increment it every say 5 secs (to allow for market refreshes)... When it gets to 30 use that as a trigger for your rule and reset the signal?

(I think there maybe some Dallas examples of this in the automation library)
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

It needs to be set up something like this
rearm.PNG
You do not have the required permissions to view the files attached to this post.
Justin53
Posts: 63
Joined: Fri Apr 20, 2018 12:12 pm

All I really need is for the entire automation file to arm for 1 second then disarm for 30 and rearm again for 1 second etc... But I don't think that is possible...
User avatar
jamesedwards
Posts: 4262
Joined: Wed Nov 21, 2018 6:16 pm

Justin53 wrote:
Wed Dec 11, 2024 8:26 am
All I really need is for the entire automation file to arm for 1 second then disarm for 30 and rearm again for 1 second etc... But I don't think that is possible...
Set a stored value to 1 every 30 seconds in the first line of your rulesfile. Use that stored value as a condition to all your rulelines. Set the stored value back to zero in the last line of your rulesfile.
Justin53
Posts: 63
Joined: Fri Apr 20, 2018 12:12 pm

jamesedwards wrote:
Wed Dec 11, 2024 10:04 am
Justin53 wrote:
Wed Dec 11, 2024 8:26 am
All I really need is for the entire automation file to arm for 1 second then disarm for 30 and rearm again for 1 second etc... But I don't think that is possible...
Set a stored value to 1 every 30 seconds in the first line of your rulesfile. Use that stored value as a condition to all your rulelines. Set the stored value back to zero in the last line of your rulesfile.
Thanks, James for your answer.

So let me clarify. You set the "1 every 30 seconds" stored value as the first rules file up above all the other rules in the file. Is this the "Set / Modify a Stored Value Only" rule type?

Then I am not sure how to implement this as a condition in all the other rules files. If you could please explain how this is done that would be great.

Then the final rule at the bottom is something I don't really know how to implement in Betangel either.

Sorry for being so amateurish, but I guess I just need to be walked through step by step if that is ok...?

Thanks again,

Justin.
User avatar
jamesedwards
Posts: 4262
Joined: Wed Nov 21, 2018 6:16 pm

Justin53 wrote:
Thu Dec 19, 2024 3:18 am
jamesedwards wrote:
Wed Dec 11, 2024 10:04 am
Justin53 wrote:
Wed Dec 11, 2024 8:26 am
All I really need is for the entire automation file to arm for 1 second then disarm for 30 and rearm again for 1 second etc... But I don't think that is possible...
Set a stored value to 1 every 30 seconds in the first line of your rulesfile. Use that stored value as a condition to all your rulelines. Set the stored value back to zero in the last line of your rulesfile.
Thanks, James for your answer.

So let me clarify. You set the "1 every 30 seconds" stored value as the first rules file up above all the other rules in the file. Is this the "Set / Modify a Stored Value Only" rule type?
Yes. Set this to trigger every 30 secs.
Justin53 wrote:
Thu Dec 19, 2024 3:18 am
Then I am not sure how to implement this as a condition in all the other rules files. If you could please explain how this is done that would be great.
z36.JPG
Justin53 wrote:
Thu Dec 19, 2024 3:18 am
Then the final rule at the bottom is something I don't really know how to implement in Betangel either.
Use the "Set / Modify a Stored Value Only" rule type again, get it to trigger every refresh, but this time set the same SV back to 0.

So, every 30 secs it will switch the SV to 1, trigger any other rule you have with the SV=1 condition, then reset the SV back to 0 at the end.
You do not have the required permissions to view the files attached to this post.
Justin53
Posts: 63
Joined: Fri Apr 20, 2018 12:12 pm

jamesedwards wrote:
Thu Dec 19, 2024 9:28 am
Justin53 wrote:
Thu Dec 19, 2024 3:18 am
jamesedwards wrote:
Wed Dec 11, 2024 10:04 am


Set a stored value to 1 every 30 seconds in the first line of your rulesfile. Use that stored value as a condition to all your rulelines. Set the stored value back to zero in the last line of your rulesfile.
Thanks, James for your answer.

So let me clarify. You set the "1 every 30 seconds" stored value as the first rules file up above all the other rules in the file. Is this the "Set / Modify a Stored Value Only" rule type?
Yes. Set this to trigger every 30 secs.
Justin53 wrote:
Thu Dec 19, 2024 3:18 am
Then I am not sure how to implement this as a condition in all the other rules files. If you could please explain how this is done that would be great.
z36.JPG
Justin53 wrote:
Thu Dec 19, 2024 3:18 am
Then the final rule at the bottom is something I don't really know how to implement in Betangel either.
Use the "Set / Modify a Stored Value Only" rule type again, get it to trigger every refresh, but this time set the same SV back to 0.

So, every 30 secs it will switch the SV to 1, trigger any other rule you have with the SV=1 condition, then reset the SV back to 0 at the end.
Thank-you James this is extremely helpful, and I know it is going to work by enabling all the rules only to trigger once every 30 seconds. This will prevent a rule from immediately re-triggering after a bet with an offset is matched and the offset being placed has that slight delay.

I am new to the concept of stored values, but I understand what you are getting me to do. Only, I don't understand exactly how to set up the two "Set/Modify a Stored Value Only" rules up so that the SV reverts to "1" every 30 secs then reverts back to "0". Your screenshot shows me clearly how to implement the condition into all the rules files either side of these two stored value rules within the automation file.

If possible, could you include a screenshot for these two Stored Value Condition rules as I believe that will make it clear what I am required to do. I am unsure whether you need to set the Stored Values of "1" and "0" up elsewhere in a separate rule file, or whether you set these values within the actual "Set / Modify a Stored Value Only" rule type.

Sorry for being such a hassle, but once I fully grasp how stored values are set up, I will be able to implement any future automation files on my own without the need for such extensive help...

You are a life saver as this will prevent double-triggering in these types of files I have set up and will solve all my problems.

Thanks for all your help, James. I so greatly appreciate it,

Justin
User avatar
jamesedwards
Posts: 4262
Joined: Wed Nov 21, 2018 6:16 pm

Justin53 wrote:
Fri Dec 20, 2024 12:16 am
jamesedwards wrote:
Thu Dec 19, 2024 9:28 am
Justin53 wrote:
Thu Dec 19, 2024 3:18 am


Thanks, James for your answer.

So let me clarify. You set the "1 every 30 seconds" stored value as the first rules file up above all the other rules in the file. Is this the "Set / Modify a Stored Value Only" rule type?
Yes. Set this to trigger every 30 secs.
Justin53 wrote:
Thu Dec 19, 2024 3:18 am
Then I am not sure how to implement this as a condition in all the other rules files. If you could please explain how this is done that would be great.
z36.JPG
Justin53 wrote:
Thu Dec 19, 2024 3:18 am
Then the final rule at the bottom is something I don't really know how to implement in Betangel either.
Use the "Set / Modify a Stored Value Only" rule type again, get it to trigger every refresh, but this time set the same SV back to 0.

So, every 30 secs it will switch the SV to 1, trigger any other rule you have with the SV=1 condition, then reset the SV back to 0 at the end.
Thank-you James this is extremely helpful, and I know it is going to work by enabling all the rules only to trigger once every 30 seconds. This will prevent a rule from immediately re-triggering after a bet with an offset is matched and the offset being placed has that slight delay.

I am new to the concept of stored values, but I understand what you are getting me to do. Only, I don't understand exactly how to set up the two "Set/Modify a Stored Value Only" rules up so that the SV reverts to "1" every 30 secs then reverts back to "0". Your screenshot shows me clearly how to implement the condition into all the rules files either side of these two stored value rules within the automation file.

If possible, could you include a screenshot for these two Stored Value Condition rules as I believe that will make it clear what I am required to do. I am unsure whether you need to set the Stored Values of "1" and "0" up elsewhere in a separate rule file, or whether you set these values within the actual "Set / Modify a Stored Value Only" rule type.

Sorry for being such a hassle, but once I fully grasp how stored values are set up, I will be able to implement any future automation files on my own without the need for such extensive help...

You are a life saver as this will prevent double-triggering in these types of files I have set up and will solve all my problems.

Thanks for all your help, James. I so greatly appreciate it,

Justin
Here's an example that triggers three separate rules every 30 secs using the method I mentioned above, each placing a £1 back bet @ 100.0.
test7.baf
You do not have the required permissions to view the files attached to this post.
Justin53
Posts: 63
Joined: Fri Apr 20, 2018 12:12 pm

jamesedwards wrote:
Fri Dec 20, 2024 12:51 am
Justin53 wrote:
Fri Dec 20, 2024 12:16 am
jamesedwards wrote:
Thu Dec 19, 2024 9:28 am


Yes. Set this to trigger every 30 secs.



z36.JPG



Use the "Set / Modify a Stored Value Only" rule type again, get it to trigger every refresh, but this time set the same SV back to 0.

So, every 30 secs it will switch the SV to 1, trigger any other rule you have with the SV=1 condition, then reset the SV back to 0 at the end.
Thank-you James this is extremely helpful, and I know it is going to work by enabling all the rules only to trigger once every 30 seconds. This will prevent a rule from immediately re-triggering after a bet with an offset is matched and the offset being placed has that slight delay.

I am new to the concept of stored values, but I understand what you are getting me to do. Only, I don't understand exactly how to set up the two "Set/Modify a Stored Value Only" rules up so that the SV reverts to "1" every 30 secs then reverts back to "0". Your screenshot shows me clearly how to implement the condition into all the rules files either side of these two stored value rules within the automation file.

If possible, could you include a screenshot for these two Stored Value Condition rules as I believe that will make it clear what I am required to do. I am unsure whether you need to set the Stored Values of "1" and "0" up elsewhere in a separate rule file, or whether you set these values within the actual "Set / Modify a Stored Value Only" rule type.

Sorry for being such a hassle, but once I fully grasp how stored values are set up, I will be able to implement any future automation files on my own without the need for such extensive help...

You are a life saver as this will prevent double-triggering in these types of files I have set up and will solve all my problems.

Thanks for all your help, James. I so greatly appreciate it,

Justin
Here's an example that triggers three separate rules every 30 secs using the method I mentioned above, each placing a £1 back bet @ 100.0.

test7.baf
Thanks for sending this .baf file James, it is super helpful and will solve my dilemma.

You really have fixed a problem I thought was impossible. And on top of that, I am learning so much more about what Guardian and Betangel automation can offer me.

I can't thank you enough. Have a wonderful Christmas over there in England (I presume that's where you're based, I am in Australia) and a happy new year. We have already both received the Christmas gift from Betfair of the scrapped premium charge. A great start to 2025!

Justin. :)
Post Reply

Return to “Bet Angel - Automation”