
I am running a real life trial with a new system and have been getting some strange results from the Green All rule. The system uses the football match odds markets and places one bet when a set of conditions are met (stake £2.00). It then monitors the market for a green-up opportunity of 50p or more. The green-up is set to trigger 3 times at market odds with 10 sec's between each attempt. So here is an extract from a typical Log file …
20/09/2020 17:58:02: [G_Auto] : Automation Signal for Leverkusen: Layed = 1
20/09/2020 17:58:07: [G_Auto] : £ 2.00 Lay bet placed on Leverkusen at 2.66. Fully matched at 2.66. Ref: 211735235807
20/09/2020 18:14:58: Guardian has detected that the market is now unsuspended
20/09/2020 18:30:28: [G_Auto] : Greened up Leverkusen by Backing 1.50 at 3.55
20/09/2020 18:30:38: [G_Auto] : Greened up Leverkusen by Backing 1.48 at 3.6
20/09/2020 18:30:48: [G_Auto] : Greened up Leverkusen by Laying 0.02 at 3.55
20/09/2020 18:50:28: Guardian has detected that the market is suspended
As you can see there were no suspensions around the time of the greening-up to confuse the issue.
The resulting bets in my account were …
Leverkusen 2.66 2.00 Lay 20-Sep-20 17:58 2.00
Leverkusen 3.60 1.50 Back 20-Sep-20 18:30 -1.50
Leverkusen 3.60 1.48 Back 20-Sep-20 18:30 -1.48
I assume the third green-up bet was not matched but see it as insignificant.
Betfair is also showing 3 Cancelled bets …
Football / Wolfsburg v Leverkusen / Match Odds Leverkusen Back 211738988616 20-Sep-20 18:30 C 1000 1.50 Unmatched -
Football / Wolfsburg v Leverkusen / Match Odds Leverkusen Back 211739008754 20-Sep-20 18:30 C 1000 1.48 Unmatched -
Football / Wolfsburg v Leverkusen / Match Odds Leverkusen Lay 211739028790 20-Sep-20 18:30 C 2 2.00 2.00 Unmatched -
I have no idea why they are there!
And the third green-up bet is confirmed as having Lapsed.
The first green-up bet would have given the required 50p profit so why did the second bet fire? Could it have been that at the time BA did the second green-up calculation the first green-up bet had not been matched and so the second green-up bet was fired but because of the delay by the time the instruction to cancel the first green-up bet reached the market it had been matched? I am new to the football markets and this is the first time I have encountered such green-up activity. Is my analysis likely to be correct and if so what is the workaround? Should I fire a "cancel all unmatched" rule 5 seconds before the next green-up in anticipation?