Help with a L2B horse bot with a Stop Loss 50% of opening Lay Liability bet.

Advanced automation available in Guardian - Chat with others and share files here.
karltrades
Posts: 13
Joined: Wed Jan 01, 2020 9:55 pm

Hey everyone. Particular thanks to Dallas for all of the content he has shared!

i was just wondering if anyone could look at this BAF and see why the offset bet hasn't been matched? I'll copy an example of the log below too...it seems to be taking my lay but not matching the offset...it's worked out thus far, but one day a horse will drift and then win (hopefully the stop works ok!)


29/01/2020 14:14:50: [G_Auto] : Store Value for Looks Like Murt: stop = 6 - 50% = 3
29/01/2020 14:14:50: [G_Auto] : £ 4.00 Lay bet placed on Looks Like Murt at 6. Fully matched at 6. Ref: 193109506753 ( Fill or kill bet with 5 seconds delay. Offsetting by 20 ticks with greening. )
29/01/2020 14:14:50: [G_Auto] : £ 2.40 Back bet placed on Looks Like Murt at 10. Entirely unmatched when it initially reached the market. Ref: 193109507150
29/01/2020 14:15:19: Guardian has detected that the market is suspended
29/01/2020 14:15:21: Guardian has detected that the market is in-play
29/01/2020 14:15:21: Guardian has detected that the market is now unsuspended
29/01/2020 14:21:39: Guardian has detected that the market is suspended

TIA,
Karl
You do not have the required permissions to view the files attached to this post.
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

Your initial bet goes in pre-off, the offset gets created as soon as its matched - but you haven't marked the offset to be kept in-play.
Add a rule to keep your unmatched back bet in play.
karltrades
Posts: 13
Joined: Wed Jan 01, 2020 9:55 pm

karltrades wrote:
Wed Jan 29, 2020 3:23 pm
Hey everyone. Particular thanks to Dallas for all of the content he has shared!

i was just wondering if anyone could look at this BAF and see why the offset bet hasn't been matched? I'll copy an example of the log below too...it seems to be taking my lay but not matching the offset...it's worked out thus far, but one day a horse will drift and then win (hopefully the stop works ok!)


29/01/2020 14:14:50: [G_Auto] : Store Value for Looks Like Murt: stop = 6 - 50% = 3
29/01/2020 14:14:50: [G_Auto] : £ 4.00 Lay bet placed on Looks Like Murt at 6. Fully matched at 6. Ref: 193109506753 ( Fill or kill bet with 5 seconds delay. Offsetting by 20 ticks with greening. )
29/01/2020 14:14:50: [G_Auto] : £ 2.40 Back bet placed on Looks Like Murt at 10. Entirely unmatched when it initially reached the market. Ref: 193109507150
29/01/2020 14:15:19: Guardian has detected that the market is suspended
29/01/2020 14:15:21: Guardian has detected that the market is in-play
29/01/2020 14:15:21: Guardian has detected that the market is now unsuspended
29/01/2020 14:21:39: Guardian has detected that the market is suspended

TIA,
Karl
i'm an idiot. Just hit me from nowhere, I've not set a rule to keep unmatched bets in play! :roll:
karltrades
Posts: 13
Joined: Wed Jan 01, 2020 9:55 pm

Jukebox wrote:
Wed Jan 29, 2020 3:30 pm
Your initial bet goes in pre-off, the offset gets created as soon as its matched - but you haven't marked the offset to be kept in-play.
Add a rule to keep your unmatched back bet in play.
Hi Jukebox - thanks for the reply. Didn't see this before I'd realised what was going on - I was overcomplicating the issue when it should have been staring me in the face! I added a 'keep all' rule to the file which seems to be working.
karltrades
Posts: 13
Joined: Wed Jan 01, 2020 9:55 pm

Dallas wrote:
Sat Sep 22, 2018 6:52 pm
I had a very similar file at hand so quickly modified it slightly to do what you have asked for, give it a go in practice mode until you know its working how you want.

The back bet will trigger when it's at 50% of your lay price and place the bet at that price
You might want to change this to place it a few ticks lower in case the price crashes in
Hi Dallas, thanks for all the great work you've done and shared around here!

I am using a slightly modified version of this file. An issue I've had is the offset being matched as well as the stop. E.g. today, my back offset was matched, but then the price must have come in because a couple of minutes later the stop was triggered, giving me scratch instead of a green.

