Using conditions for different markets

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
iampetesmith
Posts: 13
Joined: Sun Mar 27, 2022 8:28 am

Hi, I've looked around and can't see an answer to this so I'll ask here.

Is there a way to apply conditions for different markets in Guardian, such as the match odds and over 2.5 goals?

The one I'm trying is to put a back bet on at the start, but only if the home win odds are between 2.0 and 3.5, the draw between 3.35 and 4.5 and over 2.5 goals between 1.5 and 2.3. I can do the home win & draw, but the over 2.5 isn't available to select as a condition as it's a different market.

So is there a way for it to place the bet only if these 3 conditions are met? I can't find a way to combine them into one rule.
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

iampetesmith wrote:
Tue Apr 12, 2022 2:28 pm
Hi, I've looked around and can't see an answer to this so I'll ask here.

Is there a way to apply conditions for different markets in Guardian, such as the match odds and over 2.5 goals?

The one I'm trying is to put a back bet on at the start, but only if the home win odds are between 2.0 and 3.5, the draw between 3.35 and 4.5 and over 2.5 goals between 1.5 and 2.3. I can do the home win & draw, but the over 2.5 isn't available to select as a condition as it's a different market.

So is there a way for it to place the bet only if these 3 conditions are met? I can't find a way to combine them into one rule.
Yes, you can use the market name stored value and test to see if the last few characters are "over n.5 goals".

https://www.betangel.com/user-guide/sto ... 3D&mw=MzIw
iampetesmith
Posts: 13
Joined: Sun Mar 27, 2022 8:28 am

Hi, do you have a guide on how to do it for what I'm trying to do?

I can't get my head around what's on that page.
iampetesmith
Posts: 13
Joined: Sun Mar 27, 2022 8:28 am

Is this right?

Image

If not, I'll need a step by step guide on how to trigger the bets based on those 3 conditions.

Thanks, Pete
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

I would suggest you spend a few hours reading the manual and the basics rather than starting directly from the information you need as it would be quite hard to digest.

It's not advisable to use selection names in your automation as it won't work on another market. Selections in Betfair market order would be easier.

This is what I use in my over/under 1.5 automation to test that it's the correct market.
Capture.GIF
You could have a condition to test if the market name contains "over n.5 goals" and set a stored value to distinguish which market you're trading.

I can't see what market you're applying those rules to or what value you stored in those SVs so it's difficult to say.
You do not have the required permissions to view the files attached to this post.
iampetesmith
Posts: 13
Joined: Sun Mar 27, 2022 8:28 am

This is for something I've been doing manually, but trying to automate it and struggling to work out how you get it to place the bets based on criteria for different markets.

Basically, I just need it to place the initial bet when the following conditions are met:

Home win between 2.0 and 3.5
Draw between 3.35 and 4.5
Over 2.5 goals between 1.5 and 2.3

After that, I can apply the rules to trade out based on what happens.

I can only get as far as setting the home win & draw, but can't work out how you add the over 2.5 goals as you can't select it anywhere.

This must be quite a common thing that people do, but I can't see anything about it in the manual or the forums which is why I asked on here.
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

iampetesmith wrote:
Tue Apr 12, 2022 3:46 pm
This is for something I've been doing manually, but trying to automate it and struggling to work out how you get it to place the bets based on criteria for different markets.

Basically, I just need it to place the initial bet when the following conditions are met:

Home win between 2.0 and 3.5
Draw between 3.35 and 4.5
Over 2.5 goals between 1.5 and 2.3

After that, I can apply the rules to trade out based on what happens.

I can only get as far as setting the home win & draw, but can't work out how you add the over 2.5 goals as you can't select it anywhere.

This must be quite a common thing that people do, but I can't see anything about it in the manual or the forums which is why I asked on here.
It's not advanced stuff what you're doing, but it is a bit of a challenge on your first attempt at automation.

You need to have two automation files, one on the match odds market and another on the o/u 2.5 goals market. One rules file can set a shared stored value when the criteria for that market are set. The other can trigger a bet when the criteria for its market are set and the shared stored value in the other market is set.

Perhaps do one first, get it to trigger a bet in practice mode to make sure that it works, then implement the other, rather than trying to achieve it in one chunk?
iampetesmith
Posts: 13
Joined: Sun Mar 27, 2022 8:28 am

I can get it to do them one at a time, but I still can't get my head around how the two are linked.

I just need it to place the initial bet when all those conditions are met, but how does sharing text make it work? Is there a guide for this that goes through it in basic steps?
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

iampetesmith wrote:
Tue Apr 12, 2022 4:41 pm
I can get it to do them one at a time, but I still can't get my head around how the two are linked.

I just need it to place the initial bet when all those conditions are met, but how does sharing text make it work? Is there a guide for this that goes through it in basic steps?
You need to set a shared stored value (by ticking the shared box) and then you can access it from the other rules file.

https://www.betangel.com/user-guide/sto ... 3D&mw=MzIw
iampetesmith
Posts: 13
Joined: Sun Mar 27, 2022 8:28 am

I'm struggling to work out how you actually set the shared stored value to make it do what I need to.

Can someone just guide me through this step by step please?
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

iampetesmith wrote:
Tue Apr 12, 2022 4:55 pm
I'm struggling to work out how you actually set the shared stored value to make it do what I need to.

Can someone just guide me through this step by step please?
The manual is a pretty thorough guide. I'd suggest you read the getting started part of the automation section.

https://www.betangel.com/user-guide/get ... 3D&mw=MzIw

You set a stored value by ticking the "Shared" box, when you're setting the SV. You then have a condition in your other rule file that tests if the shared stored value is equal to whatever value you gave it, to confirm that the criteria have been met in the other file.

Alternatively, there may be a shared file that Dallas or another forum member has posted that involves multiple markets.
User avatar
Dabbla
Posts: 827
Joined: Wed Apr 15, 2009 1:50 pm

You need to be using (for) EVENT when using stored values in multiple markets.
Quick example
Rule 1 store a value called (BACK 1) SV= 1 for the (event).

Rule 2 use the condition (stored value condition) > (BACK 1) for (event) = 1 .
Also add a text condition market name (contains at least one of the following) 2.5
Rule 2 will now only trigger in a 2.5 market

Multi market example using text.
viewtopic.php?f=56&t=22823
eatyourgreens
Posts: 282
Joined: Sun Feb 18, 2018 12:53 am

A rules file for Pete Smith,
Hopefully it does what you asked via PM, it only places bet when your conditions are met, there is no greenup.............only tested a few times so practice mode first!!!!

goodluck :-)
You do not have the required permissions to view the files attached to this post.
iampetesmith
Posts: 13
Joined: Sun Mar 27, 2022 8:28 am

eatyourgreens wrote:
Wed Apr 13, 2022 11:52 pm
A rules file for Pete Smith,
Hopefully it does what you asked via PM, it only places bet when your conditions are met, there is no greenup.............only tested a few times so practice mode first!!!!

goodluck :-)
Thanks for that, I'll have a look properly later but I think I can see how it works now I've seen it done so that's really helpful.

Thanks, Pete
User avatar
firlandsfarm
Posts: 3384
Joined: Sat May 03, 2014 8:20 am

10/10 for patience Derek! :)
Post Reply

Return to “Bet Angel - Automation”