Place Lay Bet Fired Twice

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Eldog
Posts: 13
Joined: Sat Mar 14, 2020 9:52 pm

Morning all,

I've got an automation rule file set up which checks the price of a selection Nominated selection then places a lay bet on said selection 10 seconds before the off. The size of the lay bet varies depending on the current lay price at 10 secs before the start of the event.

I've ran this for months with no problems, however yesterday I was surprised to see that one of the races had wiped out all of my profit for the day as it had fired the bet twice, then gone on to lose.

I'll paste the logs below, and attach a copy of the Rule file but I would be grateful of any input regarding why this may have happened, and any means I can implement to avoid it in the future?

Code: Select all

8/24/2023 13:35:24:  Guardian has detected that the market is suspended
8/24/2023 13:35:25:  Guardian has detected that the market is now unsuspended
8/24/2023 14:22:16:  Guardian has detected that the market is suspended
8/24/2023 14:22:17:  Guardian has detected that the market is now unsuspended
8/24/2023 18:28:50:  Guardian has detected that the market is suspended
8/24/2023 18:28:51:  Guardian has detected that the market is now unsuspended
8/24/2023 19:19:50: [G_Auto 1] :  £ 4.11 Lay bet placed on Tango Echo Charlie at 7.4. Entirely unmatched when it initially reached the market.   Ref: 318166765798
8/24/2023 19:19:50: [G_Auto 1] :  £ 2.74 Lay bet placed on Tango Echo Charlie at 7.6. Fully matched at 7.6.  Ref: 318166766613
8/24/2023 19:21:05:  Guardian has detected that the market is suspended
8/24/2023 19:21:07:  Guardian has detected that the market is in-play
8/24/2023 19:21:07:  Guardian has detected that the market is now unsuspended
8/24/2023 19:26:43:  Guardian has detected that the market is suspended
You do not have the required permissions to view the files attached to this post.
sionascaig
Posts: 1678
Joined: Fri Nov 20, 2015 9:38 am

Your 2nd rule triggers if price is less than 7.6 and 3rd rule triggers if price > 7.4 which is consistent with the log, i.e. if the price of the nominated selection changes from 7.4 to 7.6 in right time frame then both rules will fire?

edit - and the bot checks for matched bets, the 1st bet placed was initially unmatched so that might be the issue.
Eldog
Posts: 13
Joined: Sat Mar 14, 2020 9:52 pm

sionascaig wrote:
Fri Aug 25, 2023 9:56 am
Your 2nd rule triggers if price is less than 7.6 and 3rd rule triggers if price > 7.4 which is consistent with the log, i.e. if the price of the nominated selection changes from 7.4 to 7.6 in right time frame then both rules will fire?

edit - and the bot checks for matched bets, the 1st bet placed was initially unmatched so that might be the issue.
Ah understood - Thank you. Is there a better condition to use which would pick up both matched AND unmatched bets?
sionascaig
Posts: 1678
Joined: Fri Nov 20, 2015 9:38 am

Eldog wrote:
Fri Aug 25, 2023 10:46 am

Ah understood - Thank you. Is there a better condition to use which would pick up both matched AND unmatched bets?
You could use the unmatched bets condition as well? (so use both conditions)
Post Reply

Return to “Bet Angel - Automation”