Author Topic: Has been Fav for more than 2 secs in play (horses)  (Read 1887 times)

Tags:
  • All members
  • Posts: 347
Hi there is it possible to know if a horse has been the favorite for at least 2 secs prior to a trigger going off?

(the trigger already looks to see if horse is the favorite after x amount of minutes and if the back price is less than 1.5)


  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Has been Fav for more than 2 secs in play (horses)
« Reply #1 on: 28 Apr 2015, 10:22 »
Hi,

You can use this condition:

Favourite's Trigger Expression back_price - pdif_0.033 is the minimum

This will check whether the favourite's price 2 seconds ago was the lowest, which is an implicit answer to the question whether it was indeed the favourite then.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 347
Re: Has been Fav for more than 2 secs in play (horses)
« Reply #2 on: 28 Apr 2015, 10:26 »
looking at the help file pdif seems to go by minutes no?
so your example would work on 2 minutes not seconds is that right?

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Has been Fav for more than 2 secs in play (horses)
« Reply #3 on: 28 Apr 2015, 10:28 »
Sorry, you are right of course. Will edit my reply now...
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 347
Re: Has been Fav for more than 2 secs in play (horses)
« Reply #4 on: 28 Apr 2015, 10:30 »
no worries thanks for the answer. :-)

 

Please note, BetFair is seems to be currently OFFLINE