Author Topic: Loss recoupment  (Read 2226 times)

Tags:
  • All members
  • Posts: 11
Loss recoupment
« on: 12 Jan 2015, 11:38 »
Hi,

How can i recover a lost bet placed by a specific trigger?! I want that the recoupment is independent.

Example:

trigger 1: back 2€ at 3.5  and lost
trigger 2: back 5€ at 4     and lost

Recoupment:

Trigger 1: "lostbet" (2€) + init_bet
Trigger 2: "lostbet" (5€) + init_bet

I dont use the "last_lost" because this variable use the sum, in this case (2+5= 7€).


Thanks for your attention.


  • All members
  • Posts: 11
Re: Loss recoupment
« Reply #1 on: 13 Jan 2015, 20:56 »
Can anyone help?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Loss recoupment
« Reply #2 on: 14 Jan 2015, 12:05 »
hi
it is a bit complicated.
you have to have variables and triggers to record the bet amounts, then use a trigger to set the loss using the pw_1_sel_index(this gives the last markets winner index number).
it would be easier if you requested a trigger using this link.
http://community.welldonesoft.com/make-me-a-trigger!/


mcbee
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: 365
Re: Loss recoupment
« Reply #3 on: 14 Jan 2015, 14:32 »
If the two triggers work on different markets for example (horse race & grayhound) it's simple.

hr_last_lost ( cumulativ loss sinse last profit on horse race)
gh_last_lost ( cumulativ loss sinse last profit on dogs)


  • Guest
Re: Loss recoupment
« Reply #4 on: 14 Jan 2015, 20:25 »
If the two triggers work on different markets for example (horse race & grayhound) it's simple.

hr_last_lost ( cumulativ loss sinse last profit on horse race)
gh_last_lost ( cumulativ loss sinse last profit on dogs)



Hi,

tupp, i did not know of the above. thanks for posting.

 

Please note, BetFair is seems to be currently OFFLINE