Author Topic: Calculate the book % in the 3 favourites  (Read 4898 times)

Tags:
  • All members
  • Posts: 86
  • Gender: Male
Calculate the book % in the 3 favourites
« on: 30 Jul 2026, 12:01 »
Hello everyone.

I have a dumb question but I couldn't find topic regarding this...

I want a trigger to make a back dutching on the first 3 favourites in a horse race, if the book % of those 3 favourites is equal or greater that 90% (and less than 100%)... And a greenup when the profit is greater than 10% of the total stake (or liability, for Lay Dutchings)...

My main problem is to calculate the book of the 3 favourites....

Can anyone point me a direction on this?

Thank you in advance for any help you can give...

  • Moderator
  • Posts: 3725
*
Re: Calculate the book % in the 3 favourites
« Reply #1 on: 30 Jul 2026, 19:29 »
Hi
Try this:
selections rank is between 1 and 3
and selections trigger expression matching_number is equal to 3
and selections trigger expression match_b_book is equal or greater than 90

matching_number is the number of matching selections of previous conditions 
match_b_book is the back book percentage of matching selections

if you wanted the lay book percentage of matching selections it is match_l_book
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.

  • All members
  • Posts: 86
  • Gender: Male
Re: Calculate the book % in the 3 favourites
« Reply #2 on: 04 Aug 2026, 11:44 »
Fantastic.

Thank you MarkV :):):)

  • All members
  • Posts: 86
  • Gender: Male
Re: Calculate the book % in the 3 favourites
« Reply #3 on: 18 Aug 2026, 07:40 »
Hello again.

In the field that is marked in the image, I can choose the Favorite's, 2nd Favourite's and 3rd Favourite's.

Is there any way to choose the 4th, 5th, 6th Favourite's? The idea here is to make a condition besides the 3 first favourite's.

Example: I want to put a condition that the 4th Favourite lay_price must be between 7 and 10 to fire the trigger (among other conditions). I can choose directly the first 3 Favourites but not any other favourites.

Can anyone help me on this? MarkV?

 

Please note, BetFair is seems to be currently OFFLINE