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'?
Keep then cancel at in-play in Guardian?
Two thoughts:jamesedwards wrote: ↑Fri Aug 09, 2024 5:49 pmI'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'?
1. You could either FOK it,
2. You could run a separate Cancel all bot
You do not have the required permissions to view the files attached to this post.
- jamesedwards
- Posts: 4366
- Joined: Wed Nov 21, 2018 6:16 pm
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.Anbell wrote: ↑Sat Aug 10, 2024 12:16 amTwo thoughts:jamesedwards wrote: ↑Fri Aug 09, 2024 5:49 pmI'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'?
1. You could either FOK it,
2. You could run a separate Cancel all bot
image_2024-08-10_091609548.png
- jamesedwards
- Posts: 4366
- Joined: Wed Nov 21, 2018 6:16 pm
Bump TTT.
Anyone know if there is a way to achieve this?
Anyone know if there is a way to achieve this?
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.
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.
- jamesedwards
- Posts: 4366
- Joined: Wed Nov 21, 2018 6:16 pm
Can you cancel a kept bet though when the market is suspended?Dabbla wrote: ↑Sat Aug 17, 2024 8:30 pmI 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.
Just testing itjamesedwards wrote: ↑Sat Aug 17, 2024 10:07 pmCan you cancel a kept bet though when the market is suspended?Dabbla wrote: ↑Sat Aug 17, 2024 8:30 pmI 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.
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.
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.
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.
You do not have the required permissions to view the files attached to this post.
- jamesedwards
- Posts: 4366
- Joined: Wed Nov 21, 2018 6:16 pm
Thanks Dabba. This sounds like a decent solution. I didn't realise you could cancel bets during a suspension period.Dabbla wrote: ↑Sun Aug 18, 2024 9:13 amIts 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