DOB with Moving Exit Guardian Automation Bot

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

Shuggiemac1 wrote:
Tue Jul 20, 2021 1:13 pm
Thanks Dalas that seems to have done the trick, although i dont have 20 ms i have set it at 200 ms. Is that ok?
This post shows where to enable streaming so you can refresh at 20ms
viewtopic.php?f=47&t=13949
User avatar
censura
Posts: 26
Joined: Mon Jul 19, 2021 5:05 pm

Hi Dallas this looks great - I was hoping to try and work out how to do this and then found your automation.


Can you clarify how i woud make this work as i am currently trading, I select the horse i want to back often sometime before the off.

So how would i do this with your authomation can i simply make my back bet manually then in guardian on that race select selection 1 dropdown with the horse i have backed and if so would i need to remove the automated back rule in the automation.

Thank you for you great work
User avatar
Dallas
Posts: 22674
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

censura wrote:
Sat Jul 31, 2021 11:32 am
Hi Dallas this looks great - I was hoping to try and work out how to do this and then found your automation.


Can you clarify how i woud make this work as i am currently trading, I select the horse i want to back often sometime before the off.

So how would i do this with your authomation can i simply make my back bet manually then in guardian on that race select selection 1 dropdown with the horse i have backed and if so would i need to remove the automated back rule in the automation.

Thank you for you great work
If you are always wanting to manually back the selection then let the rules take over the in-running part (and your not doing any other trading pre-off on that market) all you need to do is

1), delete the 'place back bet' rule from the automation file
2), on the general tab of the remaining three rules change them from being applied to nominated selection 1 to ANY selection
3), on those same there rules add a 'number of matched bets' condition on selection is greater than 0

If you'll be placing other bets on runners pre-off ie, doing some scalping or swing trading then it'll need to be done a little differently and i'll need to know roughly what you'll be doing so conditions etc can be added to ignore those trades, but otherwise the above will allow you to manually back one selection pre-off then the rules will trigger on it to exit the trade
User avatar
censura
Posts: 26
Joined: Mon Jul 19, 2021 5:05 pm

Fantastic you are an amazing guy and so selfless thank you so much
User avatar
censura
Posts: 26
Joined: Mon Jul 19, 2021 5:05 pm

Hi sorry to be a pain but this is how i have set this up now is this correct for what i want to do ie place my back bet manually
dob.png
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 22674
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

censura wrote:
Sat Jul 31, 2021 2:31 pm
Hi sorry to be a pain but this is how i have set this up now is this correct for what i want to do ie place my back bet manuallydob.png
99.9%

In that first image the matched bets condition needs to be on the selection not market (and the same on the other two rules)
That way it knows which runner to store the values on and trigger the green up bet on

But I have just thought the back bet will still need to store the entry price, so rather than placing the back bet manually you'll need to create a servant to do that for you
Just means you'll need to point your cursor at a price then press a shortcut key of your choice to place the bet rather than just left clicking.

If you get stuck i can post the rules after todays races have finished, it one of those changes thats quicker and easier to do than type out
User avatar
censura
Posts: 26
Joined: Mon Jul 19, 2021 5:05 pm

So i tried it out but nothing triggered i set my lay price and watched as the price moved to then way passed my target of 0.56 profit went to 1.30 profit before going in to loss nothing happend as you can see from the log
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 22674
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Try these,

Put this one in Guardian as normal
DOB with Moving Exit.baf

Use this as a servant to place the back bet, just assign the starting of it to a key of your choice then point your cursor at a price and press your shortcut key to start the servant which will place the bet
Back Bet for DOB rule.baf
You do not have the required permissions to view the files attached to this post.
User avatar
censura
Posts: 26
Joined: Mon Jul 19, 2021 5:05 pm

Ok thank you will give it a try, what about my manual lay bet do i just do this manualy or do i use the servant for that also. Thank you
User avatar
censura
Posts: 26
Joined: Mon Jul 19, 2021 5:05 pm

Hi this is what happened again lay was unmatched as you can see and the price went through my target went as high as £1.77 in profit but lost again

