Keep then cancel at in-play in Guardian?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
jamesedwards
Posts: 4366
Joined: Wed Nov 21, 2018 6:16 pm

I'm looking to set a football match so it keeps unmatched bets at kick-off but then sets them to cancel during a suspend period in the event of a goal.

I can achieve this manually by marking an unmatched bet as 'keep at in-play' before kick off, and then marking the same bet as 'cancel at in-play' once the game is underway.

Is there any way to achieve this automatically in Guardian? Obviously you can set unmatched to 'keep', but I don't think there is an option to 'cancel at in-play'?
Anbell
Posts: 2405
Joined: Fri Apr 05, 2019 2:31 am

jamesedwards wrote:
Fri Aug 09, 2024 5:49 pm
I'm looking to set a football match so it keeps unmatched bets at kick-off but then sets them to cancel during a suspend period in the event of a goal.

I can achieve this manually by marking an unmatched bet as 'keep at in-play' before kick off, and then marking the same bet as 'cancel at in-play' once the game is underway.

Is there any way to achieve this automatically in Guardian? Obviously you can set unmatched to 'keep', but I don't think there is an option to 'cancel at in-play'?
Two thoughts:
1. You could either FOK it,
2. You could run a separate Cancel all bot
image_2024-08-10_091609548.png
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 4366
Joined: Wed Nov 21, 2018 6:16 pm

Anbell wrote:
Sat Aug 10, 2024 12:16 am
jamesedwards wrote:
Fri Aug 09, 2024 5:49 pm
I'm looking to set a football match so it keeps unmatched bets at kick-off but then sets them to cancel during a suspend period in the event of a goal.

I can achieve this manually by marking an unmatched bet as 'keep at in-play' before kick off, and then marking the same bet as 'cancel at in-play' once the game is underway.

Is there any way to achieve this automatically in Guardian? Obviously you can set unmatched to 'keep', but I don't think there is an option to 'cancel at in-play'?
Two thoughts:
1. You could either FOK it,
2. You could run a separate Cancel all bot
image_2024-08-10_091609548.png
I don't want to cancel it. I want to move it to 'cancel at in-play' status so it won't keep past a goal.
User avatar
jamesedwards
Posts: 4366
Joined: Wed Nov 21, 2018 6:16 pm

Bump TTT.

Anyone know if there is a way to achieve this?
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

I don’t think you can change it.

What I would is, set a signal/SV when the market is in play. You will need to add a (time after suspension) condition longer than the (time after suspension) condition below.

Then set my cancel rule, to cancel when,
The (in play signal/sv ) is set with a value
The market condition (Market status) is suspended or (time after suspension) is < x.

Also, allow the rule to trigger when the market is suspended.
User avatar
jamesedwards
Posts: 4366
Joined: Wed Nov 21, 2018 6:16 pm

Dabbla wrote:
Sat Aug 17, 2024 8:30 pm
I don’t think you can change it.

What I would is, set a signal/SV when the market is in play. You will need to add a (time after suspension) condition longer than the (time after suspension) condition below.

Then set my cancel rule, to cancel when,
The (in play signal/sv ) is set with a value
The market condition (Market status) is suspended or (time after suspension) is < x.

Also, allow the rule to trigger when the market is suspended.
Can you cancel a kept bet though when the market is suspended?
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

jamesedwards wrote:
Sat Aug 17, 2024 10:07 pm
Dabbla wrote:
Sat Aug 17, 2024 8:30 pm
I don’t think you can change it.

What I would is, set a signal/SV when the market is in play. You will need to add a (time after suspension) condition longer than the (time after suspension) condition below.

Then set my cancel rule, to cancel when,
The (in play signal/sv ) is set with a value
The market condition (Market status) is suspended or (time after suspension) is < x.

Also, allow the rule to trigger when the market is suspended.
Can you cancel a kept bet though when the market is suspended?
Just testing it
One did the other gave an error
17/08/2024 23:13:04: Guardian has detected that the market is suspended
17/08/2024 23:13:04: [G_Auto 4] : Cancelling bets 357xx
17/08/2024 23:13:17: Guardian has detected that the market is now unsuspended

--------------------------------------------------------------------------------------------------------
17/08/2024 23:12:06: Guardian has detected that the market is suspended
17/08/2024 23:12:06: [G_Auto 4] : An error occurred while cancelling bets: The order cannot be processed as the market is suspended.
17/08/2024 23:12:09: Guardian has detected that the market is now unsuspended

I have done similar in the past, but may have just used (time after suspension) method.
Also , I don’t think this will work in practice mode.

I’ll run some more tests and report back.
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

Its seems to be working ok. I test about 12 market and I have seen one error. Although, that did cancel 30 seconds later, not sure what causes the error.

18/08/2024 01:34:21: Guardian has detected that the market is suspended
18/08/2024 01:34:21: [G_Auto 4] : An error occurred while cancelling bets: The order cannot be processed as the market is suspended.
18/08/2024 01:34:23: Guardian has detected that the market is now unsuspended
18/08/2024 01:34:51: Guardian has detected that the market is suspended
18/08/2024 01:34:51: [G_Auto 4] : Cancelling bets 357xx
18/08/2024 01:34:55: Guardian has detected that the market is now unsuspended

Here’s the file, this is only testing the cancel during suspension. I have not added the (Unsuspended time condition), that should get around the errors but not test it.

For testing, the file will place £1 bet on the fav @ 1000 then cancel when suspended.
JAMES TEST.baf
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 4366
Joined: Wed Nov 21, 2018 6:16 pm

Dabbla wrote:
Sun Aug 18, 2024 9:13 am
Its seems to be working ok. I test about 12 market and I have seen one error. Although, that did cancel 30 seconds later, not sure what causes the error.

18/08/2024 01:34:21: Guardian has detected that the market is suspended
18/08/2024 01:34:21: [G_Auto 4] : An error occurred while cancelling bets: The order cannot be processed as the market is suspended.
18/08/2024 01:34:23: Guardian has detected that the market is now unsuspended
18/08/2024 01:34:51: Guardian has detected that the market is suspended
18/08/2024 01:34:51: [G_Auto 4] : Cancelling bets 357xx
18/08/2024 01:34:55: Guardian has detected that the market is now unsuspended

Here’s the file, this is only testing the cancel during suspension. I have not added the (Unsuspended time condition), that should get around the errors but not test it.

For testing, the file will place £1 bet on the fav @ 1000 then cancel when suspended.

JAMES TEST.baf
Thanks Dabba. This sounds like a decent solution. I didn't realise you could cancel bets during a suspension period.
Post Reply

Return to “Bet Angel - Automation”