Displaying the winner

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
fishtownraider
Posts: 88
Joined: Mon Feb 20, 2023 3:05 pm

I'm trying to display either Over 1.5 Goals or Under 1.5 Goals in Guardian in a column headed Winner but nothing appears. Can you see why? Thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 5336
Joined: Wed Nov 21, 2018 6:16 pm

You can upload the .baf rulesfile here. Much easier for someone to find the issue that way.
fishtownraider
Posts: 88
Joined: Mon Feb 20, 2023 3:05 pm

jamesedwards wrote:
Sat Feb 07, 2026 7:48 pm
You can upload the .baf rulesfile here. Much easier for someone to find the issue that way.
Thanks. I can't get Profit to show up either.
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 5336
Joined: Wed Nov 21, 2018 6:16 pm

fishtownraider wrote:
Sat Feb 07, 2026 8:08 pm
jamesedwards wrote:
Sat Feb 07, 2026 7:48 pm
You can upload the .baf rulesfile here. Much easier for someone to find the issue that way.
Thanks. I can't get Profit to show up either.
You were missing a line that stores the selections' win statuses.

I havent tested this but it should work.
Lay U0.5 v2.baf
You do not have the required permissions to view the files attached to this post.
fishtownraider
Posts: 88
Joined: Mon Feb 20, 2023 3:05 pm

jamesedwards wrote:
Sat Feb 07, 2026 8:30 pm
fishtownraider wrote:
Sat Feb 07, 2026 8:08 pm
jamesedwards wrote:
Sat Feb 07, 2026 7:48 pm
You can upload the .baf rulesfile here. Much easier for someone to find the issue that way.
Thanks. I can't get Profit to show up either.
You were missing a line that stores the selections' win statuses.

I havent tested this but it should work.

Lay U0.5 v2.baf
Many thanks, James; I'll try it out today. (Whatever Peter is paying you isn't enough :lol: )
fishtownraider
Posts: 88
Joined: Mon Feb 20, 2023 3:05 pm

Oh, here we go again. 'The rule is linked with the market Southwell 7th Feb - 19:00 1m3f Hcap. It may not work as expected blah blah blah.' Grrr; I don't even back horses!
User avatar
jamesedwards
Posts: 5336
Joined: Wed Nov 21, 2018 6:16 pm

fishtownraider wrote:
Sun Feb 08, 2026 11:55 am
Oh, here we go again. 'The rule is linked with the market Southwell 7th Feb - 19:00 1m3f Hcap. It may not work as expected blah blah blah.' Grrr; I don't even back horses!
This is the reason. When you set up the rulefile you attributed this action against a named selection rather than a transferable selection. You're instructing Bet Angel to apply the action to a selection called "Shafdar" which of course doesn't exist in any other market.
z050.jpg


You need to use one of these instead:
z051.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by jamesedwards on Sun Feb 08, 2026 3:05 pm, edited 1 time in total.
fishtownraider
Posts: 88
Joined: Mon Feb 20, 2023 3:05 pm

jamesedwards wrote:
Sun Feb 08, 2026 2:21 pm
fishtownraider wrote:
Sun Feb 08, 2026 11:55 am
Oh, here we go again. 'The rule is linked with the market Southwell 7th Feb - 19:00 1m3f Hcap. It may not work as expected blah blah blah.' Grrr; I don't even back horses!
This is the reason. When you set up the rulefile you attributed this action against a named selection rather than a transferable attribute. You're instructing Bet Angel to apply the action to a horse called "Shafdar" which of course doesn't exist in any other market.

z050.jpg



You need to use one of these instead:

z051.jpg
Oh, right. I just imported the file and got the message when I tried to use it. (The selection box was blank, of course.) Should this populate the Winner column for all events it is applied to, or only those where the odds conditions trigger a lay?
User avatar
jamesedwards
Posts: 5336
Joined: Wed Nov 21, 2018 6:16 pm

fishtownraider wrote:
Sun Feb 08, 2026 3:05 pm
jamesedwards wrote:
Sun Feb 08, 2026 2:21 pm
fishtownraider wrote:
Sun Feb 08, 2026 11:55 am
Oh, here we go again. 'The rule is linked with the market Southwell 7th Feb - 19:00 1m3f Hcap. It may not work as expected blah blah blah.' Grrr; I don't even back horses!
This is the reason. When you set up the rulefile you attributed this action against a named selection rather than a transferable attribute. You're instructing Bet Angel to apply the action to a horse called "Shafdar" which of course doesn't exist in any other market.

