Author Topic: Remember Favourite at Start of Race  (Read 16084 times)

Tags:
  • All members
  • Posts: 5
  • Gender: Male
Remember Favourite at Start of Race
« on: 06 Feb 2024, 15:31 »
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


  • Moderator
  • Posts: 3606
*
Re: Remember Favourite at Start of Race
« Reply #1 on: 06 Feb 2024, 16:52 »
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



  
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE