I'm trying to get BA to record 2 prices of the top 3 horses. Taking the 1st price snapshot is easy, as I can sort by favouritism (top 3 by price), but how do I ensure my second set of prices is of the same selections, given that the odds could have moved significantly and the selections might not be in the same order now?
Recording selection prices
HI all,
I'm trying to get BA to record 2 prices of the top 3 horses. Taking the 1st price snapshot is easy, as I can sort by favouritism (top 3 by price), but how do I ensure my second set of prices is of the same selections, given that the odds could have moved significantly and the selections might not be in the same order now?
I'm trying to get BA to record 2 prices of the top 3 horses. Taking the 1st price snapshot is easy, as I can sort by favouritism (top 3 by price), but how do I ensure my second set of prices is of the same selections, given that the odds could have moved significantly and the selections might not be in the same order now?
- jamesedwards
- Posts: 5039
- Joined: Wed Nov 21, 2018 6:16 pm
Assuming you're saving the first set of prices as a stored value, use a condition on the second trigger that the original stored value on the selection has been set with a value.Goobs wrote: ↑Fri Oct 10, 2025 2:27 pmHI all,
I'm trying to get BA to record 2 prices of the top 3 horses. Taking the 1st price snapshot is easy, as I can sort by favouritism (top 3 by price), but how do I ensure my second set of prices is of the same selections, given that the odds could have moved significantly and the selections might not be in the same order now?![]()
Yes, I'm saving them as shared stored values.
If the original selections swap places in terms of odds, say 2nd and 3rd fave swap there will be no stored value for my origianl selection and it then wouldnt work?
Is there a way to store the horse name and select it for the second value based on that?
If the original selections swap places in terms of odds, say 2nd and 3rd fave swap there will be no stored value for my origianl selection and it then wouldnt work?
Is there a way to store the horse name and select it for the second value based on that?
- jamesedwards
- Posts: 5039
- Joined: Wed Nov 21, 2018 6:16 pm
All you need to do is mark the top three horses with a signal or stored value at the same time as you capture the first set of prices. Then capture the second set of prices on 'every selection' based on the condition that they have the mark from the first capture.Goobs wrote: ↑Fri Oct 10, 2025 2:38 pmYes, I'm saving them as shared stored values.
If the original selections swap places in terms of odds, say 2nd and 3rd fave swap there will be no stored value for my origianl selection and it then wouldnt work?
Is there a way to store the horse name and select it for the second value based on that?
- jamesedwards
- Posts: 5039
- Joined: Wed Nov 21, 2018 6:16 pm
Another way to do it would be to use the 'fix the order of selections' just before the first set of data is taken.
- jamesedwards
- Posts: 5039
- Joined: Wed Nov 21, 2018 6:16 pm
No.
But the best way to do it is the first way I mentioned.
Like this (not tested).
You do not have the required permissions to view the files attached to this post.
not sure why but it fired off the best back price collection twice, not sure why its only set to trigger once at 10 mins before start time?!
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price = 1.85
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for Seskin Flash: best back price = 7
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price = 9
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price = 2
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price = 5.7
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for Sophia Rose: best back price = 9.4
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price 2 = 1.79
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Seskin Flash: best back price 2 = 10.5
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price 2 = 7
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Sophia Rose: best back price 2 = 9
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price = 1.85
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for Seskin Flash: best back price = 7
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price = 9
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price = 2
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price = 5.7
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for Sophia Rose: best back price = 9.4
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price 2 = 1.79
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Seskin Flash: best back price 2 = 10.5
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price 2 = 7
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Sophia Rose: best back price 2 = 9
- jamesedwards
- Posts: 5039
- Joined: Wed Nov 21, 2018 6:16 pm
It works fine for me. You must have changed something? Attach the rulefile you're using here.Goobs wrote: ↑Fri Oct 10, 2025 5:09 pmnot sure why but it fired off the best back price collection twice, not sure why its only set to trigger once at 10 mins before start time?!
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price = 1.85
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for Seskin Flash: best back price = 7
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price = 9
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price = 2
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price = 5.7
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for Sophia Rose: best back price = 9.4
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price 2 = 1.79
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Seskin Flash: best back price 2 = 10.5
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price 2 = 7
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Sophia Rose: best back price 2 = 9
- jamesedwards
- Posts: 5039
- Joined: Wed Nov 21, 2018 6:16 pm
... or perhaps you saved or reapplyed the rulefile at 17:03:17 ???jamesedwards wrote: ↑Fri Oct 10, 2025 5:14 pmIt works fine for me. You must have changed something? Attach the rulefile you're using here.Goobs wrote: ↑Fri Oct 10, 2025 5:09 pmnot sure why but it fired off the best back price collection twice, not sure why its only set to trigger once at 10 mins before start time?!
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price = 1.85
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for Seskin Flash: best back price = 7
10/10/2025 16:55:00: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price = 9
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price = 2
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price = 5.7
10/10/2025 17:03:17: [G_Auto 1] : Store Value (Shared) for Sophia Rose: best back price = 9.4
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for The Electrical Kid: best back price 2 = 1.79
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Seskin Flash: best back price 2 = 10.5
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Tell Us This: best back price 2 = 7
10/10/2025 17:04:50: [G_Auto 1] : Store Value (Shared) for Sophia Rose: best back price 2 = 9
Ah yes maybe thats what happened, as I added a calculation to subtract the odds from eachother!
10/10/2025 17:15:00: [G_Auto 1] : Store Value (Shared) for Flawless Fusion: best back price = 4.1
10/10/2025 17:15:00: [G_Auto 1] : Store Value (Shared) for Lucia Molly: best back price = 6.8
10/10/2025 17:15:00: [G_Auto 1] : Store Value (Shared) for Luahna: best back price = 7.2
10/10/2025 17:24:50: [G_Auto 1] : Store Value (Shared) for Flawless Fusion: best back price 2 = 3.9
10/10/2025 17:24:50: [G_Auto 1] : Store Value (Shared) for Luahna: best back price 2 = 7
10/10/2025 17:24:50: [G_Auto 1] : Store Value (Shared) for Lucia Molly: best back price 2 = 4.9
10/10/2025 17:24:55: [G_Auto 1] : Store Value (Shared) for Flawless Fusion: Data Calc = 4.1 - 3.9 = 0.2
10/10/2025 17:24:55: [G_Auto 1] : Store Value (Shared) for Luahna: Data Calc = 7.2 - 7 = 0.2
10/10/2025 17:24:55: [G_Auto 1] : Store Value (Shared) for Lucia Molly: Data Calc = 6.8 - 4.9 = 1.9
Thanks for taking the time to help with this James, much appericated!
10/10/2025 17:15:00: [G_Auto 1] : Store Value (Shared) for Flawless Fusion: best back price = 4.1
10/10/2025 17:15:00: [G_Auto 1] : Store Value (Shared) for Lucia Molly: best back price = 6.8
10/10/2025 17:15:00: [G_Auto 1] : Store Value (Shared) for Luahna: best back price = 7.2
10/10/2025 17:24:50: [G_Auto 1] : Store Value (Shared) for Flawless Fusion: best back price 2 = 3.9
10/10/2025 17:24:50: [G_Auto 1] : Store Value (Shared) for Luahna: best back price 2 = 7
10/10/2025 17:24:50: [G_Auto 1] : Store Value (Shared) for Lucia Molly: best back price 2 = 4.9
10/10/2025 17:24:55: [G_Auto 1] : Store Value (Shared) for Flawless Fusion: Data Calc = 4.1 - 3.9 = 0.2
10/10/2025 17:24:55: [G_Auto 1] : Store Value (Shared) for Luahna: Data Calc = 7.2 - 7 = 0.2
10/10/2025 17:24:55: [G_Auto 1] : Store Value (Shared) for Lucia Molly: Data Calc = 6.8 - 4.9 = 1.9
Thanks for taking the time to help with this James, much appericated!
Hi James,
If I return the odds differential with Data Calc as my stored value, and I get 2 or more selections with odds difference >= 1.2, how could I only place the bet on the selection with the greatest difference?
See attached for my current version.
12/10/2025 14:25:00: [G_Auto 1]: Store Value (Shared) for Madbadanddangerous: best back price = 4.5
12/10/2025 14:25:00: [G_Auto 1] Store Value (Shared) for Green Citation: best back price = 5.8
12/10/2025 14:25:00: [G_Auto 1] : Store Value (Shared) for Alphecca: best back price = 6.2
12/10/2025 14:34:50: [G_Auto 1]: Store Value (Shared) for Madbadanddangerous: best back price 2 = 6.6
12/10/2025 14:34:50: [G_Auto 1] Store Value (Shared) for Green Citation: best back price 2 = 4.5
12/10/2025 14:34:50: [G_Auto 1] : Store Value (Shared) for Alphecca: best back price 2 = 4.6
12/10/2025 14:34:55: [G_Auto 1] : Store Value (Shared) for Madbadanddangerous: Data Calc = 4.5 - 6.6 = -2.1
12/10/2025 14:34:55: [G_Auto 1] : Store Value (Shared) for Green Citation: Data Calc = 5.8 - 4.5 = 1.3
12/10/2025 14:34:55: [G_Auto 1] : Store Value (Shared) for Alphecca: Data Calc = 6.2 - 4.6 = 1.6
12/10/2025 14:34:55: [G_Auto 1] : £ 1.00 Back bet placed on Green Citation at 4.6. Fully matched at 4.6.
Like this example it should have really placed the bet on Alphecca as its odds differance was >=1.2 but also larger than the odds differance on Green Citation.
cheers
Goobs
If I return the odds differential with Data Calc as my stored value, and I get 2 or more selections with odds difference >= 1.2, how could I only place the bet on the selection with the greatest difference?
See attached for my current version.
12/10/2025 14:25:00: [G_Auto 1]: Store Value (Shared) for Madbadanddangerous: best back price = 4.5
12/10/2025 14:25:00: [G_Auto 1] Store Value (Shared) for Green Citation: best back price = 5.8
12/10/2025 14:25:00: [G_Auto 1] : Store Value (Shared) for Alphecca: best back price = 6.2
12/10/2025 14:34:50: [G_Auto 1]: Store Value (Shared) for Madbadanddangerous: best back price 2 = 6.6
12/10/2025 14:34:50: [G_Auto 1] Store Value (Shared) for Green Citation: best back price 2 = 4.5
12/10/2025 14:34:50: [G_Auto 1] : Store Value (Shared) for Alphecca: best back price 2 = 4.6
12/10/2025 14:34:55: [G_Auto 1] : Store Value (Shared) for Madbadanddangerous: Data Calc = 4.5 - 6.6 = -2.1
12/10/2025 14:34:55: [G_Auto 1] : Store Value (Shared) for Green Citation: Data Calc = 5.8 - 4.5 = 1.3
12/10/2025 14:34:55: [G_Auto 1] : Store Value (Shared) for Alphecca: Data Calc = 6.2 - 4.6 = 1.6
12/10/2025 14:34:55: [G_Auto 1] : £ 1.00 Back bet placed on Green Citation at 4.6. Fully matched at 4.6.
Like this example it should have really placed the bet on Alphecca as its odds differance was >=1.2 but also larger than the odds differance on Green Citation.
cheers
Goobs
You do not have the required permissions to view the files attached to this post.
