trade out after a goal

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
snelo
Posts: 6
Joined: Wed Feb 26, 2025 4:44 pm

I'm really struggling to get my automation bot to trade out if there's a goal scored.

I am the rest of the bot running well.

I'm am using the O/U3.5 market, and really simply just nee to shut down the whole trade if a goal is scored, to minimise the loss.
I'm going through the forum but I am struggling to find something that is simple to implement or understand

thank you for any help :D

Ok so now it is acknowledging a goal has been scored and that it is trading out after a goal but not because the goal was scored

LOG

03/03/2025 17:50:00: [G_Auto 1] : £ 10.00 Lay bet placed on Over 3.5 Goals at 4.1. Fully matched at 4.1. Ref: 10070 ( Fill or kill bet with 0.5 seconds delay. )
03/03/2025 17:59:54: Guardian has detected that the market is in-play
03/03/2025 17:59:54: Guardian has detected that the market is suspended
03/03/2025 18:00:01: Guardian has detected that the market is now unsuspended
03/03/2025 18:04:26: Guardian has detected that the market is suspended (THIS WAS THE GOAL)
03/03/2025 18:04:33: Guardian has detected that the market is now unsuspended
03/03/2025 18:09:10: [G_Auto 1] : Greened up Over 3.5 Goals by Backing 17.98 at 2.28 (this is my 9min trade out time for the actual strategy)
User avatar
jamesedwards
Posts: 3920
Joined: Wed Nov 21, 2018 6:16 pm

snelo wrote:
Mon Mar 03, 2025 6:25 pm
I'm really struggling to get my automation bot to trade out if there's a goal scored.

I am the rest of the bot running well.

I'm am using the O/U3.5 market, and really simply just nee to shut down the whole trade if a goal is scored, to minimise the loss.
I'm going through the forum but I am struggling to find something that is simple to implement or understand

thank you for any help :D

Ok so now it is acknowledging a goal has been scored and that it is trading out after a goal but not because the goal was scored

LOG

03/03/2025 17:50:00: [G_Auto 1] : £ 10.00 Lay bet placed on Over 3.5 Goals at 4.1. Fully matched at 4.1. Ref: 10070 ( Fill or kill bet with 0.5 seconds delay. )
03/03/2025 17:59:54: Guardian has detected that the market is in-play
03/03/2025 17:59:54: Guardian has detected that the market is suspended
03/03/2025 18:00:01: Guardian has detected that the market is now unsuspended
03/03/2025 18:04:26: Guardian has detected that the market is suspended (THIS WAS THE GOAL)
03/03/2025 18:04:33: Guardian has detected that the market is now unsuspended
03/03/2025 18:09:10: [G_Auto 1] : Greened up Over 3.5 Goals by Backing 17.98 at 2.28 (this is my 9min trade out time for the actual strategy)
There are several ways to do this. I would probably monitor the price of 0-0 in the correct score market, and use a stored value at Event level to trigger a greening action in the O/U3.5 market when 0-0 CS odds become greater than 100.
snelo
Posts: 6
Joined: Wed Feb 26, 2025 4:44 pm

Thank you, I did think of that.
My knowledge and skill of getting this to accomplish that isn't there yet I will keep playing and try to do that.

I assume that also means I would need the 0-0 market open in guardian too? :?:
User avatar
jamesedwards
Posts: 3920
Joined: Wed Nov 21, 2018 6:16 pm

snelo wrote:
Tue Mar 04, 2025 7:35 pm
Thank you, I did think of that.
My knowledge and skill of getting this to accomplish that isn't there yet I will keep playing and try to do that.

I assume that also means I would need the 0-0 market open in guardian too? :?:
Yes, you need a rule against the correct score market that saves a stored value at 'event' level when odds of 0-0 >100, then a rule against the O/U3.5 market that greens up when the SV saved at event level is set.
Post Reply

Return to “Bet Angel - Automation”