Pages:
Actions
  • #1 by Barry on 06 Feb 2024
  • Hello,

    I'm trying to set up a requirement on one of my triggers where the name of the favourite at the very beginning of a horse race is remembered, and then when in play, a bet is placed or not placed on that particular horse (regardless of whether it is still the favourite).

    I've tried the following but to no joy.

    Selections trigger expression sel_name equals / does not equal mysels_r_1_sel_name.

    Can you please assist?

    Regards

    Barry

  • #2 by MarkV on 06 Feb 2024
  • Hi
    There is a variable for fav (or rank) recorded just before the off which you can use in-play: last_order. So you can do it all in one trigger without having to remember etc.

    Trigger would be:
    BACK
    market status: in-play
    first matching selection
    conditions:
    selections trigger expression last_order is equal to 1 
    and any other conditions you need e.g. mins since the off

    If you want to base it on fav as soon as market is in-play I suggest using actual_sp:
    BACK
    market status: in-play
    first matching selection
    conditions:
    selections sorting order is defined by actual_sp
    and selections trigger expression match_index is equal to 1 
    and any other conditions you need e.g. mins since the off

    please test in test mode



      
Pages:
Actions