Back and Lay Runners Depending on their Recent Form / Finishing Positions Guardian Automation Bot

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

tony63 wrote:
Sun Jun 26, 2022 5:02 pm
Hi Dallas.

Thanks for that. I'll continue testing it.

I have also implemented a fix for the other problem which appears to be working. No doubt not as elegant that you would do but at the moment it appears to be working.
Just in case you haven't got it sorted you can give this one a go, I've been testing through the afternoon and it looks like its fully working again
I've also tweaked it so it only places one bet on the fav (before it could trigger a bet if it won and was placed, now it only places one or the other)
Back and Lay Depending on Recent Form.baf

If that works fine for you over the next day or two i'll update the OP with that version
You do not have the required permissions to view the files attached to this post.
tony63
Posts: 22
Joined: Wed Mar 16, 2016 12:14 pm

Thanks Dallas - much appreciated
tony63
Posts: 22
Joined: Wed Mar 16, 2016 12:14 pm

Hi Dallas.

13:15 Hamilton 28/9

28/06/2022 12:53:50: Guardian has detected that the market is suspended
28/06/2022 12:53:51: Guardian has detected that the market is now unsuspended
28/06/2022 13:14:32: [G_Auto 2] : Store Value (Shared) for market: FavOdds = 1.26
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Catch The Paddy: form = 22
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Lumacho: form = 8
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Blue Yonder: form = 5
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Chuck Taylor: form = 5
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Maries Jewel: form = 50
28/06/2022 13:14:51: [G_Auto 1] : £ 5.00 Back bet placed on Catch The Paddy at 1.28. Fully matched at 1.28. Ref: 10000
28/06/2022 13:14:51: [G_Auto 1] : £ 1.35 Lay bet placed on Blue Yonder at 19.5. Fully matched at 19.5. Ref: 10003
28/06/2022 13:14:51: [G_Auto 1] : £ 0.39 Lay bet placed on Maries Jewel at 65. Fully matched at 65. Ref: 10001
28/06/2022 13:14:51: [G_Auto 1] : £ 2.00 Lay bet placed on Chuck Taylor at 13.5. Fully matched at 13.5. Ref: 10004
28/06/2022 13:14:51: [G_Auto 1] : £ 2.08 Lay bet placed on Lumacho at 13. Fully matched at 13. Ref: 10002
28/06/2022 13:15:29: Guardian has detected that the market is suspended
28/06/2022 13:15:30: Guardian has detected that the market is in-play
28/06/2022 13:15:30: Guardian has detected that the market is now unsuspended
28/06/2022 13:15:31: [G_Auto 2] : Automation Signal for market: unsuspended = 1
28/06/2022 13:16:40: Guardian has detected that the market is suspended
My interpretation of the notes above is that no bet should have triggered as no horse has had 3 runs this season.

Sorry.
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

tony63 wrote:
Tue Jun 28, 2022 1:26 pm
Hi Dallas.

13:15 Hamilton 28/9

28/06/2022 12:53:50: Guardian has detected that the market is suspended
28/06/2022 12:53:51: Guardian has detected that the market is now unsuspended
28/06/2022 13:14:32: [G_Auto 2] : Store Value (Shared) for market: FavOdds = 1.26
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Catch The Paddy: form = 22
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Lumacho: form = 8
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Blue Yonder: form = 5
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Chuck Taylor: form = 5
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Maries Jewel: form = 50
28/06/2022 13:14:51: [G_Auto 1] : £ 5.00 Back bet placed on Catch The Paddy at 1.28. Fully matched at 1.28. Ref: 10000
28/06/2022 13:14:51: [G_Auto 1] : £ 1.35 Lay bet placed on Blue Yonder at 19.5. Fully matched at 19.5. Ref: 10003
28/06/2022 13:14:51: [G_Auto 1] : £ 0.39 Lay bet placed on Maries Jewel at 65. Fully matched at 65. Ref: 10001
28/06/2022 13:14:51: [G_Auto 1] : £ 2.00 Lay bet placed on Chuck Taylor at 13.5. Fully matched at 13.5. Ref: 10004
28/06/2022 13:14:51: [G_Auto 1] : £ 2.08 Lay bet placed on Lumacho at 13. Fully matched at 13. Ref: 10002
28/06/2022 13:15:29: Guardian has detected that the market is suspended
28/06/2022 13:15:30: Guardian has detected that the market is in-play
28/06/2022 13:15:30: Guardian has detected that the market is now unsuspended
28/06/2022 13:15:31: [G_Auto 2] : Automation Signal for market: unsuspended = 1
28/06/2022 13:16:40: Guardian has detected that the market is suspended
My interpretation of the notes above is that no bet should have triggered as no horse has had 3 runs this season.

