Author Topic: kill and fill with a new bet  (Read 2740 times)

Tags:
  • All members
  • Posts: 829
kill and fill with a new bet
« on: 31 Jul 2014, 16:53 »
Hi,
I would like to cancel an unmatched back bet where the odds have firmed in 10 or more ticks from required unmatched odds and replace with a new bet based upon current loss shown against player and divide by current odds. Plus add another amount of 1.00 as profit.
Example:
Player A   Unmatched back bet 5.00  odds 1.70
Odds and current position now
Player A  1.58  -2.30
Player B  2.60   5.46
cancel unmatched back bet and back as follows
Player A    2.30+1.00 = 3.30/(1.58-1) = 5.69
Therefore new back bet would be:
Player A  5.69  @ odds of 1.59
Thanks for any help once again
R
 
My grandma taught me not to run downstairs and never back odds on.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: kill and fill with a new bet
« Reply #1 on: 01 Aug 2014, 10:08 »
hi
use the cancel then back action, with your formula in the amount box.
trigger
cancel then back
amount box    IF(profit_loss<0,-profit_loss,profit_loss)+1/(back_price-1)
conditions
and selections back unmatched is greater than 0
and selections back price is equal or less than r_ticks(bu_backp,-10)


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: 829
Re: kill and fill with a new bet
« Reply #2 on: 02 Aug 2014, 11:18 »
Thanks mcbee it works fine
R
My grandma taught me not to run downstairs and never back odds on.

  • Guest
Re: kill and fill with a new bet
« Reply #3 on: 06 Aug 2014, 20:40 »
Hi,

Thanks to racepro and mcbee for this topic, it has come in very handy. Can I ask what the solution is if trying to catch up with a lay price that has gone and I want to nail it with a 1.00 profit.

Is it  IF(profit_loss<0,-profit_loss,profit_loss)+1/lay_price+1)

conditions sels lay unmatched greater than 0
                sels lay price is equal or greater than r_ticks(lu_layp,+10)

Thanks
Larp

  • All members
  • Posts: 829
Re: kill and fill with a new bet
« Reply #4 on: 20 Aug 2014, 22:54 »
Hi,
If I have an unmatched lay bet how can I cancel and get it matched at any price within reason say up to 5 ticks away from lay price at time bet was triggered.
Example:
Lay price 1.50 bet 10    unmatched
cancel immediately and trigger another lay bet
Lay price 1.57
or alternatively how can I modify the formula in my original Lay trigger to accept the second best Lay price. Normally it would be lay_pricet2,  however my current formulas are:
LayPrice r_ticks(bm_backp, sl)         amount   bm_backa
If the above can be modified to accept 2nd best lay price that would be easier.
R
ps.... just noticed an error in the manual
lay_Price2  description says best Lay Price should be second best lay price :)
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE