Fixed date & time

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
MartinJWilliams
Posts: 52
Joined: Tue May 10, 2022 3:10 pm

Hi,

Is there a way of setting a rule so that it starts at a pre-determined time but finishes with a relevancy to the start time of the race?
Thanks,
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

MartinJWilliams wrote:
Sat Oct 28, 2023 1:00 pm
Hi,

Is there a way of setting a rule so that it starts at a pre-determined time but finishes with a relevancy to the start time of the race?
Thanks,
You can set the start time using the rule trigger condition (fixed date and time), you can use a condition to stop the rule, by testing the number of seconds in-play stored value.
MartinJWilliams
Posts: 52
Joined: Tue May 10, 2022 3:10 pm

Thanks. I'm new to automation so bear with me :)
I have some other green up rules pre-off that form part of the automation so didn't want this rule to reference the in-play time. Based on your solution, I've come up with the following and wanted to see if you thought this would work?

1) New rule Set/Modify signal called 'Seconds until start time', always armed.
2) Stores a value called 'startime' for the current selection with ' the seconds until the Event Start Time'
3) Add a Signal Value condition to the rule that I want to reference the start time.
4) The value of the signal names 'startime' for the selection is greater than 10.

It makes logical sense to me but it's all very new.

Thanks again.
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

MartinJWilliams wrote:
Sat Oct 28, 2023 2:09 pm
Thanks. I'm new to automation so bear with me :)
I have some other green up rules pre-off that form part of the automation so didn't want this rule to reference the in-play time. Based on your solution, I've come up with the following and wanted to see if you thought this would work?

1) New rule Set/Modify signal called 'Seconds until start time', always armed.
2) Stores a value called 'startime' for the current selection with ' the seconds until the Event Start Time'
3) Add a Signal Value condition to the rule that I want to reference the start time.
4) The value of the signal names 'startime' for the selection is greater than 10.

It makes logical sense to me but it's all very new.

Thanks again.
If, for example, you want a rule to be armed from 15:00 today until 5 minutes before event start time, you can simply arm the rule for 15:00 until the end of the day's trading.

Then, include a condition in the rule: [The seconds until the event start time] > 300

The rule will continue to be armed but it will never trigger after 5 minutes to event time because the above condition will prevent it from triggering.
MartinJWilliams
Posts: 52
Joined: Tue May 10, 2022 3:10 pm

Yes, I tried that today but couldn't get the automation to fire at all once I'd added that additional rule. I've posted some screen shots on the shared file page of the rule I was playing around with, no doubt I've just set it up incorrectly.

viewtopic.php?p=341532#p341532
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

MartinJWilliams wrote:
Sat Oct 28, 2023 7:11 pm
Yes, I tried that today but couldn't get the automation to fire at all once I'd added that additional rule. I've posted some screen shots on the shared file page of the rule I was playing around with, no doubt I've just set it up incorrectly.

viewtopic.php?p=341532#p341532
There's no need to use a signal or SV. Just use a condition like this. The condition below will stop the rule from firing from 30 seconds before the event start time.

Edit: that should be greater or equal to, not less than.

Screenshot 2023-10-28 192601.png
You do not have the required permissions to view the files attached to this post.
MartinJWilliams
Posts: 52
Joined: Tue May 10, 2022 3:10 pm

Ahhh, that makes sense... I basically over complicated it. I'll give that a go. Thank you!
Post Reply

Return to “Bet Angel - Automation”