Trap numbers and text comparison

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

Not really sure where to post this but here goes ...

I'm trying to get a bet to fire if the 2 favs are in adjacent traps eg 1-2 5-6 etc

I've got most of it it, but I can can only store the trap numbers as text, not as integers, which is making any comparison of the trap numbers very hard

IE I can only use 'store a value as text', as if I used 'store a value' it seems I can only use the Betfair ID for the dogs.

Can anyone advise please, I need to be able to extract, and store the trap numbers as integers.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

In greyhound racing the Betfair row index corresponds the the trap number
so you could store the value of the selection in Betfair row 1 with an entered amount of 1
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

So set all runners using SVs with numbers accordingly?

Could I trouble you for a quick example of that as I can't quite visualise it ? Just for trap 1 a runner called doggy heaven for example ?

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

iggypop37 wrote:
Tue Jul 11, 2023 12:54 pm
So set all runners using SVs with numbers accordingly?

Could I trouble you for a quick example of that as I can't quite visualise it ? Just for trap 1 a runner called doggy heaven for example ?

TIA
Just like this

General.jpg
SV.jpg
You do not have the required permissions to view the files attached to this post.
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

fantastic thank you so much
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

also related to this, if I wanted a bet rule to fire if there were runners in (all of) traps 1-5 or traps 2-6, you would set a signal if those traps (row in betfair index) had volume traded on them, and if so use conditions in a group to confirm if you see what I mean ?

tests the grey matter this stuff doesnt it ?!to append to the above you would need to use a text comparision condition in the signal dialogue to make sure that the dog number corresponded to the betfair row number - I think !?
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

iggypop37 wrote:
Thu Jul 13, 2023 2:56 am
also related to this, if I wanted a bet rule to fire if there were runners in (all of) traps 1-5 or traps 2-6, you would set a signal if those traps (row in betfair index) had volume traded on them, and if so use conditions in a group to confirm if you see what I mean ?

tests the grey matter this stuff doesnt it ?!to append to the above you would need to use a text comparision condition in the signal dialogue to make sure that the dog number corresponded to the betfair row number - I think !?
Oh yes its all keeps the brain ticking over :)
And yes that is correct for your first paragraph, or you could set a signal on traps 1 or 6 if there is no selection/volume/price etc

For the second you could just use a Signal Set condition/s
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

Dallas wrote:
Thu Jul 13, 2023 12:15 pm
iggypop37 wrote:
Thu Jul 13, 2023 2:56 am
also related to this, if I wanted a bet rule to fire if there were runners in (all of) traps 1-5 or traps 2-6, you would set a signal if those traps (row in betfair index) had volume traded on them, and if so use conditions in a group to confirm if you see what I mean ?

tests the grey matter this stuff doesnt it ?!to append to the above you would need to use a text comparision condition in the signal dialogue to make sure that the dog number corresponded to the betfair row number - I think !?
Oh yes its all keeps the brain ticking over :)
And yes that is correct for your first paragraph, or you could set a signal on traps 1 or 6 if there is no selection/volume/price etc

For the second you could just use a Signal Set condition/s
yeah i think I have it sorted now thank you - looking for bet to fire only if 6 runners, or 5 runners in either 1-5 or 2-6 traps. With use of signal setting and text comparision condition to match runners with BF row numbers, it seems to be working.

Thanks again .
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

iggypop37 wrote:
Thu Jul 13, 2023 2:26 pm
Dallas wrote:
Thu Jul 13, 2023 12:15 pm
iggypop37 wrote:
Thu Jul 13, 2023 2:56 am
also related to this, if I wanted a bet rule to fire if there were runners in (all of) traps 1-5 or traps 2-6, you would set a signal if those traps (row in betfair index) had volume traded on them, and if so use conditions in a group to confirm if you see what I mean ?

tests the grey matter this stuff doesnt it ?!to append to the above you would need to use a text comparision condition in the signal dialogue to make sure that the dog number corresponded to the betfair row number - I think !?
Oh yes its all keeps the brain ticking over :)
And yes that is correct for your first paragraph, or you could set a signal on traps 1 or 6 if there is no selection/volume/price etc

For the second you could just use a Signal Set condition/s
yeah i think I have it sorted now thank you - looking for bet to fire only if 6 runners, or 5 runners in either 1-5 or 2-6 traps. With use of signal setting and text comparision condition to match runners with BF row numbers, it seems to be working.

Thanks again .

Image
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

still getting a few problems on this where traps are missing . If you look at this example where T2 is vacant .. the allocation of SVs seem to stop
You do not have the required permissions to view the files attached to this post.
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

by contrast this is what happens when all 6 ARE present .

I think I might try to work around this be using signals rather than SV.

(we were allocating T1 had an SV of 1, T2 of 2 etc, etc)
You do not have the required permissions to view the files attached to this post.
Atho55
Posts: 679
Joined: Tue Oct 06, 2015 1:37 pm

Will this work.... the top of the rule the runner begins with 1 which will be Trap 1 and it`s either 1st or 2nd fave. The second part it begins with 2 which is Trap2 and that is also 1st or 2nd fave. Then copy for 2&3, 3&4, 4&5 and 5&6 being adjacent trap combinations

Trap 1&2.png
You do not have the required permissions to view the files attached to this post.
iggypop37
Posts: 98
Joined: Fri Jul 20, 2018 11:05 pm

thanks ill give that a try . bit flummoxed otherwise.

using signals to then set SVs doesnt work either
Atho55
Posts: 679
Joined: Tue Oct 06, 2015 1:37 pm

The wheels look to come off when it`s just 5 runners. This is £2 Back bet just now in Prac Mode from 3m out.

Adj Trap Test.png
You do not have the required permissions to view the files attached to this post.
User avatar
ShaunWhite
Posts: 10562
Joined: Sat Sep 03, 2016 3:42 am

I'm late to the party but if you could do (fav trap - 2nd fav trap) and the result was either 1 or - 1 then it would work in any situation? Better still abs ((fav trap - 2nd fav trap)) = 1
Post Reply

Return to “Bet Angel - Automation”