Author Topic: distribute loss for specific back trigger  (Read 3358 times)

Tags:
  • All members
  • Posts: 829
distribute loss for specific back trigger
« on: 24 Mar 2014, 23:09 »
Hi,
How can I create a formula to distribute loss on a specific back trigger ?
example:                           Amount
Back Fav  trigger      Nadal  5.00
Back abc trigger      Murray 6.50
I want to distribute loss on Murray
Is it a remember command?
My existing trigger dist loss on Nadal
Thanks for your help
R
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3605
*
Re: distribute loss for specific back trigger
« Reply #1 on: 25 Mar 2014, 07:49 »
Hi
In the distribute loss trigger use one or more of the following conditions:
and trigger Back abc number of runs is greater than 0
and trigger Back fav number of runs is equal to 0
and selections index is equal to 2
and selections trigger expression bm_backa is equal to 6.50
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: 829
Re: distribute loss for specific back trigger
« Reply #2 on: 25 Mar 2014, 08:37 »
Hi Mark,
The last one seems perfect.
I would use 'not equal' to 5.00
Thanks/Cheers
R
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3605
*
Re: distribute loss for specific back trigger
« Reply #3 on: 25 Mar 2014, 09:06 »
Hi
You might have problems with the last back matched amount if the back bet is partially matched, or matched in more than one chunk. I think the number of runs condition is best. 
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: 829
Re: distribute loss for specific back trigger
« Reply #4 on: 25 Mar 2014, 09:12 »
Yes, good point.
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: distribute loss for specific back trigger
« Reply #5 on: 25 Mar 2014, 09:30 »
Mark,
Still a bit confused.
The Back Fav trigger may or may not have fired.
If it hasn't fired then no problem as it cannot distribute loss on that bet.
So I can't use the condition:
'and trigger Back fav number of runs is equal to 0'
Anyway I can't see how that condition can prevent distribute loss on Bet Fav trigger.
I am trying to get the program to ignore any back bet on Bet Fav trigger
and instead distribute loss only on back abc trigger.
hope that is clear
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3605
*
Re: distribute loss for specific back trigger
« Reply #6 on: 25 Mar 2014, 09:48 »
Hi
It is: trigger abc number of runs is greater than 0

You can also do remember as you mentioned earlier:

in the backing abc trigger:
add a remember action, name abc_market_parent_id

in the distribute loss trigger:
first matching selection
conditions:
and global user variables abc_market_parent_id are set
and selections index is equal to abc_market_parent_id_sel_id

correction - last condition should be:
and selections index is equal to abc_market_parent_id_sel_index
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: 829
Re: distribute loss for specific back trigger
« Reply #7 on: 25 Mar 2014, 16:58 »
Thanks Mark, This looks more substantial and will test it over the
next few days/weeks
Cheers
R
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE