Author Topic: Accumulating bet amount  (Read 3721 times)

Tags:
  • Guest
Accumulating bet amount
« on: 09 Dec 2012, 23:36 »
Hello,

Is it possible for the bet amount to accumulate in a trigger?

First bet will be default (e.g. 20), then after a win (e.g. 2) the next bet would be 22 and so on.

Has this been done?


  • Tim Vetrov
  • Administrator
  • Posts: 4873
  • Gender: Male
*
Re: Accumulating bet amount
« Reply #1 on: 10 Dec 2012, 08:44 »
back_size + last_won
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • Guest
Re: Accumulating bet amount
« Reply #2 on: 10 Dec 2012, 10:51 »
Hi Tim,

Thanks - but will that not only accumulate once?

If I was looking for all bets to constantly accumulate?

  • All members
  • Posts: 63
  • Gender: Male
Re: Accumulating bet amount
« Reply #3 on: 10 Dec 2012, 12:36 »
@ statdude

So you want 1st bet to be 20 if win next bet to be 22 if win next bet to be 24

+2 after every win, what about after a loss?

  • Tim Vetrov
  • Administrator
  • Posts: 4873
  • Gender: Male
*
Re: Accumulating bet amount
« Reply #4 on: 10 Dec 2012, 12:42 »
I see.
Then you have to create an use variable, say my_won, and update its value every game like that
Set user variable my_won value IF(my_won+last_pl < 0, 0, my_won+last_pl)
in the first round.
Then place bet with
back_size + my_won
as amount
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