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!
Help with automation
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
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
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
You do not have the required permissions to view the files attached to this post.
Thank you sooooo much! I cant describe how grateful i am! Thank you again!Dabbla wrote: ↑Sun Jan 09, 2022 5:24 pmUnfortunately, 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
