I thought I would play around with Custom Rankings for the first time this morning but I'm getting (what to me are) weird results!
I attach a trimmed down baf with a rule for just the Custom Ranking that is producing these results.
Example: for R5 (09:02) at Bathurst this morning it returned:-
Why is Sabella Shannon Ranked '0' and the 7th ranked is missing. That's where Sabella Shannon should be. The rankings returned for all events by this simple rule all seem to have Rank '0' out of place and the Rank where it should be is omitted (as is No. 7 in this example). This result was achieved on a 40ms setting as I wondered if there might be a speed issue when on 20ms. Mindful of the need to capture all values as close to at the same time as possible I'm reluctant to increase the refresh interval but have just tried one at 100ms that returned the same issue.
I have not used the Custom Ranking facility before ... have I set it up wrong?
Using Custom Rankings Facility
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
You do not have the required permissions to view the files attached to this post.
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
You have the ranking stored value placed before the volume stored value on the SV tabfirlandsfarm wrote: ↑Wed Jan 24, 2024 9:48 amI thought I would play around with Custom Rankings for the first time this morning but I'm getting (what to me are) weird results!
I attach a trimmed down baf with a rule for just the Custom Ranking that is producing these results.
Example: for R5 (09:02) at Bathurst this morning it returned:-
VolumeRanking.png
Why is Sabella Shannon Ranked '0' and the 7th ranked is missing. That's where Sabella Shannon should be. The rankings returned for all events by this simple rule all seem to have Rank '0' out of place and the Rank where it should be is omitted (as is No. 7 in this example). This result was achieved on a 40ms setting as I wondered if there might be a speed issue when on 20ms. Mindful of the need to capture all values as close to at the same time as possible I'm reluctant to increase the refresh interval but have just tried one at 100ms that returned the same issue.
I have not used the Custom Ranking facility before ... have I set it up wrong?
VolumeRanking.baf
Stored value are processed in the order they appear
Also if it were me I'd use a set/modify stored value rule applied to every selection to store the Traded Volume
Then add a 'Update Custom Ranking' rule below it so you know the Stored values are already there and able to be sorted
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
Thanks Dallas, never considered the sequencing of the executions! I'll work on thatDallas wrote: ↑Thu Jan 25, 2024 1:18 pmYou have the ranking stored value placed before the volume stored value on the SV tabfirlandsfarm wrote: ↑Wed Jan 24, 2024 9:48 amI thought I would play around with Custom Rankings for the first time this morning but I'm getting (what to me are) weird results!
I attach a trimmed down baf with a rule for just the Custom Ranking that is producing these results.
Example: for R5 (09:02) at Bathurst this morning it returned:-
VolumeRanking.png
Why is Sabella Shannon Ranked '0' and the 7th ranked is missing. That's where Sabella Shannon should be. The rankings returned for all events by this simple rule all seem to have Rank '0' out of place and the Rank where it should be is omitted (as is No. 7 in this example). This result was achieved on a 40ms setting as I wondered if there might be a speed issue when on 20ms. Mindful of the need to capture all values as close to at the same time as possible I'm reluctant to increase the refresh interval but have just tried one at 100ms that returned the same issue.
I have not used the Custom Ranking facility before ... have I set it up wrong?
VolumeRanking.baf
Stored value are processed in the order they appear
Also if it were me I'd use a set/modify stored value rule applied to every selection to store the Traded Volume
Then add a 'Update Custom Ranking' rule below it so you know the Stored values are already there and able to be sorted
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
Update: All good, thanks Dallas ... I need to think more about sequencing!
firlandsfarm wrote: ↑Fri Jan 26, 2024 4:40 pmUpdate: All good, thanks Dallas ... I need to think more about sequencing!
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
Spoke too soon!Dallas wrote: ↑Sat Jan 27, 2024 11:59 amfirlandsfarm wrote: ↑Fri Jan 26, 2024 4:40 pmUpdate: All good, thanks Dallas ... I need to think more about sequencing!
Trying to expand this new found skill to ID Drifters and Steamers for onward processing and not getting what I expected! (The rules file is below). The problem is it's only ranking all movements occasionally more often it 'misses' some. The rules gather the LTP at 11:00 each morning (UK and Ireland only), 1 hour before the Off and at the scheduled Off. It then calculates the movement between 11:00 - Off and 1 hour - Off, both ascending and descending to ID biggest steamer and biggest drifter.
Here is the log for the 19:00 at Kempton last night ...
27/01/2024 11:00:01: [G_Auto 1] : Store Value for Cinque Verde: LTP@11:00.sv = 30 - 1 = 29
27/01/2024 11:00:01: [G_Auto 1] : Store Value for Cotai Vision: LTP@11:00.sv = 5.9 - 1 = 4.9
27/01/2024 11:00:01: [G_Auto 1] : Store Value for First Of May: LTP@11:00.sv = 5.1 - 1 = 4.1
27/01/2024 11:00:01: [G_Auto 1] : Store Value for Habooba: LTP@11:00.sv = 2.84 - 1 = 1.84
27/01/2024 11:00:01: [G_Auto 1] : Store Value for Kensington Agent: LTP@11:00.sv = 22 - 1 = 21
27/01/2024 11:00:01: [G_Auto 1] : Store Value for Premiere Beauty: LTP@11:00.sv = 5.7 - 1 = 4.7
27/01/2024 11:00:01: [G_Auto 1] : Store Value for Shes Centimental: LTP@11:00.sv = 12 - 1 = 11
27/01/2024 18:00:00: [G_Auto 1] : Store Value for Cotai Vision: [email protected] = 5.5 - 1 = 4.5
27/01/2024 18:00:00: [G_Auto 1] : Store Value for First Of May: [email protected] = 4.8 - 1 = 3.8
27/01/2024 18:00:00: [G_Auto 1] : Store Value for Habooba: [email protected] = 3.7 - 1 = 2.7
27/01/2024 18:00:00: [G_Auto 1] : Store Value for Premiere Beauty: [email protected] = 4 - 1 = 3
27/01/2024 18:00:00: [G_Auto 1] : Store Value for Shes Centimental: [email protected] = 13 - 1 = 12
27/01/2024 18:59:50: [G_Auto 1] : Store Value for Cotai Vision: [email protected] = 5.8 - 1 = 4.8
27/01/2024 18:59:50: [G_Auto 1] : Store Value for First Of May: [email protected] = 4.7 - 1 = 3.7
27/01/2024 18:59:50: [G_Auto 1] : Store Value for Habooba: [email protected] = 3.65 - 1 = 2.65
27/01/2024 18:59:50: [G_Auto 1] : Store Value for Premiere Beauty: [email protected] = 3.45 - 1 = 2.45
27/01/2024 18:59:50: [G_Auto 1] : Store Value for Shes Centimental: [email protected] = 16 - 1 = 15
27/01/2024 18:59:52: [G_Auto 1] : Store Value for Cotai Vision: LTPMovement11:00.sv = 4.9 / 4.8 = 1.02
27/01/2024 18:59:52: [G_Auto 1] : Store Value for Cotai Vision: LTPMovement1Hour.sv = 4.5 / 4.8 = 0.94
27/01/2024 18:59:52: [G_Auto 1] : Store Value for First Of May: LTPMovement11:00.sv = 4.1 / 3.7 = 1.11
27/01/2024 18:59:52: [G_Auto 1] : Store Value for First Of May: LTPMovement1Hour.sv = 3.8 / 3.7 = 1.03
27/01/2024 18:59:52: [G_Auto 1] : Store Value for Habooba: LTPMovement11:00.sv = 1.84 / 2.65 = 0.69
27/01/2024 18:59:52: [G_Auto 1] : Store Value for Habooba: LTPMovement1Hour.sv = 2.7 / 2.65 = 1.02
27/01/2024 18:59:52: [G_Auto 1] : Store Value for Premiere Beauty: LTPMovement11:00.sv = 4.7 / 2.45 = 1.92
27/01/2024 18:59:52: [G_Auto 1] : Store Value for Premiere Beauty: LTPMovement1Hour.sv = 3 / 2.45 = 1.22
27/01/2024 18:59:52: [G_Auto 1] : Store Value for Shes Centimental: LTPMovement11:00.sv = 11 / 15 = 0.73
27/01/2024 18:59:52: [G_Auto 1] : Store Value for Shes Centimental: LTPMovement1Hour.sv = 12 / 15 = 0.8
27/01/2024 18:59:54: [G_Auto 1] : Store Value for Premiere Beauty: RankDrifter11:00.sv = 0
27/01/2024 18:59:54: [G_Auto 1] : Store Value for Premiere Beauty: RankDrifter1Hour.sv = 0
27/01/2024 18:59:54: [G_Auto 1] : Store Value for Premiere Beauty: RankSteamer11:00.sv = 0
27/01/2024 18:59:54: [G_Auto 1] : Store Value for Premiere Beauty: RankSteamer1Hour.sv = 0
27/01/2024 18:59:55: [G_Auto 1] : Store Value for Habooba: RankDrifter11:00.sv = 1
27/01/2024 18:59:55: [G_Auto 1] : Store Value for Habooba: RankDrifter1Hour.sv = 3
27/01/2024 18:59:55: [G_Auto 1] : Store Value for Habooba: RankSteamer11:00.sv = 5
27/01/2024 18:59:55: [G_Auto 1] : Store Value for Habooba: RankSteamer1Hour.sv = 3
27/01/2024 18:59:56: [G_Auto 1] : Store Value for First Of May: RankDrifter11:00.sv = 4
27/01/2024 18:59:56: [G_Auto 1] : Store Value for First Of May: RankDrifter1Hour.sv = 4
27/01/2024 18:59:56: [G_Auto 1] : Store Value for First Of May: RankSteamer11:00.sv = 2
27/01/2024 18:59:56: [G_Auto 1] : Store Value for First Of May: RankSteamer1Hour.sv = 2
27/01/2024 18:59:57: [G_Auto 1] : Store Value for Cotai Vision: RankDrifter11:00.sv = 3
27/01/2024 18:59:57: [G_Auto 1] : Store Value for Cotai Vision: RankDrifter1Hour.sv = 2
27/01/2024 18:59:57: [G_Auto 1] : Store Value for Cotai Vision: RankSteamer11:00.sv = 3
27/01/2024 18:59:57: [G_Auto 1] : Store Value for Cotai Vision: RankSteamer1Hour.sv = 4
27/01/2024 18:59:58: [G_Auto 1] : Store Value for Shes Centimental: RankDrifter11:00.sv = 2
27/01/2024 18:59:58: [G_Auto 1] : Store Value for Shes Centimental: RankDrifter1Hour.sv = 1
27/01/2024 18:59:58: [G_Auto 1] : Store Value for Shes Centimental: RankSteamer11:00.sv = 4
27/01/2024 18:59:58: [G_Auto 1] : Store Value for Shes Centimental: RankSteamer1Hour.sv = 5
... and here is a summary of SV's ...
OK, so Cinque Verde and Kensington Agent became non-runners but of the remaining 5, Premier Beauty is always ranked "0" for all 4 categories (impossible) and some ranking orders are missing! I can't see that it's a sequencing problem like before because each task is completed 2 seconds before the next and then the ranking starts a further 2 seconds later.
Any thoughts please.
You do not have the required permissions to view the files attached to this post.
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
Thanks Dabbla, will give it a try. From what I see it looks like I shouldn't allocate the custom ranking and store the rank as an SV in the same rule ... I need to split it into 2 separate rules! Good to know, thanks again.
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
I used the Signal with an Any Selection because Every didn't want to play with the rule I had ... anyway it seems to be capturing the data thanks, now I just got to work out what to do with it! Thanks again.