


I'll try to make this one short and to the point!
I'm confused about how the "Applies to Selection: ANY" option operates in conjunction with the Conditions->Selection->Current Selection (ANY selection)" option.
I had an in-play automation rule trigger and place a bet on a runner for which not all conditions were met, so decided to check the logs.
In short, the rule was for Applies to Selection: ANY. The conditions were for Current Selection (ANY selection). I assumed that the ANY at the rule level continuously evaluates all runners in turn. Each runner is "Selected" (temporarily), and thus becomes the "Current Selection" temporarily, to be evaluated against all conditions to determine if the rule should trigger.
I believe my rule triggered because at least one runner met each rule condition, even though the matching runner might not have been the "Current Selection".
For clarity, here's an example:
Automation Rule 1: "Applies to Selection: ANY", Back Bet on trigger Conditions: 1) Current Selection (ANY selection) BackPrice <5 2) Current Selection (ANY selection) LayPrice <7 3) Current Selection (ANY selection) LastTraded <8
Horse 1: Back Price 5.5, Lay Price 8, Last Traded 6 (Meets condition 3 only)
Horse 2: Back Price 3, Lay Price 5, Last Traded 3.5 (Meets conditions 1, 2, and 3)
Rule triggers and back bet is placed on horse 1.
How I expected the software to work:
- Select horse 1 from ANY, Set Horse 1 to Current Selection, Evaluate for horse 1->Does Current Selection (ANY selection) meet condition 1? (No)->Does Current Selection (ANY) meet condition 2? (No)->Does Current Selection (ANY selection) meet condition 3? (Yes, horse 1 is Current Selection and horse 1 meets condition).
- Some conditions not met, do not trigger
- Repeat for other runners
Instead, I think that the software worked as follows:
- Select horse 1 from ANY, evaluate for horse 1 ->Does ANY selection meet condition 1? (Yes, horse 2)->Does ANY selection meet condition 2? (Yes, horse 2)->Does ANY selection meet condition 3? (Yes, horse 1).
- All conditions met, initiate trigger
Since the rule triggered and a bet was placed on horse 1, I believe that when Current Selection is ANY, there isn't actually any relationship to the horse being evaluated by Applies to Selection "ANY". In other words, even though a horse selected by ANY might be the current selection for betting purposes, it's NOT the current selection for evaluating Conditions. ANY really does mean ANY... not the current selection selected from ANY.
Can someone who knows Bet Angel logic please confirm how the "Applies to Selection ANY" relates to the Conditions->Current Selection (ANY)?
Follow-up questions:
If ANY really does mean ANY... how do you write rules for ANY runner, where the runner being evaluated for betting purposes must meet multiple conditions a,b,c,d,e? You can't use the Current Selection option and you can't nominate the runner since the runner isn't known in advance. It seems the only option is to create tons of rules for each and every runner individually, but that would quickly get too complicated.
If there is supposed to be correlation and Current Selection (ANY selection) is supposed to evaluate the temporary nominee from "Applies to Selection: ANY", why would I have the problem where a bet was placed on a runner where all conditions were not met, as confirmed by logs?
Thanks everyone!
Cheers
SomeDude