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

RayC wrote:
Fri Aug 13, 2021 11:39 am
Thanks Dallas,

Can I just check something. It is OK to have two BetAngels open - one live and one practise?
Yes, thats fine
viewtopic.php?f=47&t=12446
rkay
Posts: 13
Joined: Sun Apr 23, 2017 12:22 am

Hi Dallas , I am a newbie at this and trying out this excellent Bot on practice mode. Thanks for your help as I do not understand how this horse that won the race gave me a profit only of $4 ( on a $10 back bet ) that is less than the DOB profit . Shouldnt it have exited at 1.4 ? and why at 2.82 as per below log.
I have made no changes to the original automation bot. My refresh rate both on Gaurdian and One click screen is 20ms.
many thanks !


14/08/2021 16:47:07: Market changed to Morphettville (AUS) 14th Aug - 16:47 R5 1800m Hcap
14/08/2021 16:48:57: Market has been suspended
14/08/2021 16:48:58: Market has been unsuspended
14/08/2021 16:48:58: Market is in-play
14/08/2021 16:50:51: Market has been suspended


14/08/2021 16:52:57: Market changed to Kembla Grange (AUS) 14th Aug - 16:55 R7 1400m Hcap
14/08/2021 16:54:55: [G_Auto 1] : Store Value for 5. Frosty Rocks: exit = 4 - 50% = 2
14/08/2021 16:54:55: [G_Auto 1] : $ 10.00 Back bet placed on 5. Frosty Rocks at 3.95. Fully matched at 4. Ref: 10013
14/08/2021 16:55:18: Market has been suspended
14/08/2021 16:55:19: Market has been unsuspended
14/08/2021 16:55:19: Market is in-play
14/08/2021 16:56:24: [G_Auto 1] : Store Value for 5. Frosty Rocks: new exit = 1.3 + 10 ticks = 1.4
14/08/2021 16:56:25: [G_Auto 1] : Placed closure bet with greening on 5. Frosty Rocks by Laying 10.81 at 3.7
14/08/2021 16:56:29: [G_Auto 1] : Placed closure bet with greening on 5. Frosty Rocks by Laying 3.37 at 2.82
14/08/2021 16:56:32: [G_Auto 1] : Store Value for 5. Frosty Rocks: new exit = 1.13 + 10 ticks = 1.23
14/08/2021 16:56:38: [G_Auto 1] : Store Value for 5. Frosty Rocks: new exit = 1.05 + 10 ticks = 1.15
14/08/2021 16:56:39: [G_Auto 1] : Store Value for 5. Frosty Rocks: new exit = 1.02 + 10 ticks = 1.12
14/08/2021 16:56:40: Market has been suspended
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

rkay wrote:
Sat Aug 14, 2021 6:12 am
Hi Dallas , I am a newbie at this and trying out this excellent Bot on practice mode. Thanks for your help as I do not understand how this horse that won the race gave me a profit only of $4 ( on a $10 back bet ) that is less than the DOB profit . Shouldnt it have exited at 1.4 ? and why at 2.82 as per below log.
I have made no changes to the original automation bot. My refresh rate both on Gaurdian and One click screen is 20ms.
many thanks !

Its was most probably due to it being an Aus race, the in-play liquidity is far less than you see in UK races which means much greater gaps in back/lay prices.
The concept of the rule assumes the both the back and lay pricres are close together and both shortening, but as the liquidity is so low for In-Running Aus markets the back price could go to a new low while the lay price is still higher than this new low + 10 ticks and therefore trigger the green up rule

So in a UK market as the runner trades at 1.30 and sets a new exit at 1.30 + 10 ticks (1.40)
the lay price would probably be <1.40 and only if that goes above 1.40 will it trigger

But in a Aus market the lay price could and according to you log must have been 3.7 when the back price hit 1.30 and therefore triggered the green up rule

If you want to use is on Aus markets there are some additional conditions you can add to make it more suited
rkay
Posts: 13
Joined: Sun Apr 23, 2017 12:22 am

Many thanks Dallas.
It all makes sense now. Perhaps I should stick to Metro racing in Aus where liquidity in Sat markets is much better.
Cheers.
diler65
Posts: 1
Joined: Sat Feb 29, 2020 12:29 am

Hi , i downloaded this file and imported into the guardian ,but doesn't work for me .
I saw the file in the automatic window but didnt put the stake and didnt start.
Do you have any idea what wrong with it?
thanks for every help
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

diler65 wrote:
Mon Aug 16, 2021 11:36 pm
Hi , i downloaded this file and imported into the guardian ,but doesn't work for me .
I saw the file in the automatic window but didnt put the stake and didnt start.
Do you have any idea what wrong with it?
thanks for every help
Sounds like you may not be refreshing the markets fast enough in Guardian, this page explains how that works and where to make the required changes to ensure you have the fastest possible refresh rates
viewtopic.php?f=37&t=11491
rkay
Posts: 13
Joined: Sun Apr 23, 2017 12:22 am

