Identifying Specific Race Length & Qty of Runners

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
AMS01
Posts: 60
Joined: Wed Feb 19, 2020 6:06 pm

Hi, I'm looking to modify a file so that it will identify more than one race length with a specific number of runners per length... Would this be done using a signal?

So therefore it tells Bet Angel to fire a bet so long as the race length is say either, 5f long with 5 runners, 7f long with 6 runners or say 6f long with 6 runners.

All numbers are examples and I would need to be able to easily change the distance & number of runners.

Is this easy to implement?

Many thanks for your help
jamesedwards
Posts: 426
Joined: Wed Nov 21, 2018 6:16 pm

Both these variants are available conditions so the way I would do it is to use these conditions to create a stored value for the 'Number Of Selections', and then a separate stored value for 'Race Distance'. Then use each of these stored values can be used simultaneously or together or against each other to determine the rules that you want.
AMS01
Posts: 60
Joined: Wed Feb 19, 2020 6:06 pm

jameegray1 wrote:
Sun Jun 21, 2020 8:27 pm
Both these variants are available conditions so the way I would do it is to use these conditions to create a stored value for the 'Number Of Selections', and then a separate stored value for 'Race Distance'. Then use each of these stored values can be used simultaneously or together or against each other to determine the rules that you want.
Hi Jameegray 1 Thanks for your response, so can I have maybe 6 or more race lengths in the one file with a specific qty of runners to each race length using this process?
jamesedwards
Posts: 426
Joined: Wed Nov 21, 2018 6:16 pm

AMS01 wrote:
Sun Jun 21, 2020 9:41 pm
jameegray1 wrote:
Sun Jun 21, 2020 8:27 pm
Both these variants are available conditions so the way I would do it is to use these conditions to create a stored value for the 'Number Of Selections', and then a separate stored value for 'Race Distance'. Then use each of these stored values can be used simultaneously or together or against each other to determine the rules that you want.
Hi Jameegray 1 Thanks for your response, so can I have maybe 6 or more race lengths in the one file with a specific qty of runners to each race length using this process?
I don't understand exactly what you want to do but once you have the race lengths and number of selections each as separate stored values you should be able to do what you like with them.
AMS01
Posts: 60
Joined: Wed Feb 19, 2020 6:06 pm

jameegray1 wrote:
Sun Jun 21, 2020 9:47 pm
AMS01 wrote:
Sun Jun 21, 2020 9:41 pm
jameegray1 wrote:
Sun Jun 21, 2020 8:27 pm
Both these variants are available conditions so the way I would do it is to use these conditions to create a stored value for the 'Number Of Selections', and then a separate stored value for 'Race Distance'. Then use each of these stored values can be used simultaneously or together or against each other to determine the rules that you want.
Hi Jameegray 1 Thanks for your response, so can I have maybe 6 or more race lengths in the one file with a specific qty of runners to each race length using this process?
I don't understand exactly what you want to do but once you have the race lengths and number of selections each as separate stored values you should be able to do what you like with them.
Hi Jameegray 1, So I'm looking to have a specific number of runners to a specific race length say 5f & 6 runners but there maybe up to 6 or more variants of different race lengths each with a specific number of runners... Hopefully I've explained the above clearly enough, apologies if not 👍
AMS01
Posts: 60
Joined: Wed Feb 19, 2020 6:06 pm

So it might be as below;

Place bet if race matches any one of the following,

5f & 6 runners
1m 2f & 8 runners
6f & 6 runners
7f & 8 runners
Etc.

Hopefully this explains things better
jamesedwards
Posts: 426
Joined: Wed Nov 21, 2018 6:16 pm

AMS01 wrote:
Sun Jun 21, 2020 10:12 pm
So it might be as below;

Place bet if race matches any one of the following,

5f & 6 runners
1m 2f & 8 runners
6f & 6 runners
7f & 8 runners
Etc.

Hopefully this explains things better
Yes this is easy to do.

Rule 1:
1) 'Set / Modify a Stored Value Only'
2) Add condition: "Race Distance' = 5f.
3) 'Store a Value' named "Distance" for 'the Market' with 'an entered amount" = 5
4) repeat and create a new rule for each required distance.

Rule 2:
1) 'Set / Modify a Stored Value Only'
2) Add condition: 'Number of Selections' = 6.
3) 'Store a Value' named "Selections"' for 'the Market' with 'an entered amount" = 6
4) repeat and create a new rule for each required number of selections.

Once the above is in place then you can apply the following conditions to any of your trade rules:
1) Add condition: 'Stored Value' 'A Stored Value' "Distance" for 'the market' is 'equal' to whatever distance you require.
2) Add condition: 'Stored Value' 'A Stored Value' "Selections" for 'the market' is 'equal' to whatever distance you require.

Remember to make sure you try these rules in the practice setting first before trying with real money. :)
AMS01
Posts: 60
Joined: Wed Feb 19, 2020 6:06 pm

jameegray1 wrote:
Sun Jun 21, 2020 10:37 pm
AMS01 wrote:
Sun Jun 21, 2020 10:12 pm
So looks like I will need to create 2 rules per File for each distance, one for distance and one for runners relating to that distance?

My question might be getting a bit muddy again lol... Forgive me if it is
jamesedwards
Posts: 426
Joined: Wed Nov 21, 2018 6:16 pm

AMS01 wrote:
Sun Jun 21, 2020 10:12 pm


So looks like I will need to create 2 rules per File for each distance, one for distance and one for runners relating to that distance?

My question might be getting a bit muddy again lol... Forgive me if it is
If you do it the way I have suggested then you have flexibility to mix and match any of your distance of number of selections stored values. Or if you wish you could combine a distance and number of selections into one stored value by creating both conditions under one stored value rule.
AMS01
Posts: 60
Joined: Wed Feb 19, 2020 6:06 pm

jameegray1 wrote:
Mon Jun 22, 2020 12:28 pm
AMS01 wrote:
Sun Jun 21, 2020 10:12 pm


So looks like I will need to create 2 rules per File for each distance, one for distance and one for runners relating to that distance?

My question might be getting a bit muddy again lol... Forgive me if it is
If you do it the way I have suggested then you have flexibility to mix and match any of your distance of number of selections stored values. Or if you wish you could combine a distance and number of selections into one stored value by creating both conditions under one stored value rule.
Hi Jameegray1, I'm not looking for the need to often modify the file with stored race lengths & qty of runners. What I'm looking for is for my file to hold a various amount of race lengths with each race length having a specific qty of runners.

I'm looking for to be able to do the following;

Race goes live and as the following;

5f with 6 runners

It goes to fire the bet but checks it's allowed to do so, stored data might be something like;
5f & 6 runners
1m 2f & 8 runners
6f & 6 runners
7f & 8 runners

In this instance it can fire the bet as the 5f with 6 runners is within the file... However if the race was 5f with 5 runners (maybe a late N.R. or even 7 runners) it won't fire the bet as it doesn't meet/match stored criteria.

Has this explanation helped clear anything up... The file will hold up to 8 or 9 variants of race length and qty of runners.

Also on a side not to identify 1m 2f I presume we enter 10f...

Cheers
Post Reply

Return to “Bet Angel - Automation”