Help with automation

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
underx
Posts: 38
Joined: Fri Jan 03, 2020 1:36 pm

Hello everyone. I was wondering if anyone here would help with an automation script that counts how many times (if possible show in guardian) an event has been suspended from start to finish.

Many thanks!
sniffer66
Posts: 1824
Joined: Thu May 02, 2019 8:37 am

Off the top of my head, use a rule that retriggers longer than 5s ,with a "Time since unsuspended" condition, between 0 and 5 seconds to increment a signal each time it matches. Just ignore the initial unsuspend when the event starts.
underx
Posts: 38
Joined: Fri Jan 03, 2020 1:36 pm

sniffer66 wrote:
Sun Jan 09, 2022 2:12 pm
Off the top of my head, use a rule that retriggers longer than 5s ,with a "Time since unsuspended" condition, between 0 and 5 seconds to increment a signal each time it matches. Just ignore the initial unsuspend when the event starts.
Thank you for the reply. How can one show this in guardian? I have been trying to work out a way but i havent had any success
User avatar
Dabbla
Posts: 827
Joined: Wed Apr 15, 2009 1:50 pm

Unfortunately, you can’t put signals into guardian.
I have put a file together for you to use.
When the market goes in-play the file will start with a count of 0
Then add on to that after every suspension.

Add the SV (UNSUSPENDED_COUNT) for the (MARKET) to a guardian list column.


09/01/2022 15:07:38: Guardian has detected that the market is suspended
09/01/2022 15:07:49: Guardian has detected that the market is now unsuspended
09/01/2022 15:07:49: [G_Auto 4] : Store Value (Shared) for market: UNSUSPENDED_COUNT = 0
09/01/2022 15:10:11: Guardian has detected that the market is suspended
09/01/2022 15:11:40: [G_Auto 4] : Store Value (Shared) for market: UNSUSPENDED_COUNT = 1
09/01/2022 15:11:40: Guardian has detected that the market is now unsuspended
09/01/2022 15:12:43: Guardian has detected that the market is suspended
09/01/2022 15:12:57: [G_Auto 4] : Store Value (Shared) for market: UNSUSPENDED_COUNT = 2
09/01/2022 15:12:57: Guardian has detected that the market is now unsuspended
09/01/2022 15:17:30: Guardian has detected that the market is suspended
09/01/2022 15:17:35: [G_Auto 4] : Store Value (Shared) for market: UNSUSPENDED_COUNT = 3
09/01/2022 15:17:35: Guardian has detected that the market is now unsuspended
UNSUSPENDED COUNT.baf
You do not have the required permissions to view the files attached to this post.
underx
Posts: 38
Joined: Fri Jan 03, 2020 1:36 pm

Dabbla wrote:
Sun Jan 09, 2022 5:24 pm
Unfortunately, you can’t put signals into guardian.
I have put a file together for you to use.
When the market goes in-play the file will start with a count of 0
Then add on to that after every suspension.

Add the SV (UNSUSPENDED_COUNT) for the (MARKET) to a guardian list column.


09/01/2022 15:07:38: Guardian has detected that the market is suspended
09/01/2022 15:07:49: Guardian has detected that the market is now unsuspended
09/01/2022 15:07:49: [G_Auto 4] : Store Value (Shared) for market: UNSUSPENDED_COUNT = 0
09/01/2022 15:10:11: Guardian has detected that the market is suspended
09/01/2022 15:11:40: [G_Auto 4] : Store Value (Shared) for market: UNSUSPENDED_COUNT = 1
09/01/2022 15:11:40: Guardian has detected that the market is now unsuspended
09/01/2022 15:12:43: Guardian has detected that the market is suspended
09/01/2022 15:12:57: [G_Auto 4] : Store Value (Shared) for market: UNSUSPENDED_COUNT = 2
09/01/2022 15:12:57: Guardian has detected that the market is now unsuspended
09/01/2022 15:17:30: Guardian has detected that the market is suspended
09/01/2022 15:17:35: [G_Auto 4] : Store Value (Shared) for market: UNSUSPENDED_COUNT = 3
09/01/2022 15:17:35: Guardian has detected that the market is now unsuspended

UNSUSPENDED COUNT.baf
Thank you sooooo much! I cant describe how grateful i am! Thank you again! :D
Post Reply

Return to “Bet Angel - Automation”