DOB with Moving Exit Guardian Automation Bot

Post Reply
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

jackrob wrote:
Fri Oct 21, 2022 12:46 pm
thank you very much - sorry 1 last question - can you tell me why its not greening up? when in profit? Many thanks
If you mean the original green up rule you'll need to ensure you have Guardian refreshing at 20ms and possibly even restrict the refresh rate to just the markets that are about to start.
This post explains why this matters in more detail and how to make the changes
viewtopic.php?f=37&t=11491
jackrob
Posts: 36
Joined: Tue Nov 09, 2021 12:15 pm

thank you very much
spherelance
Posts: 5
Joined: Wed Oct 19, 2022 1:00 am

New with BetAngel but been having joy with the standard B2L automation so thought I'd give this one a go.

Only thing I've changed is stake down to £5, this returned a profit of £2.57 (before commission) roughly half of what I expected.

Here is the log, see it placed a lay, then cancelled and placed the lay that ended up returning the profit, should the cancel have happened?

23/10/2022 14:04:55: [G_Auto 1] : Store Value for Cloth Cap: exit = 11.5 - 50% = 5.8
23/10/2022 14:04:55: [G_Auto 1] : £ 5.00 Back bet placed on Cloth Cap at 11. Fully matched at 11.5. Ref: 285287410877
23/10/2022 14:06:08: Guardian has detected that the market is suspended
23/10/2022 14:06:09: Guardian has detected that the market is in-play
23/10/2022 14:06:09: Guardian has detected that the market is now unsuspended
23/10/2022 14:09:33: [G_Auto 1] : Store Value for Cloth Cap: new exit = 5.7 + 10 ticks = 7.4
23/10/2022 14:09:33: [G_Auto 1] : Store Value for Cloth Cap: new exit = 5.5 + 10 ticks = 7
23/10/2022 14:09:41: [G_Auto 1] : Placed closure bet with greening on Cloth Cap by Laying 7.99 at 7.2
23/10/2022 14:09:43: [G_Auto 1] : Cancelling bets 285288596712
23/10/2022 14:09:44: [G_Auto 1] : Placed closure bet with greening on Cloth Cap by Laying 7.57 at 7.6
23/10/2022 14:10:30: [G_Auto 1] : Store Value for Cloth Cap: new exit = 5.4 + 10 ticks = 6.8
23/10/2022 14:10:33: [G_Auto 1] : Store Value for Cloth Cap: new exit = 5.3 + 10 ticks = 6.6
23/10/2022 14:10:34: [G_Auto 1] : Store Value for Cloth Cap: new exit = 4.5 + 10 ticks = 5.5
23/10/2022 14:10:37: [G_Auto 1] : Store Value for Cloth Cap: new exit = 4.3 + 10 ticks = 5.3
23/10/2022 14:10:40: [G_Auto 1] : Store Value for Cloth Cap: new exit = 4 + 10 ticks = 5
23/10/2022 14:10:58: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.7 + 10 ticks = 4.4
23/10/2022 14:11:01: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.55 + 10 ticks = 4.1
23/10/2022 14:11:05: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.4 + 10 ticks = 3.9
23/10/2022 14:11:07: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.35 + 10 ticks = 3.85
23/10/2022 14:11:08: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.2 + 10 ticks = 3.7
23/10/2022 14:12:17: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:18: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:19: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:20: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:21: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:22: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:23: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:24: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:25: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:26: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:27: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:28: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:29: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:30: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:31: Guardian has detected that the market is suspended
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

spherelance wrote:
Sun Oct 23, 2022 3:30 pm
New with BetAngel but been having joy with the standard B2L automation so thought I'd give this one a go.

Only thing I've changed is stake down to £5, this returned a profit of £2.57 (before commission) roughly half of what I expected.

Here is the log, see it placed a lay, then cancelled and placed the lay that ended up returning the profit, should the cancel have happened?

23/10/2022 14:04:55: [G_Auto 1] : Store Value for Cloth Cap: exit = 11.5 - 50% = 5.8
23/10/2022 14:04:55: [G_Auto 1] : £ 5.00 Back bet placed on Cloth Cap at 11. Fully matched at 11.5. Ref: 285287410877
23/10/2022 14:06:08: Guardian has detected that the market is suspended
23/10/2022 14:06:09: Guardian has detected that the market is in-play
23/10/2022 14:06:09: Guardian has detected that the market is now unsuspended
23/10/2022 14:09:33: [G_Auto 1] : Store Value for Cloth Cap: new exit = 5.7 + 10 ticks = 7.4
23/10/2022 14:09:33: [G_Auto 1] : Store Value for Cloth Cap: new exit = 5.5 + 10 ticks = 7
23/10/2022 14:09:41: [G_Auto 1] : Placed closure bet with greening on Cloth Cap by Laying 7.99 at 7.2
23/10/2022 14:09:43: [G_Auto 1] : Cancelling bets 285288596712
23/10/2022 14:09:44: [G_Auto 1] : Placed closure bet with greening on Cloth Cap by Laying 7.57 at 7.6
23/10/2022 14:10:30: [G_Auto 1] : Store Value for Cloth Cap: new exit = 5.4 + 10 ticks = 6.8
23/10/2022 14:10:33: [G_Auto 1] : Store Value for Cloth Cap: new exit = 5.3 + 10 ticks = 6.6
23/10/2022 14:10:34: [G_Auto 1] : Store Value for Cloth Cap: new exit = 4.5 + 10 ticks = 5.5
23/10/2022 14:10:37: [G_Auto 1] : Store Value for Cloth Cap: new exit = 4.3 + 10 ticks = 5.3
23/10/2022 14:10:40: [G_Auto 1] : Store Value for Cloth Cap: new exit = 4 + 10 ticks = 5
23/10/2022 14:10:58: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.7 + 10 ticks = 4.4
23/10/2022 14:11:01: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.55 + 10 ticks = 4.1
23/10/2022 14:11:05: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.4 + 10 ticks = 3.9
23/10/2022 14:11:07: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.35 + 10 ticks = 3.85
23/10/2022 14:11:08: [G_Auto 1] : Store Value for Cloth Cap: new exit = 3.2 + 10 ticks = 3.7
23/10/2022 14:12:17: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:18: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:19: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:20: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:21: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:22: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:23: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:24: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:25: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:26: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:27: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:28: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:29: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:30: [G_Auto 1] : Store Value for Cloth Cap: new exit = 0 + 10 ticks = 1.11
23/10/2022 14:12:31: Guardian has detected that the market is suspended
That worked fine, after touching a new low of 5.5 and setting a new exit of 7.0 when the price drifted back out it greened you up as it got to 7.2
spherelance
Posts: 5
Joined: Wed Oct 19, 2022 1:00 am

