Author Topic: lay to lose x amount formula  (Read 2825 times)

Tags:
  • All members
  • Posts: 829
lay to lose x amount formula
« on: 06 Nov 2013, 12:24 »
hi,
I am trying to lay to lose a max for any trade and the formula I'm using doesn't work
according to the error in trigger expression of price or amount in the logs.
In the example below the max I am prepared to payout is 5.00 so if the odds are
3.00 then the bet amount should be 2.50..... (5.00/(3.00-1) = 2.50
Here is my formula

if((lay_price-1)*5.00>5.00,5.00/(lay_price-1),5.00)

Can someone please tell me where I'm going wrong.
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • Nerd
  • Élite
  • Posts: 462
  • Gender: Male
  • I think I could be on to something here!
*
Re: lay to lose x amount formula
« Reply #1 on: 06 Nov 2013, 16:48 »
try capital IF

Don't you want to lay with the back price??
Fortune favors the brave!

  • All members
  • Posts: 829
Re: lay to lose x amount formula
« Reply #2 on: 06 Nov 2013, 22:40 »
Thanks 1oser I think you're right.
I'm working on it now.
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: lay to lose x amount formula
« Reply #3 on: 06 Nov 2013, 23:02 »
Yes it is case sensitive. Capital "IF" works
Thanks/Cheers and well spotted
R
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE