Help with B2L taking SP

Advanced automation available in Guardian - Chat with others and share files here.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

delghisallo wrote:
Sat Mar 26, 2022 1:34 pm
As I have a large selection of potential runners, is there no way to have the rule work from a list of runners rather than nominating runners for each race/market?

thanks

Delghisallo
Yes, if you have a list of your runners ie, in a CSV or .txt file you can apply a rule to 'ANY' selection and use a 'Text Comparison Condition' to test if the selection name is on your list, there is a step by step guide here which just requires you to copy and paste your list of runners into this condition once each day
viewtopic.php?f=37&t=24516


There is also an example here which does what I've described above
viewtopic.php?f=52&t=24310

Alternatively you could have a rule which 'Sets a Stored Value using a File', and import your runners directly from that, but thats a little more complicated to set up
User avatar
ShaunWhite
Posts: 10576
Joined: Sat Sep 03, 2016 3:42 am

Dallas wrote:
Sat Mar 26, 2022 2:03 pm
delghisallo wrote:
Sat Mar 26, 2022 1:34 pm
As I have a large selection of potential runners, is there no way to have the rule work from a list of runners rather than nominating runners for each race/market?

thanks

Delghisallo
Yes, if you have a list of your runners ie, in a CSV or .txt file you can apply a rule to 'ANY' selection and use a 'Text Comparison Condition' to test if the selection name is on your list, there is a step by step guide here which just requires you to copy and paste your list of runners into this condition once each day
viewtopic.php?f=37&t=24516


There is also an example here which does what I've described above
viewtopic.php?f=52&t=24310

Alternatively you could have a rule which 'Sets a Stored Value using a File', and import your runners directly from that, but thats a little more complicated to set up
Dontcha hate it when you've gone away to get some info and someone else has answered the question in the meantime. Yep setting noms from SVs...... https://www.betangel.com/user-guide/v1_ ... 3D&mw=MzIw
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

ShaunWhite wrote:
Sat Mar 26, 2022 2:11 pm
Dallas wrote:
Sat Mar 26, 2022 2:03 pm
delghisallo wrote:
Sat Mar 26, 2022 1:34 pm
As I have a large selection of potential runners, is there no way to have the rule work from a list of runners rather than nominating runners for each race/market?

thanks

Delghisallo
Yes, if you have a list of your runners ie, in a CSV or .txt file you can apply a rule to 'ANY' selection and use a 'Text Comparison Condition' to test if the selection name is on your list, there is a step by step guide here which just requires you to copy and paste your list of runners into this condition once each day
viewtopic.php?f=37&t=24516


There is also an example here which does what I've described above
viewtopic.php?f=52&t=24310

Alternatively you could have a rule which 'Sets a Stored Value using a File', and import your runners directly from that, but thats a little more complicated to set up
Dontcha hate it when you've gone away to get some info and someone else has answered the question in the meantime. Yep setting noms from SVs...... https://www.betangel.com/user-guide/v1_ ... 3D&mw=MzIw
:) Happens to me quite often while I'm searching for the relevant links/compiling a list of them for a reply
User avatar
ShaunWhite
Posts: 10576
Joined: Sat Sep 03, 2016 3:42 am

Dallas wrote:
Sat Mar 26, 2022 2:16 pm
:) Happens to me quite often while I'm searching for the relevant links/compiling a list of them for a reply
:) At least you've been paid for your time. When it comes to my time I sometimes wonder if sick donkeys would be a more deserving charity.
delghisallo
Posts: 53
Joined: Mon Nov 18, 2013 8:45 pm

ShaunWhite wrote:
Fri Mar 25, 2022 3:19 pm
I've had a look at your file...I'll let you make the changes.

1. You have a rule to back at high odds which is fine, but it doesn't have a condition to only do so if the current price is in range, and an additional condition to only do so if the unmatched bets >0....without that you could get 100s of bets (make sure you use practice mode or just keep a small amount in your balance for testing) You also want to remove that list of runner names and use the 'Nominated' selection feature but we'll do that later.

2.The TakeSP rule should only have the condition that unmatched bets >0. I see you have the price conditions on that rule and those should be on the rule that places the bet instead.

3. There is no rule to cancel the SP bet if the price moves out of range.

On all of the above change the "allow rule to trigger up to xxx times" to be 999. You want those three rules to be tested over and over again until your "until" time of -15s.. The fact you said trigger it once is what probably saved you from getting 100s of bets. Unless you get it to trigger repeatedly you won't get the required placing/cancelling as the price moves around.