Hi Dallas , wondering if betfair provides price action/data record on in running prices for races on the previous day .
If yes, where can I find it please . I was told that I can access this on the website but fail to find it.
Many thanks !
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

rkay wrote:
Wed Aug 18, 2021 3:27 am
Hi Dallas , wondering if betfair provides price action/data record on in running prices for races on the previous day .
If yes, where can I find it please . I was told that I can access this on the website but fail to find it.
Many thanks !
They do but its very difficult to work with
https://historicdata.betfair.com/#/home

You'd be better off using a data capture worksheet (there are plenty of ready-made ones you can download from the Betfair data section, and capture your own in-play data
viewforum.php?f=54
rkay
Posts: 13
Joined: Sun Apr 23, 2017 12:22 am

Thank you , well noted.
rkay
Posts: 13
Joined: Sun Apr 23, 2017 12:22 am

Hi Dallas , regarding my post and your comments re trading low liquidity Aus markets ( you were abs right ) .
I tried this bot in UK markets . My Gaurdian refresh rate at 20ms and and market switch time 60 secs ( I am in nz and not watching the races ) - hope these settings are correct ? Also Restrict refresh unticked.
I got great results in one race , with profit more that the usual DOB , but on 2 x races .. the horse went on to win or race at a much lower lay price than DOB with profits only small fraction of DOB. The trades were closed at a higher lay price for some reason . I am attaching log for one of the races below . The horse traded at a low of 4.0 inrunning. I have read earlier posts on this issue , could these trades be exiting at a sudden price spike which is happening quite often ?
Many thanks for your help!

19/08/2021 23:54:28: Guardian has detected that the market is suspended
19/08/2021 23:54:34: Guardian has detected that the market is now unsuspended
20/08/2021 05:34:55: [G_Auto 1] : Store Value for French Mix: exit = 13.5 - 50% = 6.8
20/08/2021 05:34:55: [G_Auto 1] : $ 5.00 Back bet placed on French Mix at 13. Fully matched at 13.5. Ref: 241527524807
20/08/2021 05:36:38: Guardian has detected that the market is suspended
20/08/2021 05:36:38: Guardian has detected that the market is in-play
20/08/2021 05:36:38: Guardian has detected that the market is now unsuspended
20/08/2021 05:38:14: [G_Auto 1] : Store Value for French Mix: new exit = 6.6 + 10 ticks = 8.6
20/08/2021 05:38:17: [G_Auto 1] : Store Value for French Mix: new exit = 6.2 + 10 ticks = 8.2
20/08/2021 05:38:26: [G_Auto 1] : Placed closure bet with greening on French Mix by Laying 6.43 at 10.5
20/08/2021 05:38:27: [G_Auto 1] : Store Value for French Mix: new exit = 5.9 + 10 ticks = 7.8
20/08/2021 05:38:29: [G_Auto 1] : Store Value for French Mix: new exit = 5.7 + 10 ticks = 7.4
20/08/2021 05:38:31: [G_Auto 1] : Store Value for French Mix: new exit = 5.5 + 10 ticks = 7
20/08/2021 05:38:32: [G_Auto 1] : Store Value for French Mix: new exit = 5.1 + 10 ticks = 6.2
20/08/2021 05:38:35: [G_Auto 1] : Store Value for French Mix: new exit = 5 + 10 ticks = 6
20/08/2021 05:38:36: [G_Auto 1] : Store Value for French Mix: new exit = 4.5 + 10 ticks = 5.5
20/08/2021 05:38:38: [G_Auto 1] : Store Value for French Mix: new exit = 4.3 + 10 ticks = 5.3
20/08/2021 05:39:11: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:12: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:13: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:14: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:15: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:17: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:18: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:19: 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

rkay wrote:
Fri Aug 20, 2021 12:18 am
Hi Dallas , regarding my post and your comments re trading low liquidity Aus markets ( you were abs right ) .
I tried this bot in UK markets . My Gaurdian refresh rate at 20ms and and market switch time 60 secs ( I am in nz and not watching the races ) - hope these settings are correct ? Also Restrict refresh unticked.
I got great results in one race , with profit more that the usual DOB , but on 2 x races .. the horse went on to win or race at a much lower lay price than DOB with profits only small fraction of DOB. The trades were closed at a higher lay price for some reason . I am attaching log for one of the races below . The horse traded at a low of 4.0 inrunning. I have read earlier posts on this issue , could these trades be exiting at a sudden price spike which is happening quite often ?
Many thanks for your help!

