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

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)