The Close seems ok but I didn't look closely.

The result of those changes should be as I said...
One to place the SP bet if the price range is right AND no existing unmatched SP bet.
One to cancel any unmatched SP bets if the price is out of range.
One to turn any existing unmatched bets into 'take sp' bets.


Hope it helps, I'm a bit rusty with Guardian and just trying to help Dallas out a bit really ;)
Thanks Shaun.....sorry I've been offline for a few days and just had a mess around trying to get this rule to work. As you suggested the Place Back Bet at High Odds triggers 100's times without the unmatched bet>0 condition, but when I add that condition it wont trigger the back bet at high odds at all? Any suggestions? The rule is attached for reference with the changes you suggested added (although not sure if these are added correctly)
You do not have the required permissions to view the files attached to this post.
delghisallo
Posts: 53
Joined: Mon Nov 18, 2013 8:45 pm

Dallas wrote:
Sat Mar 26, 2022 2:16 pm
ShaunWhite wrote:
Sat Mar 26, 2022 2:11 pm
Dallas wrote:
Sat Mar 26, 2022 2:03 pm


Yes, if you have a list of your runners ie, in a CSV or .txt file you can apply a rule to 'ANY' selection and use a 'Text Comparison Condition' to test if the selection name is on your list, there is a step by step guide here which just requires you to copy and paste your list of runners into this condition once each day
viewtopic.php?f=37&t=24516


There is also an example here which does what I've described above
viewtopic.php?f=52&t=24310

Alternatively you could have a rule which 'Sets a Stored Value using a File', and import your runners directly from that, but thats a little more complicated to set up
Dontcha hate it when you've gone away to get some info and someone else has answered the question in the meantime. Yep setting noms from SVs...... https://www.betangel.com/user-guide/v1_ ... 3D&mw=MzIw
:) Happens to me quite often while I'm searching for the relevant links/compiling a list of them for a reply
Hi Dallas,

I dont suppose you could please look at the attached file on my previous post that I addressed to Shaun and identify what I have done wrong?

Thanks in advance

Delghisallo
User avatar
Dabbla
Posts: 827
Joined: Wed Apr 15, 2009 1:50 pm

You need unmatched bets = 0, Not greater.
You may want to add a matched bets condition = 0 to stop repeating bets after the first is matched.
delghisallo
Posts: 53
Joined: Mon Nov 18, 2013 8:45 pm

Thanks Guys I'll try and make some changes and see if I can get it to work
User avatar
ShaunWhite
Posts: 10576
Joined: Sat Sep 03, 2016 3:42 am

Dabbla wrote:
Tue Apr 05, 2022 12:27 pm
You need unmatched bets = 0, Not greater.
You may want to add a matched bets condition = 0 to stop repeating bets after the first is matched.
My error, good spot.

This is one of the reasons I suggested he made the changes not me because an error like that stand out when you actually set it up. Yep if you only want one bet, then only bet when there's already zero.
delghisallo
Posts: 53
Joined: Mon Nov 18, 2013 8:45 pm

Unfortunately, I'm still struggling with this rule, although the process is good as its helping me to learn (I hope ;) )

The placing back bet at a high price seems to be working now, only placing one bet from a list of selected horses and only if the current price is sitting between a pre-determined range (in the case of this rule, higher than evens and less than 20). Changing unmatched bets to equals appears to have worked.

The rule should then cancel any unmatched bets if the price has moved outside of this pre-determined range and then take SP for any unmatched bets that remain. These two lines don't appear to be working properly, so any advice would be greatly appreciated

Once again thanks all

Delghisallo
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

delghisallo wrote:
Wed Apr 06, 2022 4:33 pm
Unfortunately, I'm still struggling with this rule, although the process is good as its helping me to learn (I hope ;) )

The placing back bet at a high price seems to be working now, only placing one bet from a list of selected horses and only if the current price is sitting between a pre-determined range (in the case of this rule, higher than evens and less than 20). Changing unmatched bets to equals appears to have worked.

The rule should then cancel any unmatched bets if the price has moved outside of this pre-determined range and then take SP for any unmatched bets that remain. These two lines don't appear to be working properly, so any advice would be greatly appreciated

Once again thanks all

Delghisallo
The 'Cancel unmatched bets' condition and your 'Take SP' rule both need to be set as 'greater than' 0

And your close trade rule should ideally be applied to 'ANY' selection
with a 'Number of Place Bet Triggers Condition' is greater than 0