Sorry.
Was that using the recent file I uploaded yesterday?

Those weren't triggering for me yesterday, and there was quite a few nov/mdn races went by where no bets were placed
tony63
Posts: 22
Joined: Wed Mar 16, 2016 12:14 pm

Hi Dallas.

Yes - I have just double checked. Older versions have been renamed and I just checked the rules file and the new store values rules are showing and so it is definitely the latest file.

If you check the stored values from the previous pot the stored value names are different showing it is the latest file.

Don't worry if you can't find a solution.

It's no good being awkward unless you prove it! :lol:
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Dallas wrote:
Tue Jun 28, 2022 1:57 pm
tony63 wrote:
Tue Jun 28, 2022 1:26 pm
Hi Dallas.

13:15 Hamilton 28/9

28/06/2022 12:53:50: Guardian has detected that the market is suspended
28/06/2022 12:53:51: Guardian has detected that the market is now unsuspended
28/06/2022 13:14:32: [G_Auto 2] : Store Value (Shared) for market: FavOdds = 1.26
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Catch The Paddy: form = 22
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Lumacho: form = 8
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Blue Yonder: form = 5
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Chuck Taylor: form = 5
28/06/2022 13:14:40: [G_Auto 1] : Store Text Value for Maries Jewel: form = 50
28/06/2022 13:14:51: [G_Auto 1] : £ 5.00 Back bet placed on Catch The Paddy at 1.28. Fully matched at 1.28. Ref: 10000
28/06/2022 13:14:51: [G_Auto 1] : £ 1.35 Lay bet placed on Blue Yonder at 19.5. Fully matched at 19.5. Ref: 10003
28/06/2022 13:14:51: [G_Auto 1] : £ 0.39 Lay bet placed on Maries Jewel at 65. Fully matched at 65. Ref: 10001
28/06/2022 13:14:51: [G_Auto 1] : £ 2.00 Lay bet placed on Chuck Taylor at 13.5. Fully matched at 13.5. Ref: 10004
28/06/2022 13:14:51: [G_Auto 1] : £ 2.08 Lay bet placed on Lumacho at 13. Fully matched at 13. Ref: 10002
28/06/2022 13:15:29: Guardian has detected that the market is suspended
28/06/2022 13:15:30: Guardian has detected that the market is in-play
28/06/2022 13:15:30: Guardian has detected that the market is now unsuspended
28/06/2022 13:15:31: [G_Auto 2] : Automation Signal for market: unsuspended = 1
28/06/2022 13:16:40: Guardian has detected that the market is suspended
My interpretation of the notes above is that no bet should have triggered as no horse has had 3 runs this season.

Sorry.
Was that using the recent file I uploaded yesterday?

Those weren't triggering for me yesterday, and there was quite a few nov/mdn races went by where no bets were placed
Its OK I see what its doing now, it's not triggering if a horse has no previous runs or has ran less than three times this season, but if its had 1 or 2 previous runs and this is its first season its still triggering on those - I sort that later
Anything else you spot in the mean time just let me know
mgreenough
Posts: 12
Joined: Tue Feb 02, 2021 11:16 am

Dallas, I think I found a fix to the way the stored values are evaluated when it shows less than two previous races using Prefix and Suffix on the stored values.

Putting Prefix and Suffix on each of form_last, form_second and form_third shown that when two values were returned it used the same for second and third

13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form = 09
13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form_last = #9#
13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form_second_last = #0#
13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form_third_last = #0# <<<< should not of been set to 0


So I put the Prefix and Suffix on the form stored value and that now picks up the spaces correctly:

13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form = # 9#
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form_last = 9
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form_second_last =
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form_third_last =

13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form = # 64#
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form_last = 4
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form_second_last = 6
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form_third_last =


I then modified the other stored value trim and added form_1st value. I have uploaded my modified file for you to test and critic.
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

