Greyhounds - A stall number selection from one rule file to Dutch Forecast Market Choices in another

News, chat and debate about the Betfair betting exchange.
eatyourgreens
Posts: 275
Joined: Sun Feb 18, 2018 12:53 am

hi
I also noticed the pop up window when opening the file, i think it is safe to ignore because i used row numbers (or combinations ie 1,2 1,3 6,5 6,3 6,4 etc) and not names.
on the back rule "applies to " if you click on the empty window, you will see the combination it applies to ie 1,2 has been selected.
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

from what i understand, wouldn't the selection be the row number? The row number equating to Trap number
eatyourgreens
Posts: 275
Joined: Sun Feb 18, 2018 12:53 am

hi
I just tried it again "out of the box" on the first gh race of the day, and it did as expected.

I used " combinations" ie 3,1 4,1 etc because it saved writing down what combination is associated to what row number.

when you have win and f/c mrkts in guardian, and apply the rules, look at the window at bottom of guardian and choose "show rules applied" (from the drop down menu) ...scroll to far right and under "description" you will see what combination the rule is applied to.

edit, the "show rules applied" (from the drop down menu)" in above paragraph = the automation tab at the bottom of guardian.
smgreyuk
Posts: 98
Joined: Tue Jul 30, 2024 4:20 pm

Yes I have got it working too now thank you.

As the stall number is a Bet Angel SV (I know why it can't be an Event SV) there are times when two races in the UK occur around the same time and if this happens there's potential for a Stall Number from one race to be accidently used in the other race (albeit being a rare occurrence)

I'm wondering if there's a way of protecting a race's stall number from being overwritten by having assigned to a Market Level SV, but I am conscious that if I do that, the F/C and Win Markets won't be able to talk to one another.

Any ideas?
eatyourgreens
Posts: 275
Joined: Sun Feb 18, 2018 12:53 am

As the rules only fire in the last 20 secs or so, I dont think it will be a problem, I cant remember ever seeing a uk/irish gh starting at the same time, (I could be wrong!) I have always seen at least 1 minute between them,..........different story for aussie and uk/irish though, sometimes they do have the same start times.
smgreyuk
Posts: 98
Joined: Tue Jul 30, 2024 4:20 pm

Ah, fair enough.

I'll do those tweaks I said around adding in a lay bet and changing it to the 1st place for the fave etc.

Thank you for all of your help
smgreyuk
Posts: 98
Joined: Tue Jul 30, 2024 4:20 pm

Me again.

So I am staring at the set up and I can't see how it knows how to select the F/C option to be say (for example) "2 - 1" , "3 - 1" ... and so on... if betangel = 1

So the above example, the fave is in stall 1, that's fine, that's been done in the prior rules.

When I look at all of the back rules, the only thing that differs between them (other than the betangel fave number itself) is the rule name, but surely the rule name alone isn't telling what selections to back!?

I thought I was confident enough to tweak to change this to back 1 - 2 , 1 - 3 , 1 - 4 etc for the fave being 1 (regarding the above example) but I can't see what part it is that determines that.

Working backwards I can only conclude that having forecast as a text comparison and the betangel SV in there just seems to point to the Y part of the "X - Y" selection, but that stumps me in trying to select the X part instead

There's just no Selection name condition that says something like Must Contain 1 with a built in prefix of "- " so I am baffled
smgreyuk
Posts: 98
Joined: Tue Jul 30, 2024 4:20 pm

I am being stupid, you've just picked it yourself on the bottom drop down part of the "Applies to Selection", I get that now.

It's been a long week ha ha ha ha
eatyourgreens
Posts: 275
Joined: Sun Feb 18, 2018 12:53 am

smgreyuk wrote:
Fri May 23, 2025 1:03 am
Hi eatyourgreens,

Wow, that's brilliant. Just had a look at your file, you've basically combined two of the rules into one eloquently there, by pointing it at both markets and having the fix order not to look at forecast, it's clever.

I have slightly changed my approach on this since the first post, I now want this to apply to the fave to be selected for the 1st place forecast selections and I can see how easy it would be to change that in your file you have provided.

Now this is where it will get a bit more tricky

To add a further stipulation to this, now, rather than it applying to all of the dogs that would fit the 1st fave in 1st place selections - I wanted it to apply to a subset of these based on the top two faves

So say Dog is 1 is fave from the Win Market, then I want it to only dutch two of the of the F/C selections and these selections to be ranked 1st and 2nd in back price where Dog 1 is selected to win.

For example

1 - 2 is at 10
1 - 3 is at 7
1 - 4 is at 8
1 - 5 is at 6.8
and 1-6 is at 22

I would only want it to put 1 - 5 and 1 - 3 into the dutch (bearing in mind that the actual 1st and 2nd overall faves in the full F/C selection list may not start with Dog 1)

I was looking into how to this with my approach before seeing your brilliant file.

I was going down the line of a custom rank list at first but got lost

But looking at your file, I think I'd know exactly what to do.

I'd rename the betangel sv to ba1 in the first 6 rules after fix order, then create another 6 but set to fave 2 storing in ba2

Then add a further condition to each of the back rules to satisfy both the 1st (ba1) and 2nd fave (ba2) so only these were dutched, in my mind that should work.

Finally I can easily add the original lay bet I had on the fave in my approach in this file, that should be straight forward (this went in tandem with the dutch bets).

Thank you eatyourgreens - I shall let you know how I get on with all of that :-)
HI smgreyuk,

attached is a new bot to cover the new criteria you mention above.

It will place a £1 back bet on each of the two lowest forecasts where the win market favourite is deemed to be the winner. I chose £1 fixed because dutching by book% seemed silly on 2 out of 30 selections, you can easily change stakes to what you want. The first tests I did with it looked good until it faced a 5 dog race and it went tits up! so it now has conditions to only fire on 6 dog races........tested over about 20+ races and all worked fine.

Unlike the last bot, this one is using "row numbers" and not the f/c combinations so it should be easier to see what it is doing this time! :)

So, just add the lay bet you mentioned and test in practise mode!!!

good luck!
bak low 2 f_c, win mrk fav 1st.baf
forgot to add, you will need to have win and f/c markets in guardian and apply the rules file to both!
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 3915
Joined: Wed Nov 21, 2018 6:16 pm

eatyourgreens wrote:
Sat May 24, 2025 5:47 pm

Unlike the last bot, this one is using "row numbers" and not the f/c combinations so it should be easier to see what it is doing this time! :)
Be very careful using row numbers. Will all go out of sync if there is a non-runner.
smgreyuk
Posts: 98
Joined: Tue Jul 30, 2024 4:20 pm

Ah thank you eatyourgreens, very kind of you, you've gone above and beyond with this.

Ah thanks for the info jamesedwards, I could add a condition to ignore any race if there is at least 1 Non Runner.
tootall
Posts: 41
Joined: Tue Mar 05, 2019 8:33 am

Here you go a 6 row bot it doesn't care how many runners will also work in the Exacta market Aus F/C. You could of course add a filter.
Just load F/C an Win markets and apply rule to all markets, load the F/C first into guardian then the win market so when guardian switches to the one click screen the F/C market shows.
I haven't added Dutching but can be done easily,
To recap this will back the Fav from win market in the two lowest odd combination in the FC market.
(FC) Back 2 Favs.baf
You do not have the required permissions to view the files attached to this post.
smgreyuk
Posts: 98
Joined: Tue Jul 30, 2024 4:20 pm

Ah thank you again tootall!
Post Reply

Return to “Betfair exchange”