Pages:
Actions
  • #1 by racepro on 06 Nov 2013
  • 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
  • #2 by 1oser on 06 Nov 2013
  • try capital IF

    Don't you want to lay with the back price??
  • #3 by racepro on 06 Nov 2013
  • Thanks 1oser I think you're right.
    I'm working on it now.
    Thanks
    R
  • #4 by racepro on 06 Nov 2013
  • Yes it is case sensitive. Capital "IF" works
    Thanks/Cheers and well spotted
    R
Pages:
Actions