19/08/2021 23:54:28: Guardian has detected that the market is suspended
19/08/2021 23:54:34: Guardian has detected that the market is now unsuspended
20/08/2021 05:34:55: [G_Auto 1] : Store Value for French Mix: exit = 13.5 - 50% = 6.8
20/08/2021 05:34:55: [G_Auto 1] : $ 5.00 Back bet placed on French Mix at 13. Fully matched at 13.5. Ref: 241527524807
20/08/2021 05:36:38: Guardian has detected that the market is suspended
20/08/2021 05:36:38: Guardian has detected that the market is in-play
20/08/2021 05:36:38: Guardian has detected that the market is now unsuspended
20/08/2021 05:38:14: [G_Auto 1] : Store Value for French Mix: new exit = 6.6 + 10 ticks = 8.6
20/08/2021 05:38:17: [G_Auto 1] : Store Value for French Mix: new exit = 6.2 + 10 ticks = 8.2
20/08/2021 05:38:26: [G_Auto 1] : Placed closure bet with greening on French Mix by Laying 6.43 at 10.5
20/08/2021 05:38:27: [G_Auto 1] : Store Value for French Mix: new exit = 5.9 + 10 ticks = 7.8
20/08/2021 05:38:29: [G_Auto 1] : Store Value for French Mix: new exit = 5.7 + 10 ticks = 7.4
20/08/2021 05:38:31: [G_Auto 1] : Store Value for French Mix: new exit = 5.5 + 10 ticks = 7
20/08/2021 05:38:32: [G_Auto 1] : Store Value for French Mix: new exit = 5.1 + 10 ticks = 6.2
20/08/2021 05:38:35: [G_Auto 1] : Store Value for French Mix: new exit = 5 + 10 ticks = 6
20/08/2021 05:38:36: [G_Auto 1] : Store Value for French Mix: new exit = 4.5 + 10 ticks = 5.5
20/08/2021 05:38:38: [G_Auto 1] : Store Value for French Mix: new exit = 4.3 + 10 ticks = 5.3
20/08/2021 05:39:11: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:12: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:13: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:14: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:15: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:17: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:18: [G_Auto 1] : Store Value for French Mix: new exit = 0 + 10 ticks = 1.11
20/08/2021 05:39:19: Guardian has detected that the market is suspended
The green up rule will trigger if the price drifts back out above the Stored value, even if just for a fraction of a second, so at 05:38:26 it must of bounced out and touched 10.5 to trigger the greening rule, before going on to win (although it possible it also bounced out a few more times during the rest of the race but the rule will trigger at the first)
rkay
Posts: 13
Joined: Sun Apr 23, 2017 12:22 am

Thank you Dallas .
Yes , but it should have exited at 8.2 ( new exit ) before it reached 10.5 , but went right through.
Like you say , this could happen whilst using this very useful bot if the price in running moves down , shoots/ spikes up for a nano sec and comes down again. The exit ( greening ) will not be ideal at these times. Will need to keep this in mind.
Cheers .
User avatar
ShaunWhite
Posts: 9731
Joined: Sat Sep 03, 2016 3:42 am

rkay wrote:
Sun Aug 22, 2021 10:16 am
Yes , but it should have exited at 8.2
PMed you several days ago about this. There's no advantage to be had using stops and trying to use stops in-running is verging on suicidal. Sounds like an easy way to win but that alone should be a big red flag.
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

rkay wrote:
Sun Aug 22, 2021 10:16 am
Thank you Dallas .
Yes , but it should have exited at 8.2 ( new exit ) before it reached 10.5 , but went right through.
Like you say , this could happen whilst using this very useful bot if the price in running moves down , shoots/ spikes up for a nano sec and comes down again. The exit ( greening ) will not be ideal at these times. Will need to keep this in mind.
Cheers .
The green up rule triggers if the lay price goes anywhere above the 'new exit', and when it triggers it is placed at whatever price it is.
If you look at the example log in the OP you'll see it has also triggered a few ticks above the 'new exit' because it's rarely going to land on exactly the new 'exit odds'
User avatar
Shaung89
Posts: 181
Joined: Wed Aug 08, 2018 5:39 pm

Hi Dallas,

Are the 'New_Exit' store values correct here? I set up the additional condition you mentioned also to create a 2nd new exit where green up will not happen unless the jump is significant enough however I always seem to see a new_exit value of '0' + 'x' ticks.

The '0' value doesn't look correct however.

4/10/2021 14:59:55: [G_Auto 1] : Store Value for Shandoz: exit = 3.7 - 50% = 1.85
04/10/2021 14:59:55: [G_Auto 1] : £ 5.00 Back bet placed on Shandoz at 3.65. Fully matched at 3.7. Ref: 246335750267
04/10/2021 15:00:50: Guardian has detected that the market is suspended
04/10/2021 15:00:51: Guardian has detected that the market is in-play
04/10/2021 15:00:51: Guardian has detected that the market is now unsuspended
04/10/2021 15:03:16: [G_Auto 1] : Store Value for Shandoz: new exit = 0 + 10 ticks = 1.11
04/10/2021 15:03:16: [G_Auto 1] : Store Value for Shandoz: new exit = 0 + 10 ticks = 1.11
04/10/2021 15:03:16: [G_Auto 1] : Store Value for Shandoz: new exit2 = 0 + 25 ticks = 1.26
Post Reply

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