31/07/2021 19:28:47: [AS 1] : Automation Servant ( Back Bet for DOB rule ) Started ( Selection context: Eikonix. Price context: 4.3. Back Stake context: £2.00 . Lay Stake context: £2.00 . )
31/07/2021 19:28:47: [AS 1] : Store Value (Shared) for Eikonix: exit = 4.2 - 50% = 2.1
31/07/2021 19:28:47: [AS 1] : Automation Servant ( Back Bet for DOB rule ) Stopped.
31/07/2021 19:28:50: [AS 1] : £ 2.00 Back bet placed on Eikonix at 4.3. Entirely unmatched when it initially reached the market. Ref: 239677180212
31/07/2021 19:29:41: £ 2.00 Lay bet placed on Eikonix at 3.35. Entirely unmatched when it initially reached the market. Ref: 239677306983
31/07/2021 19:38:09: Guardian has detected that the market is suspended
31/07/2021 19:38:10: Guardian has detected that the market is in-play
31/07/2021 19:38:10: Guardian has detected that the market is now unsuspended
31/07/2021 19:39:22: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:22: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:23: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:24: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:25: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:27: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:28: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:29: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:30: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:31: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:32: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:33: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:34: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:36: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:37: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:38: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:39: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:40: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:41: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:42: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:44: [G_Auto 1] : Store Value for Eikonix: new exit = 0 + 10 ticks = 1.11
31/07/2021 19:39:45: Guardian has detected that the market is suspended
User avatar
Dallas
Posts: 22674
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

censura wrote:
Sat Jul 31, 2021 7:32 pm
Ok thank you will give it a try, what about my manual lay bet do i just do this manualy or do i use the servant for that also. Thank you
You don't need to put a lay be in and if you do and its matched its going to mess up the P/L required for the DOB calculation
User avatar
censura
Posts: 26
Joined: Mon Jul 19, 2021 5:05 pm

Ok sure, but as you can see from the log the lay i manually laced did not get matched yet the automation never clossed for any profit, is there something else i need to do. Thank you
User avatar
Dallas
Posts: 22674
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

censura wrote:
Sun Aug 01, 2021 11:30 am
Ok sure, but as you can see from the log the lay i manually laced did not get matched yet the automation never clossed for any profit, is there something else i need to do. Thank you
I've just checked the result of that race and Eikonix never traded below 2.52
It needed to go below 2.1 to complete the DOB and start triggering the green up rule
User avatar
censura
Posts: 26
Joined: Mon Jul 19, 2021 5:05 pm

OK thank you, I undertstand obviously i saw it in rofit but as you said it never got to 2.1 so all makes sense thank you again
User avatar
censura
Posts: 26
Joined: Mon Jul 19, 2021 5:05 pm

Hi Dallas hope your weekend went well, so i tried ths again (i chnaged to 25% from 50% that is all)

I placed my be manually all ok and the hourse won so went from my 12/1 to win but the bot didnt work again i ended up greening out manually early when it had allready gone from 12/1 to 4/1 so well past 25% see log below

03/08/2021 13:33:41: [AS 2] : Automation Servant ( DOB with Moving Exit (1) ) Started
03/08/2021 13:34:12: [AS 3] : Automation Servant ( DOB with Moving Exit (1) ) Started
03/08/2021 13:34:15: [AS 4] : Automation Servant ( DOB with Moving Exit (1) ) Started
03/08/2021 13:34:16: [AS 5] : Automation Servant ( DOB with Moving Exit (1) ) Started
03/08/2021 13:34:56: £ 2.00 Back bet placed on Toussarok at 12.5. Fully matched at 12.5. Ref: 239925621556
03/08/2021 13:35:47: Guardian has detected that the market is in-play
03/08/2021 13:35:47: Guardian has detected that the market is suspended
03/08/2021 13:35:47: Guardian has detected that the market is now unsuspended
03/08/2021 13:36:49: Greened up Toussarok by Laying 4.46 at 5.6
03/08/2021 13:37:10: Guardian has detected that the market is suspended
03/08/2021 13:40:25: [AS 2] : Automation Servant ( DOB with Moving Exit (1) ) Stopped.
03/08/2021 13:40:25: [AS 3] : Automation Servant ( DOB with Moving Exit (1) ) Stopped.
03/08/2021 13:40:25: [AS 4] : Automation Servant ( DOB with Moving Exit (1) ) Stopped.
03/08/2021 13:40:25: [AS 5] : Automation Servant ( DOB with Moving Exit (1) ) Stopped.
dobpng.png
You do not have the required permissions to view the files attached to this post.
Post Reply

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