Author Topic: Non rounded values  (Read 1190 times)

Tags:
  • All members
  • Posts: 110
Non rounded values
« on: 09 Nov 2018, 12:59 »
I regularly will place a bet and later use lay_matched or back_matched to detect when it is all matched. ie back_matched=betamount.

I have had instances of the trigger no firing even though the bet is matched. On investigation I find that looking at the matched amount in user variables it is often close, but not equal to the amount of the bet I placed. For example a bet of £60 is shown as 59.998. Hence the comparison fails.

Please can someone tell me what is going on here.

Thanks

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Non rounded values
« Reply #1 on: 12 Nov 2018, 08:52 »
Just factor this calculation error into your condition.

I.e. if your bet is X, then check:

Selection's Back Matched is equal or greater than X-0.05
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

 

Please note, BetFair is seems to be currently OFFLINE