But that last part is just to tidy it up, it would still work the way you have it at the moment
delghisallo
Posts: 53
Joined: Mon Nov 18, 2013 8:45 pm

Dallas wrote:
Wed Apr 06, 2022 5:23 pm
delghisallo wrote:
Wed Apr 06, 2022 4:33 pm
Unfortunately, I'm still struggling with this rule, although the process is good as its helping me to learn (I hope ;) )

The placing back bet at a high price seems to be working now, only placing one bet from a list of selected horses and only if the current price is sitting between a pre-determined range (in the case of this rule, higher than evens and less than 20). Changing unmatched bets to equals appears to have worked.

The rule should then cancel any unmatched bets if the price has moved outside of this pre-determined range and then take SP for any unmatched bets that remain. These two lines don't appear to be working properly, so any advice would be greatly appreciated

Once again thanks all

Delghisallo
The 'Cancel unmatched bets' condition and your 'Take SP' rule both need to be set as 'greater than' 0

And your close trade rule should ideally be applied to 'ANY' selection
with a 'Number of Place Bet Triggers Condition' is greater than 0

But that last part is just to tidy it up, it would still work the way you have it at the moment
Thanks Dallas,

I think I'm getting there, but I think I still have something wrong with the final part of the rule i.e. Closing the trade. In the test I just ran, two horses met the criteria and SP bets where placed however only the closing trade (the lay bet) on one horse was made....see log below.....

06/04/2022 18:18:45: [G_Auto 1] : Store Text Value for Pride of Pimlico: Horse = Pride of Pimlico
06/04/2022 18:18:45: [G_Auto 1] : Store Text Value for Helvic Princess: Horse = Helvic Princess
06/04/2022 18:18:45: [G_Auto 1] : Store Text Value for Freepark: Horse = Freepark
06/04/2022 18:18:45: [G_Auto 1] : Store Text Value for Sweet November: Horse = Sweet November
06/04/2022 18:18:45: [G_Auto 1] : Store Text Value for Clifftop: Horse = Clifftop
06/04/2022 18:18:45: [G_Auto 1] : Store Text Value for Storm Elza: Horse = Storm Elza
06/04/2022 18:18:45: [G_Auto 1] : Store Text Value for Fair Damsel: Horse = Fair Damsel
06/04/2022 18:18:45: [G_Auto 1] : Store Text Value for Akua: Horse = Akua
06/04/2022 18:18:45: [G_Auto 1] : Store Text Value for Miss Cunning: Horse = Miss Cunning
06/04/2022 18:19:01: [G_Auto 1] : £ 1.00 Back bet placed on Pride of Pimlico at 750. Entirely unmatched when it initially reached the market. Ref: 10000
06/04/2022 18:19:01: [G_Auto 1] : £ 1.00 Back bet placed on Freepark at 750. Entirely unmatched when it initially reached the market. Ref: 10001
06/04/2022 18:19:50: [G_Auto 1] : Modify bet persistence 10000 from 'Cancel' to 'Take SP'

06/04/2022 18:19:50: [G_Auto 1] : Modify bet persistence 10001 from 'Cancel' to 'Take SP'


06/04/2022 18:21:34: Guardian has detected that the market is suspended
06/04/2022 18:21:36: Guardian has detected that the market is in-play
06/04/2022 18:21:36: Guardian has detected that the market is now unsuspended
06/04/2022 18:22:19: [G_Auto 1] : Placed closure bet with greening on Freepark by Laying 0.68 at 22
06/04/2022 18:22:26: [G_Auto 1] : Placed closure bet with greening on Freepark by Laying 0.08 at 22
06/04/2022 18:23:30: Guardian has detected that the market is suspended


Would this be because I havent got the rule triggering enough (3) times? Or something else?

as always...thank you for your time and patience

Delghisallo
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

I can't remember exactly how your close trade rule was set up, but yes if there's a chance you could be betting on more than one runner you'd need to change the close trade rule, but rather than just increase its trigger a better way would be to leave it at 3-5 triggers but apply it to 'every' selection (rather than ANY)

That way each selection will get its own 3-5 triggers and if there is a 'Number of place bet triggers condition greater than 0 on it (which i'm sure there is), it'll only trigger on selections that have had bets placed on them
delghisallo
Posts: 53
Joined: Mon Nov 18, 2013 8:45 pm

Finally, I think I've got this rule to work how I want it to. I just want to say a massive thank you to Dallas, Shaun White and Dabbla for your assistance in this, there's no way I could have got it to work without your help :D

thank you

Delghisallo
Post Reply

Return to “Bet Angel - Automation”