z050.jpg



You need to use one of these instead:

z051.jpg
Oh, right. I just imported the file and got the message when I tried to use it. (The selection box was blank, of course.) Should this populate the Winner column for all events it is applied to, or only those where the odds conditions trigger a lay?
Should store the winner for any market the rulesfile is applied to.
fishtownraider
Posts: 88
Joined: Mon Feb 20, 2023 3:05 pm

I've got Records Odds set to ANY selection and Winner to EVERY selection. Does that sound OK? (Not really sure what the difference is, tbh.)
User avatar
jamesedwards
Posts: 5336
Joined: Wed Nov 21, 2018 6:16 pm

fishtownraider wrote:
Sun Feb 08, 2026 3:15 pm
I've got Records Odds set to ANY selection and Winner to EVERY selection. Does that sound OK? (Not really sure what the difference is, tbh.)
ANY selection will trigger only on the first selection where time and conditional criteria are met.

EVERY selection will trigger on all selections where time and conditional criteria are met.
fishtownraider
Posts: 88
Joined: Mon Feb 20, 2023 3:05 pm

jamesedwards wrote:
Sun Feb 08, 2026 3:17 pm
fishtownraider wrote:
Sun Feb 08, 2026 3:15 pm
I've got Records Odds set to ANY selection and Winner to EVERY selection. Does that sound OK? (Not really sure what the difference is, tbh.)
ANY selection will trigger only on the first selection where time and conditional criteria are met.

EVERY selection will trigger on all selections where time and conditional criteria are met.
Right, so I'm guessing if I want to to show the Under/Over result for all events, I'll need to change all 3 SV rules to Under 0.5 Goals on the General tab.
User avatar
jamesedwards
Posts: 5336
Joined: Wed Nov 21, 2018 6:16 pm

fishtownraider wrote:
Sun Feb 08, 2026 3:23 pm
jamesedwards wrote:
Sun Feb 08, 2026 3:17 pm
fishtownraider wrote:
Sun Feb 08, 2026 3:15 pm
I've got Records Odds set to ANY selection and Winner to EVERY selection. Does that sound OK? (Not really sure what the difference is, tbh.)
ANY selection will trigger only on the first selection where time and conditional criteria are met.

EVERY selection will trigger on all selections where time and conditional criteria are met.
Right, so I'm guessing if I want to to show the Under/Over result for all events, I'll need to change all 3 SV rules to Under 0.5 Goals on the General tab.
Nope, this is where you are going wrong.

You need to apply rules to "Betfair row 1". Row 1 is always under 0.5 goals. eg Row 2 would be if you wanted over 0.5 goals, etc
fishtownraider
Posts: 88
Joined: Mon Feb 20, 2023 3:05 pm

OK, I'll try that. Again, not sure how row 1 differs from the unders market if row 1 IS the unders market, but hey-ho. Annoyingly the rule has now decided to link itself to a football match I didn't even have selected, but I expect it will still work on other games. (I've been looking at it in the editor on and off for the past while without this behaviour, so why it's suddenly occurred is a mystery. I can't see how this isn't a bug.)
User avatar
jamesedwards
Posts: 5336
Joined: Wed Nov 21, 2018 6:16 pm

fishtownraider wrote:
Sun Feb 08, 2026 3:38 pm
OK, I'll try that. Again, not sure how row 1 differs from the unders market if row 1 IS the unders market, but hey-ho. Annoyingly the rule has now decided to link itself to a football match I didn't even have selected, but I expect it will still work on other games. (I've been looking at it in the editor on and off for the past while without this behaviour, so why it's suddenly occurred is a mystery. I can't see how this isn't a bug.)
It's because you're selecting a named selection, in this case "under 0.5".

Bet Angel is built to work in all possible markets including those where named selections will change from market to market, not just over/unders markets where the selection name is usually constant.

If you use betfair row 1 instead of "under 0.5" from now on all your problems will go away.
Post Reply

Return to “Bet Angel - Automation”