Hedge All selections?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Emtaxx
Posts: 238
Joined: Mon Feb 10, 2025 10:00 pm

Hi all,

I'm finding greening up on all selections automated a bit tricky...

To set the scene and keep this simple I'm basically trialling a in play scalping bot, which places bets on the whole markets depending on the conditions of which they will fire etc with an offset and trailing top.

I believe (I wont find out until later this afternoon when the races kick off) that things should be more or less there in theory now.

However I'm having issues with the Hedging up/Greening up on ALL Selections. I basically want it to keep banking the profits it produces. However with so many bots firing etc I believe it struggles to find its feet.

And on the Rule Type 'Green All Selections' And setting this to 'Every' It confuses me further as it says 'The every selections can not be et with this type of rule'

SO it begs the question. How do I hedge up the whole market, just like the middle top button u press to spread the profit across all runners :?
User avatar
Dallas
Posts: 23474
Joined: Sun Aug 09, 2015 10:57 pm

The 'green all selections' rule does exactly that so it doesn't need to be applied to a selection as it will trigger on all those with an open trade when it fires.

The choice of which selection to apply it is only applicable for conditions (it states this next to the applies to box)

ie, you might want the green all selections rule to trigger if the fav is now trading at less than 1.5

If using no conditions on the rule then the applies to section has no effect or bearing on what it does
Emtaxx
Posts: 238
Joined: Mon Feb 10, 2025 10:00 pm

Ah Yes I see the stated brackets now, Boy eyes :(

Cool thanks Dallas Appreciate the help that's a good example. I'll probably incorporate something like that when conditions outside my boundaries are met etc.

Its just set to default 'In row 1 (Betfair order). I'm sure that's fine? There no selections which states 'none' so I've just gone with the default.

But as you mentioned it will just fire regardless unless condition is set.
User avatar
Dallas
Posts: 23474
Joined: Sun Aug 09, 2015 10:57 pm

Emtaxx wrote:
Tue Apr 08, 2025 12:58 pm
Ah Yes I see the stated brackets now, Boy eyes :(

Cool thanks Dallas Appreciate the help that's a good example. I'll probably incorporate something like that when conditions outside my boundaries are met etc.

Its just set to default 'In row 1 (Betfair order). I'm sure that's fine? There no selections which states 'none' so I've just gone with the default.

But as you mentioned it will just fire regardless unless condition is set.
I usually leave it as row 1 also but doesn't matter with out conditions

As a general rule of thumb I'd always set a green up rule to trigger at least 3 times with a 2-3 second rearm time (and if in-play ensure the add in-play delay box is ticked near the bottom of the editor).
That way if your first attempt/s don't get matched or partially matched or you get a better price on some selections causing an uneven P/L the remaining triggers will mop everything up.

Even if the first is fully successful and fully matched and gave you an equal green across all selections it will still fire the remaining triggers but just won't place any bets as there will be nothing left to green up
Emtaxx
Posts: 238
Joined: Mon Feb 10, 2025 10:00 pm

That's a game changing thing to note Dallas with the 'in play delay' Thanks for that very key information !! :D
Emtaxx
Posts: 238
Joined: Mon Feb 10, 2025 10:00 pm

Okay so the next issue I'm having is the Stop loss feature skips over my stop loss point, I've read up on the forum about this and I'm as up to date with refreshing 20ms as I can be.

Tbh I thought the Green all would correct this and close my position out regardless, thats why I added it in; however after finishing work and having a think why my trades are not closing out would you advise the next action would be to Also add 'close all Trades' as a new rule file underneath? As this would then close all trades on even the reds?

The issue is, its skipping over my stop loss, and therefor not closing my position scewing my overall hedge result which then looks like it just spirals out of control really.
Emtaxx
Posts: 238
Joined: Mon Feb 10, 2025 10:00 pm

Ah so looking at this closer, it could be that the original bet doesn't get matched however the offset bet does, therefore resulting in the skewed results? If I've interpreted the log correctly that is.

If this is the case is there a way to only allow an offset bet once the original has been matched? Tbh i thought it did this, but it seems it that may not be the case?
User avatar
ShaunWhite
Posts: 10353
Joined: Sat Sep 03, 2016 3:42 am

This ? But it reads as though you get the full offset even if you only get a penny matched so bear that in mind.
Screenshot_20250408_174042_Samsung Internet.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23474
Joined: Sun Aug 09, 2015 10:57 pm

There is a post here with some screenshots illustrating how the stop loss 'place at' and 'trigger at' points work
It's written regarding trailing stops but is exactly the same principal when using a regular stop loss
viewtopic.php?p=99621

Its not really recommended to use these type of stops on in-play markets as the prices are very volatile and jump about all over, so even with a large number of ticks between your 'trigger' and 'place at' often the price can still fly right through them.

The close trade with greening rule is exactly the same as greening all selections except it targets just one selection so you would need several if trading multiple selections

The term greening up just means to spread your current profit or loss evenly across all selections, ie it doesn't just trigger when you are in a profit

A stop loss bet is a greening bet when the price moves 'X' ticks against you.


For in-running trading i'd forget about using the offset bet with stop option and just stick to offsetting the bet and use a 'green all selections' rule, or 'close trade on selection with greening' rule if trading multiple selections
and having it trigger if a your loss on a selection exceeds 'X' amount (you can also use ticks or percentage still), but the advantage of doing this means you can have it trigger multiple times as detailed in my earlier post so it has more chance of being matched in-running than a stop loss via global settings which triggers just once

This post from the FAQ section might also help
viewtopic.php?t=11488

Shaun beat me to the offsetting part so I've just deleted that out but the link below to the user guide explains the differences more
https://www.betangel.com/user-guide/off ... tages.html
User avatar
ShaunWhite
Posts: 10353
Joined: Sat Sep 03, 2016 3:42 am

The active/passive bet changes will probably help. If the price disappears while you're in the 1s delay, your offer will be immediately promoted to the market, so you're more likely to get a fill than if it's waited the full 1s and the price is long gone.
Emtaxx
Posts: 238
Joined: Mon Feb 10, 2025 10:00 pm

Wow awesome replies. Really appreciate it !

Im dedicating this year to automation so every step in the right direction although stressful and frustrating at times. I hope will be worth it ! And with replies like these im sure I’ll be able to push over the 50/50 mark :)))
Post Reply

Return to “Bet Angel - Automation”