mgreenough wrote:
Wed Jul 13, 2022 5:33 pm
Dallas, I think I found a fix to the way the stored values are evaluated when it shows less than two previous races using Prefix and Suffix on the stored values.

Putting Prefix and Suffix on each of form_last, form_second and form_third shown that when two values were returned it used the same for second and third

13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form = 09
13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form_last = #9#
13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form_second_last = #0#
13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form_third_last = #0# <<<< should not of been set to 0


So I put the Prefix and Suffix on the form stored value and that now picks up the spaces correctly:

13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form = # 9#
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form_last = 9
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form_second_last =
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form_third_last =

13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form = # 64#
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form_last = 4
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form_second_last = 6
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form_third_last =


I then modified the other stored value trim and added form_1st value. I have uploaded my modified file for you to test and critic.

TBH I forgot all about this after my last post due to Wimbledon so glad you were able to persevere on your own with it

I'll take a look at the file in the morning and report back but from the looks of your log it looks like you may have solved it :D
If so i'll merge those SV's into my file and update the OP with it, and of course give you a credit for solving some of it

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

Dallas wrote:
Wed Jul 13, 2022 7:24 pm
mgreenough wrote:
Wed Jul 13, 2022 5:33 pm
Dallas, I think I found a fix to the way the stored values are evaluated when it shows less than two previous races using Prefix and Suffix on the stored values.

Putting Prefix and Suffix on each of form_last, form_second and form_third shown that when two values were returned it used the same for second and third

13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form = 09
13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form_last = #9#
13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form_second_last = #0#
13/07/2022 16:36:40: [G_Auto 1] : Store Text Value for Broctune Azure: form_third_last = #0# <<<< should not of been set to 0


So I put the Prefix and Suffix on the form stored value and that now picks up the spaces correctly:

13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form = # 9#
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form_last = 9
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form_second_last =
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for Applejack Poet: form_third_last =

13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form = # 64#
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form_last = 4
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form_second_last = 6
13/07/2022 17:21:40: [G_Auto 1] : Store Text Value for So Ladylike: form_third_last =


I then modified the other stored value trim and added form_1st value. I have uploaded my modified file for you to test and critic.

TBH I forgot all about this after my last post due to Wimbledon so glad you were able to persevere on your own with it

I'll take a look at the file in the morning and report back but from the looks of your log it looks like you may have solved it :D
If so i'll merge those SV's into my file and update the OP with it, and of course give you a credit for solving some of it

Image
So that looks like its working spot on to me, and even more so its done in a sleek way, so v.well done on solving that part :D
I'll leeve it on test the rest of today and tomorrow continue and all being well will upload it to the OP Saturday morning
mgreenough
Posts: 12
Joined: Tue Feb 02, 2021 11:16 am

Thank you Dallas for your kind words and for all your shared files, I thought I would help contribute towards the site. I have been using Bet Angel for a while now and only just started playing with the automation side of things, so been trying out many of the files to see what they can offer me. Still getting to grips with most things but they can be as simple or as complicated as you need. As such I am having a lot of fun with them, and can see quite a potential in some of them.
orgagigio
Posts: 35
Joined: Fri Sep 16, 2022 10:29 pm

I tried putting it on dogs, but it doesn't activate, why?
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

orgagigio wrote:
Tue Nov 08, 2022 7:42 pm
I tried putting it on dogs, but it doesn't activate, why?
Betfair don't provide the form for Greyhounds
orgagigio
Posts: 35
Joined: Fri Sep 16, 2022 10:29 pm

ok , thank's
balsak1
Posts: 14
Joined: Fri May 13, 2022 10:11 pm

Morning Dallas,

This may have been asked if so apoligises, Is there a way of adding a 'green up' to this rule ? So if multiple bets fire based on the criteria of the rule can i have a rule added that 'greens up' when for example a profit hits £10 ?

Thanks in Advance

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

balsak1 wrote:
Tue Dec 20, 2022 8:41 am
Morning Dallas,

This may have been asked if so apoligises, Is there a way of adding a 'green up' to this rule ? So if multiple bets fire based on the criteria of the rule can i have a rule added that 'greens up' when for example a profit hits £10 ?

Thanks in Advance

Johnny
Yes, you can do it just by adding a 'Green all selections' rule with a 'Green all profit' condition
to test your profit is greater than '£X.XX'
Post Reply

Return to “Bet Angel Automation - Horse racing - In-running”