Dallas wrote:
Mon Oct 24, 2022 9:48 am
That worked fine, after touching a new low of 5.5 and setting a new exit of 7.0 when the price drifted back out it greened you up as it got to 7.2
So while there is a chance of getting more than a normal DOB there is also the chance of getting less.

Good to know, thanks for checking.
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

spherelance wrote:
Mon Oct 24, 2022 10:28 am
Dallas wrote:
Mon Oct 24, 2022 9:48 am
That worked fine, after touching a new low of 5.5 and setting a new exit of 7.0 when the price drifted back out it greened you up as it got to 7.2
So while there is a chance of getting more than a normal DOB there is also the chance of getting less.

Good to know, thanks for checking.
Yes, it works a bit like a trailing stop
balsak1
Posts: 14
Joined: Fri May 13, 2022 10:11 pm

Hi Dallas,

I know this has been discussed at length, In regards to reversing the rule to a 'Lay' rule i have reversed all the conditions in all rules however i noticed in the greening up rule there is a a 'Stored value' saved . Does this value need to be changed .. and if so how do i change it????

Thanks

Johnny
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

balsak1 wrote:
Wed Oct 26, 2022 10:08 pm
Hi Dallas,

I know this has been discussed at length, In regards to reversing the rule to a 'Lay' rule i have reversed all the conditions in all rules however i noticed in the greening up rule there is a a 'Stored value' saved . Does this value need to be changed .. and if so how do i change it????

Thanks

Johnny
The Stored Value named 'New Exit' will need changing to minus 10 ticks (or however many you are using)

and the condition on the green up rule will need changing to 'less than'
that stored value
balsak1
Posts: 14
Joined: Fri May 13, 2022 10:11 pm

Thanks dallas, Just thought of another add on i would like to add to this rule hopefully you can advise if and how to do it. Instead of nominating a selection for the rule ..I would like to use the rule for selection you have for this ' Back or lay at a percentage of bsp' in running automation . So essentially i would like to use the first part of the rule that selects a horse that has drifted by 50% of its BSP .... but the use the trade strategy discussed above??

Hope that makes sense

Kind regards

Johnny
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

balsak1 wrote:
Fri Oct 28, 2022 10:46 am
Thanks dallas, Just thought of another add on i would like to add to this rule hopefully you can advise if and how to do it. Instead of nominating a selection for the rule ..I would like to use the rule for selection you have for this ' Back or lay at a percentage of bsp' in running automation . So essentially i would like to use the first part of the rule that selects a horse that has drifted by 50% of its BSP .... but the use the trade strategy discussed above??

Hope that makes sense

Kind regards

Johnny
Just so I know I understand it correctly

You want this rule to trigger on the same selection/s as what the "Back or lay at a percentage of bsp" rule has triggered on?
balsak1
Posts: 14
Joined: Fri May 13, 2022 10:11 pm

correct....

Thanks
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

balsak1 wrote:
Fri Oct 28, 2022 12:33 pm
correct....

Thanks
OK, On the back/lay rules of the BSP file go onto the Stored Value tab and store the selections Betfair ID for the Event and give it a name of your choice

Then on this rule add a Stored Value condition to test
Selections Betfair ID
is equal to
A Stored Value named (whatever you called it)
balsak1
Posts: 14
Joined: Fri May 13, 2022 10:11 pm

Ok .....cheers Dallas .... wil give it go .

Cheers
balsak1
Posts: 14
Joined: Fri May 13, 2022 10:11 pm

I think i have it working in a fashion Dallas....Might need to do some adjustment on % and ticks......Out of interest would i be able to use this rule in servants as a custom column?????

Cheers

Johnny
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

balsak1 wrote:
Fri Oct 28, 2022 4:39 pm
I think i have it working in a fashion Dallas....Might need to do some adjustment on % and ticks......Out of interest would i be able to use this rule in servants as a custom column?????

Cheers

Johnny
Yes, but if you want it to work starting with the back at BSP rule you'd need to merge the two files into 1

Then apply the back at BSP rule to 'Servant Context'
Post Reply

Return to “Bet Angel Automation - Horse racing - In-running”