Author Topic: How can I access back prices in the amount condition in the trigger?  (Read 2675 times)

Tags:
  • All members
  • Posts: 20
Hi,

I'm trying to resolve the following equation to know the amount I have to bet in a hand to recover currently lost money:

x * y = x + last_lost --> I have to isolate x variable.

where:

x = amount to bet
y = favourite's back price (or other hand's back price)
last_lost = money lost since last win

So for example if my currently lost money is 20$ and the favourite's back price in a round is 1.5 the equation tells me that:

40 * 1.5 = 40 + 20 --> 60 = 60 --> It means, x = 40, I have to beat 40$ to 1.5 back price in order to recover my lost money.

But I cannot access (or I don't know how) the favourite's back price (or other hand's back price) in the amount field of the trigger, at least I don't find any available variable with this information.

How can I access this information in that field?

Regards.

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
It's a prefix:
s_1_back_price for the first (top) runner
h_1_back_price for the favourite
See "Selection-Related Variables" (bottom) topic of the help file.
If your selection is the favourite (so you place bet on it) it can be just back_price.
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

 

Please note, BetFair is seems to be currently OFFLINE