Target Profit or Loss Guardian Automation Bot

biddynz
Posts: 8
Joined: Sun Apr 12, 2020 6:31 am

I think my issue is the same as many so probably not a lot more can be done than what I have read so far.

I lay the selection pre race and back selection to green up in running. Green up works fine and I have as a stop loss at 30% in place as well as Redding up as well. However with these fast changing in running markets often it isn't triggered and i'm losing the lot.
Is there no way of putting in place a set 'back' price below my lay price apart from using the fixed odds condition because that doesn't work for me as i'm using so many different price ranges. So basically just want it to put in place a back bet price at 30% below what I have layed at and for it to go in play.

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

biddynz wrote:
Tue Apr 28, 2020 12:29 pm
I think my issue is the same as many so probably not a lot more can be done than what I have read so far.

I lay the selection pre race and back selection to green up in running. Green up works fine and I have as a stop loss at 30% in place as well as Redding up as well. However with these fast changing in running markets often it isn't triggered and i'm losing the lot.
Is there no way of putting in place a set 'back' price below my lay price apart from using the fixed odds condition because that doesn't work for me as i'm using so many different price ranges. So basically just want it to put in place a back bet price at 30% below what I have layed at and for it to go in play.

Thanks
The volatility and the Betfair bet delay onin-play markets means its impossible to guarantee every bet will be matched, you can increase the chance by having a bet trigger at a price then place several ticks behind it, the further behind the more the chance of being matched.
However the further away its placed means you'll need to green up additional times as this can only be calculated at either the price its placed or triggered
biddynz
Posts: 8
Joined: Sun Apr 12, 2020 6:31 am

Yes have a decent gap between the two but still not quite catching at times, it is because the markets im playing are small trading amounts so big swings i guess.
I haven't looked in to stored values etc too much as still at the learning stage but is there nothing in there that can store my matched Lay price then use that price as a guide to set a price for the fixed price to back?
User avatar
Dallas
Posts: 22671
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

biddynz wrote:
Tue Apr 28, 2020 12:44 pm
Yes have a decent gap between the two but still not quite catching at times, it is because the markets im playing are small trading amounts so big swings i guess.
I haven't looked in to stored values etc too much as still at the learning stage but is there nothing in there that can store my matched Lay price then use that price as a guide to set a price for the fixed price to back?
Yes, but even if you place the back at 1.01 at best you'll still need to green up again to even out the loss which will require a another bet placed at or near the current price, and on some occasions you still won't be matched, ie, if its near the end or a race or the other runners fall or get hampered near the closing stages.
biddynz
Posts: 8
Joined: Sun Apr 12, 2020 6:31 am

Thank you.
I managed to sus out that I had the speed at 1 second refresh so once I changed that things improved in the only few races that were left for the night. Also noticed on a greyhound system i'm trying improved dramatically as well,that refresh rate can't be underestimated can it.

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

biddynz wrote:
Wed Apr 29, 2020 12:20 am
Thank you.
I managed to sus out that I had the speed at 1 second refresh so once I changed that things improved in the only few races that were left for the night. Also noticed on a greyhound system i'm trying improved dramatically as well,that refresh rate can't be underestimated can it.

Cheers
You should always have it as fast as possible (20ms) on in-running or fast moving pre-off markets and have Guardian restricted to only those markets your rules are active on
viewtopic.php?f=37&t=11491
User avatar
len14iogo
Posts: 1
Joined: Sun Jun 28, 2020 1:24 am

Dallas wrote:
Sun Jan 15, 2017 11:25 am
Not at the moment so you may want to add it to the suggestion section
viewforum.php?f=20
Hi Dallas,
alexdbarros wrote:
Sun Jan 15, 2017 2:54 am
Hi

I am putting in one bot the stake according to % of the balance.

Is there anyway to green up according to % of the stake? (not fixed value)

For example, If the profit is > 10% of the stake, then green up.

If there is no option to do that, it could be a suggestion to put on Guardian.

Thanks
Has there been any update on BA targeting this function yet? ...or maybe any suggestions on how to get to round this?

Many thanks
CraigHBet
Posts: 3
Joined: Sun Jan 17, 2021 11:14 pm

Hi,

Hope you're well. I'm trying to green/red up when % of stake i reached. Not sure if this is possible - as not working at the moment.

The way I'm dong this is:

Lay the draw
Store the draw stake in a stored value (for market) multiplied by -0.9 (to get 90% of stake value as a negative)
Compare current profit (for market) with the stored value. (i.e. if current green up value is less than -90% of stake . Using 10GBP stake as a test so want to green/red up when -9 GBP)