I have tried the following to resolve the issue: cancel all unmatched bets rule, with number of matched bets condition =2 (so if the stop is hit and matched, the unmatched back offset should disappear). However, the 'stop' rule is set to trigger when the price trades below 50% of my lay price and is set to 'always armed.' Can I stop this rule if my back offset is matched?

Thanks again!
Karl
User avatar
Dallas
Posts: 22722
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

karltrades wrote:
Thu Jan 30, 2020 10:49 pm
Dallas wrote:
Sat Sep 22, 2018 6:52 pm
I had a very similar file at hand so quickly modified it slightly to do what you have asked for, give it a go in practice mode until you know its working how you want.

The back bet will trigger when it's at 50% of your lay price and place the bet at that price
You might want to change this to place it a few ticks lower in case the price crashes in
Hi Dallas, thanks for all the great work you've done and shared around here!

I am using a slightly modified version of this file. An issue I've had is the offset being matched as well as the stop. E.g. today, my back offset was matched, but then the price must have come in because a couple of minutes later the stop was triggered, giving me scratch instead of a green.

I have tried the following to resolve the issue: cancel all unmatched bets rule, with number of matched bets condition =2 (so if the stop is hit and matched, the unmatched back offset should disappear). However, the 'stop' rule is set to trigger when the price trades below 50% of my lay price and is set to 'always armed.' Can I stop this rule if my back offset is matched?

Thanks again!
Karl
Stop losses are attached to an offset bet so once one is matched the other is cancelled so you must have something else triggering causing whatever it is
karltrades
Posts: 13
Joined: Wed Jan 01, 2020 9:55 pm

Dallas wrote:
Fri Jan 31, 2020 9:48 am
karltrades wrote:
Thu Jan 30, 2020 10:49 pm
Dallas wrote:
Sat Sep 22, 2018 6:52 pm
I had a very similar file at hand so quickly modified it slightly to do what you have asked for, give it a go in practice mode until you know its working how you want.

The back bet will trigger when it's at 50% of your lay price and place the bet at that price
You might want to change this to place it a few ticks lower in case the price crashes in
Hi Dallas, thanks for all the great work you've done and shared around here!

I am using a slightly modified version of this file. An issue I've had is the offset being matched as well as the stop. E.g. today, my back offset was matched, but then the price must have come in because a couple of minutes later the stop was triggered, giving me scratch instead of a green.

I have tried the following to resolve the issue: cancel all unmatched bets rule, with number of matched bets condition =2 (so if the stop is hit and matched, the unmatched back offset should disappear). However, the 'stop' rule is set to trigger when the price trades below 50% of my lay price and is set to 'always armed.' Can I stop this rule if my back offset is matched?

Thanks again!
Karl
Stop losses are attached to an offset bet so once one is matched the other is cancelled so you must have something else triggering causing whatever it is
Hi Dallas, thanks for the reply. Sorry I've not been clear there, but I am using a signal to set a net stake back bet, if the horse reaches 50% of the lay price, similar to the file you shared further up this topic. What I'd like is for this rule, which is set to always armed, to not trigger IF my offset has already been matched. is this achievable? I'd rather do it this way than lock in a red which is what would happen if using the offset with greening and stop function. Thanks again!
iangrant230
Posts: 41
Joined: Mon Sep 04, 2017 7:27 pm

Ive made a bot to lay in 3 stages at certain percentages below the SP then once a lay has been taken offsets it with greening.

If it the bot matches the a back bet to green up how do i then kill the unmatched lay bets on that selection that are still in the market?

Also how would i apply a stop loss for a set percentage of total bank liability?

Thanks in advance
RogerTaurus
Posts: 14
Joined: Fri Nov 09, 2018 11:47 pm

How do i Add a rule to keep an unmatched back bet in play in automation i cant seem to find a rule in conditions
eatyourgreens
Posts: 243
Joined: Sun Feb 18, 2018 12:53 am

General Tab , Rule type, "keep all unmatched bets" . Time it to trigger after your bets have been placed.

goodluck
Have a nice day! :-)
RogerTaurus
Posts: 14
Joined: Fri Nov 09, 2018 11:47 pm

Thanks for your help much appreciated
Post Reply

Return to “Bet Angel - Automation”