Number of matching selections

A place to discuss anything.
Post Reply
User avatar
BetScalper
Posts: 1139
Joined: Sun Jul 02, 2017 10:47 pm

Hi,

Question for Dallas or other super heroes...

Is there a way in Bet Angel to determine the actual number of selections that match a rule or rules ?

Example: I want to know how many selections have odds between (2 and 3) or (3 and 4) or (4 and 6) or (6 and 10). If there are a minimum of 3 between 6 and 10 then lay those selections etc.

Thanks for any help or pointers. At the moment the only way I can think of doing it is by using signals.

Cheers,
User avatar
gutuami
Posts: 1858
Joined: Wed Apr 15, 2009 4:06 pm

I guess it could be achieved playing with signals. For every range you will need a signal that would increase if there's a selection in that range. the nr of rules will be equal to the nr of possible selections in that range. for 2_3 that's 3, 3_4 - 4, 4_6 - 6 and 6_10 - 10. That's about 23 rules
User avatar
gutuami
Posts: 1858
Joined: Wed Apr 15, 2009 4:06 pm

something like this. maybe there's a more elegant solution but that's how I see it at the moment
You do not have the required permissions to view the files attached to this post.
Last edited by gutuami on Fri Mar 30, 2018 10:03 pm, edited 1 time in total.
User avatar
Dallas
Posts: 22723
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Just to add to Gutuami's post, it can be done with 4 signal rules if each signal rule is then applied to 'ANY' selection
then using the following condition will ensure only 1 signal gets set on each selection

Signal Set Condition
Signal named X
On selection
is NOT set with a value
User avatar
BetScalper
Posts: 1139
Joined: Sun Jul 02, 2017 10:47 pm

Great stuff.

Many thanks. :)
Post Reply

Return to “General discussion”