The final rule is not firing. I am copying data to logs and can see that the stored value manipulation is correct (is being set to the correct number)

Any help would be greatly appreciated
User avatar
Dallas
Posts: 22671
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

CraigHBet wrote:
Fri Jan 22, 2021 2:47 pm
Hi,

Hope you're well. I'm trying to green/red up when % of stake i reached. Not sure if this is possible - as not working at the moment.

The way I'm dong this is:

Lay the draw
Store the draw stake in a stored value (for market) multiplied by -0.9 (to get 90% of stake value as a negative)
Compare current profit (for market) with the stored value. (i.e. if current green up value is less than -90% of stake . Using 10GBP stake as a test so want to green/red up when -9 GBP)

The final rule is not firing. I am copying data to logs and can see that the stored value manipulation is correct (is being set to the correct number)

Any help would be greatly appreciated
Yes it can be done, there's a recent example I've just posted that exits when 50% of the potential liability is reached
viewtopic.php?f=52&t=22810

If you want to take a look at how that's set up compared to yours yo might spot what's going on, but if you get stuck just post back
CraigHBet
Posts: 3
Joined: Sun Jan 17, 2021 11:14 pm

Thanks! Will take a look.
elofan0
Posts: 316
Joined: Fri Jan 13, 2017 4:44 pm

This is a great little file Dallas used it a few times i place back bet and it triggers at the minus sometimes but if i still feel the selection is going to win i fire it back in again to know i will only lose the -3 if goes against me again ie -6 and then green up for the profit ... if successful
Kazbet
Posts: 35
Joined: Wed Nov 18, 2020 6:08 pm

Hi Dallas
Ive been using this on in play Tennis but when its greening up it sometimes places two closing bets turning a green into a red.
As below
14/09/2021 12:07:55: Guardian has detected that the market is in-play
14/09/2021 12:07:55: Guardian has detected that the market is suspended
14/09/2021 12:08:13: Guardian has detected that the market is now unsuspended
14/09/2021 12:08:21: [G_Auto 1] : £ 20.00 Back bet placed on Anna Kalinskaya at 1.42. Fully matched at 1.42. Ref: 244104241156 ( Fill or kill bet with 0.5 seconds delay. )
14/09/2021 12:16:20: [G_Auto 1] : Greened up Anna Kalinskaya by Laying 22.02 at 1.29
14/09/2021 12:16:23: [G_Auto 1] : Greened up Anna Kalinskaya by Laying 22.02 at 1.29
streaming at 20 ms.I have adjusted the retrigger time to 10 secs.
Seems plenty of money to match >Is this due to the inlay delay ?
any thoughts appreciated.
Would I just be better having a place a back bet rule with the green and red up conditions added to that one rule ?
User avatar
Dallas
Posts: 22671
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Kazbet wrote:
Tue Sep 14, 2021 1:11 pm
Hi Dallas
Ive been using this on in play Tennis but when its greening up it sometimes places two closing bets turning a green into a red.
As below
14/09/2021 12:07:55: Guardian has detected that the market is in-play
14/09/2021 12:07:55: Guardian has detected that the market is suspended
14/09/2021 12:08:13: Guardian has detected that the market is now unsuspended
14/09/2021 12:08:21: [G_Auto 1] : £ 20.00 Back bet placed on Anna Kalinskaya at 1.42. Fully matched at 1.42. Ref: 244104241156 ( Fill or kill bet with 0.5 seconds delay. )
14/09/2021 12:16:20: [G_Auto 1] : Greened up Anna Kalinskaya by Laying 22.02 at 1.29
14/09/2021 12:16:23: [G_Auto 1] : Greened up Anna Kalinskaya by Laying 22.02 at 1.29
streaming at 20 ms.I have adjusted the retrigger time to 10 secs.
Seems plenty of money to match >Is this due to the inlay delay ?
any thoughts appreciated.
Would I just be better having a place a back bet rule with the green and red up conditions added to that one rule ?
You'll need to ensure the re-arm time are set longer than the in-play bet delay on the sport your trading.

On tennis the delay is 3-5 secs so a re-arm of at least 6 secs is needed
Kazbet
Posts: 35
Joined: Wed Nov 18, 2020 6:08 pm

Cheers and thanks
Thanks for sharing your basic bots they are a great starting point for newcomers.
User avatar
brimson25
Posts: 504
Joined: Sat Apr 08, 2017 11:42 am

I'd just like to say how much I appreciate these. I just thought this morning: I wonder if I could protect against losses like this, rather than by ticks or %? And then I thought, I bet dallas has a file I can adapt and now I'm here! Brilliant stuff.
Post Reply

Return to “Bet Angel Automation - General”